PC_ACT_PROJ_VW(SQL View) |
Index Back |
---|---|
View of Actuals by ProjectThis view calculates the total actuals by Project ID for Project Analytics. |
SELECT A.BUSINESS_UNIT , A.PROJECT_ID , %Round(SUM(%DecMult(A.RESOURCE_AMOUNT, C.SIGNED_VALUE)), 3) , MAX(A.CURRENCY_CD) FROM PS_PC_ACTIVITY_SUM A , PS_PROJECT B , PS_PROJ_AN_GRP_MAP C , PS_SET_CNTRL_REC D WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PROJECT_ID = B.PROJECT_ID AND C.ANALYSIS_GROUP = B.AN_GRP_TOT_REV AND D.RECNAME = 'PROJ_AN_GRP_MAP' AND D.SETCNTRLVALUE = A.BUSINESS_UNIT AND C.SETID = D.SETID AND A.ANALYSIS_TYPE = C.ANALYSIS_TYPE GROUP BY A.BUSINESS_UNIT, A.PROJECT_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 | PC_REVENUE_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Revenue |
4 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |