GM_BUD_SUB_VW

(SQL View)
Index Back

Budget Header View

This view rolls up pre-award budget data to the header level (GM_BUD_HDR). Important: This view is based on GM_BUD_LSUM_VW9, which selects only budget headers that have 'Include in Proposal' turned ON and not include Fix Fee and Consortium FA amount

SELECT A.BUSINESS_UNIT , A.PROPOSAL_ID , A.VERSION_ID , A.SUB_PROP_NBR , A.BUDGET_ID , A.BUDGET_PERIOD_GM , SUM(B.SPONSOR_AMT) , SUM(B.COST_SHARE_IN_AMT) , SUM(B.COST_SHARE_TP_AMT) , MAX(A.SPONSOR_FA_AMT) , MAX(A.COST_SHARE_FA_AMT) , SUM(B.SPONSOR_AMT + B.COST_SHARE_IN_AMT + B.COST_SHARE_TP_AMT) , SUM(B.SPONSOR_AMT + B.COST_SHARE_IN_AMT + B.COST_SHARE_TP_AMT) + MAX(A.SPONSOR_FA_AMT) + MAX(A.COST_SHARE_FA_AMT) FROM PS_GM_BUD_PERIOD A , PS_GM_BUD_LSUM_VW9 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 A.BUDGET_PERIOD_GM = B.BUDGET_PERIOD_GM AND B.BUDGET_CATEGORY<>'FIXFEE' AND B.BUDGET_CATEGORY<>'SB<25F' AND B.BUDGET_CATEGORY<>'SB>25F' GROUP BY A.BUSINESS_UNIT, A.PROPOSAL_ID, A.VERSION_ID, A.SUB_PROP_NBR, A.BUDGET_ID, A.BUDGET_PERIOD_GM

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_PC_NONVW

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 SPONSOR_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL SPONSOR_AMT
8 COST_SHARE_IN_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL COST_SHARE_IN_AMT
9 COST_SHARE_TP_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL COST_SHARE_TP_AMT
10 SPONSOR_FA_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL SPONSOR_FA_AMT
11 COST_SHARE_FA_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL COST_SHARE_FA_AMT
12 TOTAL_DIRECT_COST Signed Number(28,3) DECIMAL(26,3) NOT NULL TOTAL_DIRECT_COST
13 TOTAL_BUDGET_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL TOTAL_BUDGET_AMT