GM_EC_BUD_BASE(SQL View) |
Index Back |
---|---|
EDI BUDGET PERSONNEL DETAIL |
SELECT A.BUSINESS_UNIT , A.PROPOSAL_ID , A.VERSION_ID , A.SUB_PROP_NBR , A.BUDGET_ID , A.BUDGET_PERIOD_GM , A.BUDGET_LN , A.BUDGET_CATEGORY , A.DESCR , A.SPONSOR_AMT , A.FA_BASE_ID , A.DESCR_2 , A.FA_RATE_PCT , A.DESCR50 FROM PS_GM_EC_BUD_DTL A WHERE A.BUDGET_CATEGORY IN ( SELECT A1.BUDGET_CATEGORY FROM PS_GM_FA_BASE_CAT A1 WHERE A.FA_BASE_ID = A1.FA_BASE_ID AND A1.SETID = ( SELECT G.SETID FROM PS_SET_CNTRL_REC G WHERE G.SETCNTRLVALUE = A.BUSINESS_UNIT AND G.RECNAME ='GM_FA_BASE_CAT') AND A1.EFFDT = ( SELECT MAX(A2.EFFDT) FROM PS_GM_FA_BASE_CAT A2 WHERE A1.SETID = A2.SETID AND A1.FA_BASE_ID = A2.FA_BASE_ID AND A2.EFFDT <= %CurrentDateIn)) |
# | 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 | BUDGET_CATEGORY | Character(15) | VARCHAR2(15) NOT NULL | BUDGET_CATEGORY |
9 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
10 | SPONSOR_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | SPONSOR_AMT |
11 | FA_BASE_ID | Character(5) | VARCHAR2(5) NOT NULL | FA_BASE_ID |
12 | DESCR_2 | Character(30) | VARCHAR2(30) NOT NULL | Description |
13 | FA_RATE_PCT | Number(6,2) | DECIMAL(5,2) NOT NULL | FA_RATE_PCT |
14 | DESCR50 | Character(50) | VARCHAR2(50) NOT NULL | Description of length 50 |