PROJ_RPT_12_VW(SQL View) |
Index Back |
---|---|
Project Reporting 12 View |
SELECT C.BUSINESS_UNIT , C.PROJECT_ID , C.ACTIVITY_ID , C.ANALYSIS_TYPE , C.BUSINESS_UNIT_GL , C.CURRENCY_CD , A.CALENDAR_ID , A.SETID , A.PROCESS_INSTANCE , SUM(%DecMult(A.PTD_VALUE, C.RESOURCE_AMOUNT)) , SUM(%DecMult(A.YTD_VALUE, C.RESOURCE_AMOUNT)) , SUM(%DecMult(A.LTD_VALUE, C.RESOURCE_AMOUNT)) FROM PS_PROJ_RPT_TBL A , PS_PROJ_RESOURCE C WHERE C.ACCOUNTING_DT BETWEEN A.BEGIN_DT AND A.END_DT GROUP BY C.BUSINESS_UNIT, C.PROJECT_ID, C.ACTIVITY_ID, C.ANALYSIS_TYPE, C.BUSINESS_UNIT_GL, C.CURRENCY_CD, A.CALENDAR_ID, A.SETID, A.PROCESS_INSTANCE |
# | 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 | ANALYSIS_TYPE | Character(3) | VARCHAR2(3) NOT NULL | Analysis Type |
5 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
6 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
7 | CALENDAR_ID | Character(2) | VARCHAR2(2) NOT NULL | Calendar ID |
8 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
9 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
10 | PTD_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Period to Date Amount |
11 | YTD_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Year to Date Amount |
12 | LTD_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Life to Date Amount |