P6_WBS_CMTMT_VW(SQL View) |
Index Back |
---|---|
P6 WBS-Actv Commitments ViewPSFT Project Activity total Commitments, aggregated per Activity ID |
SELECT A.BUSINESS_UNIT , A.PROJECT_ID , A.ACTIVITY_ID , %Round(SUM(%DecMult(A.RESOURCE_AMOUNT, C.SIGNED_VALUE)),3) FROM PS_PC_SUMMARY_TBL A , PS_BUS_UNIT_OPT_PC B , PS_PROJ_AN_GRP_MAP C WHERE B.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.SETID = ( SELECT I.SETID FROM PS_SET_CNTRL_REC I WHERE I.SETCNTRLVALUE = B.BUSINESS_UNIT AND I.REC_GROUP_ID = 'PC_01' AND I.RECNAME = 'PROJ_AN_GRP_MAP') AND C.ANALYSIS_GROUP = B.AN_GRP_COMMIT AND C.ANALYSIS_TYPE = A.ANALYSIS_TYPE GROUP BY A.BUSINESS_UNIT, A.PROJECT_ID, A.ACTIVITY_ID |
# | 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 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL | Activity ID |
4 | RESOURCE_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Transaction Amount |