PROJ_RPT_11_VW(SQL View) |
Index Back |
---|---|
Project Reporting 11 View |
SELECT C.BUSINESS_UNIT , C.PROJECT_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.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 | ANALYSIS_TYPE | Character(3) | VARCHAR2(3) NOT NULL | Analysis Type |
4 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
5 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
6 | CALENDAR_ID | Character(2) | VARCHAR2(2) NOT NULL | Calendar ID |
7 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
8 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
9 | PTD_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Period to Date Amount |
10 | YTD_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Year to Date Amount |
11 | LTD_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Life to Date Amount |