GM_BUD_SPN_SUM2(SQL View) |
Index Back |
---|---|
SUM OF FA SPONSOR AMOUNT |
SELECT A.BUSINESS_UNIT , A.PROPOSAL_ID , A.VERSION_ID , A.CURRENCY_CD , SUM(A.SPONSOR_FA_AMT) FROM PS_GM_BUD_PERIOD A , PS_GM_BUD_HDR B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PROPOSAL_ID = B.PROPOSAL_ID AND A.VERSION_ID = B.VERSION_ID AND A.SUB_PROP_NBR = B.SUB_PROP_NBR AND A.BUDGET_ID = B.BUDGET_ID AND B.INCL_IN_PROPOSAL = 'Y' GROUP BY A.BUSINESS_UNIT, A.PROPOSAL_ID, A.VERSION_ID, A.CURRENCY_CD |
# | 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 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
5 | TARGET_BUDGET_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Target Sponsor Budget |