GM_ALL_SUM_VW8(SQL View) |
Index Back |
---|---|
Sponsor, All, Sum In, Sum OutBudget extract for GM pre-to-post interface. Funder: Sponsor Categ: Nonfringe + Fringe (All) Level In: Summary Level Out: Summary |
select S.BUSINESS_UNIT, S.PROPOSAL_ID, S.VERSION_ID, S.SUB_PROP_NBR, S.BUDGET_ID, S.BUDGET_PERIOD_GM, S.BUDGET_LN, 0, '1', '0', S.BUDGET_CATEGORY, S.DESCR, '1', J.DEPTID, S.SPONSOR_AMT from PS_GM_BUD_LINE_SUM S, PS_GM_PROP_PROJ J where (S.BUDGET_AMT <> (select sum(BUDGET_AMT) from PS_GM_BUD_LINE_DTL where BUSINESS_UNIT = S.BUSINESS_UNIT and PROPOSAL_ID = S.PROPOSAL_ID and VERSION_ID = S.VERSION_ID and SUB_PROP_NBR = S.SUB_PROP_NBR and BUDGET_ID = S.BUDGET_ID and BUDGET_PERIOD_GM = S.BUDGET_PERIOD_GM and BUDGET_LN = S.BUDGET_LN) or 0 = (select count(*) from PS_GM_BUD_LINE_DTL where BUSINESS_UNIT = S.BUSINESS_UNIT and PROPOSAL_ID = S.PROPOSAL_ID and VERSION_ID = S.VERSION_ID and SUB_PROP_NBR = S.SUB_PROP_NBR and BUDGET_ID = S.BUDGET_ID and BUDGET_PERIOD_GM = S.BUDGET_PERIOD_GM and BUDGET_LN = S.BUDGET_LN)) and S.SPONSOR_AMT <> 0 and J.BUSINESS_UNIT = S.BUSINESS_UNIT and J.PROPOSAL_ID = S.PROPOSAL_ID and J.VERSION_ID = S.VERSION_ID and J.SUB_PROP_NBR = S.SUB_PROP_NBR |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PROPOSAL_ID | Character(25) | VARCHAR2(25) NOT NULL | Proposal ID |
3 | VERSION_ID | Character(7) | VARCHAR2(7) NOT NULL | Version ID |
4 | SUB_PROP_NBR | Character(15) | VARCHAR2(15) NOT NULL | SUB_PROP_NBR |
5 | BUDGET_ID | Character(15) | VARCHAR2(15) NOT NULL | BUDGET_ID |
6 | BUDGET_PERIOD_GM | Number(3,0) | SMALLINT NOT NULL | BUDGET_PERIOD_GM |
7 | BUDGET_LN | Number(6,0) | INTEGER NOT NULL | BUDGET_LN |
8 | SEQ_NUM_PD2 | Number(3,0) | SMALLINT NOT NULL | Represents the second displayed column in the position monitor. |
9 | GM_FA_SEQ_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Fixed and Administrative
1=Base (Non F&A) 2=Fixed and Administrative |
10 | GM_CATEG_SEQ_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Category Sequence
0=All Categories 1=Nonfringe 2=Fringe |
11 | BUDGET_CATEGORY | Character(15) | VARCHAR2(15) NOT NULL | BUDGET_CATEGORY |
12 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
13 | GM_CS_SEQ_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Cost Sharing
1=Sponsor 2=Cost Sharing |
14 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
15 | BUDGET_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | BUDGET_AMT |