GM_BUD_SUM_CS(SQL View) |
Index Back |
---|---|
Grants Budget Sum Sponsor AMTGrants Budget Summary Line Sponsor AMT Grouped by BUSINESS_UNIT , PROPOSAL_ID , VERSION_ID , SUB_PROP_NBR , BUDGET_ID , BUDGET_PERIOD_GM |
SELECT A.BUSINESS_UNIT , A.PROPOSAL_ID , A.VERSION_ID , A.CURRENCY_CD , SUM(A.COST_SHARE_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.BUDGET_ID = B.BUDGET_ID AND A.SUB_PROP_NBR = B.SUB_PROP_NBR 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 | COST_SHARE_FA_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | COST_SHARE_FA_AMT |