GM_XML_BUD_SUM

(SQL View)
Index Back

SELECT A.OPRID , A.RUN_CNTL_ID , A.PROPOSAL_ID , A.VERSION_ID , B.BUDGET_PERIOD_GM , B.BUDGET_CATEGORY , SUM( B.BUDGET_AMT) , SUM( B.COST_SHARE_IN_AMT) , SUM( B.SPONSOR_AMT) , SUM( B.COST_SHARE_TP_AMT) FROM PS_GM_XML_PROPOSAL A , PS_GM_EC_BUD_SUM B WHERE A.OPRID = B.OPRID AND A.RUN_CNTL_ID = B.RUN_CNTL_ID GROUP BY A.OPRID, A.RUN_CNTL_ID, A.PROPOSAL_ID, A.VERSION_ID, B.BUDGET_PERIOD_GM, B.BUDGET_CATEGORY

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 RUN_CNTL_ID Character(30) VARCHAR2(30) NOT NULL Run Control ID
3 PROPOSAL_ID Character(25) VARCHAR2(25) NOT NULL Proposal ID
4 VERSION_ID Character(7) VARCHAR2(7) NOT NULL Version ID
5 BUDGET_PERIOD_GM Number(3,0) SMALLINT NOT NULL BUDGET_PERIOD_GM
6 BUDGET_CATEGORY Character(15) VARCHAR2(15) NOT NULL BUDGET_CATEGORY
7 BUDGET_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL BUDGET_AMT
8 COST_SHARE_IN_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL COST_SHARE_IN_AMT
9 SPONSOR_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL SPONSOR_AMT
10 COST_SHARE_TP_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL COST_SHARE_TP_AMT