PC_ACT_COST_VW

(SQL View)
Index Back

View of Cost Actuals

This view will summarize the cost actuals for each project from the Projects summary table.

SELECT A.BUSINESS_UNIT , A.PROJECT_ID , %Round(SUM(%DecMult(A.RESOURCE_AMOUNT, B.SIGNED_VALUE)), 3) , A.CURRENCY_CD FROM PS_PC_ACTIVITY_SUM A , PS_PROJ_AN_GRP_MAP B , PS_SET_CNTRL_REC CNTRL , PS_PROJECT C WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.PROJECT_ID = C.PROJECT_ID AND CNTRL.SETCNTRLVALUE = A.BUSINESS_UNIT AND B.SETID = CNTRL.SETID AND CNTRL.RECNAME = 'PROJ_AN_GRP_MAP' AND B.ANALYSIS_GROUP = C.AN_GRP_TOT_COSTS AND A.ANALYSIS_TYPE = B.ANALYSIS_TYPE GROUP BY A.BUSINESS_UNIT, A.PROJECT_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 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
3 PC_COST_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Total cost for a project.
4 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code