PROJ_TIME_VW(SQL View) |
Index Back |
---|---|
Project Time Spans View |
SELECT A.BUSINESS_UNIT ,A.PROJECT_ID ,MIN(A.TRANS_DT) ,MAX(A.TRANS_DT) ,B.TIME_SPAN_NAME ,A.BUSINESS_UNIT_GL ,A.CURRENCY_CD ,A.UNIT_OF_MEASURE ,%Round(SUM(%DecMult(A.RESOURCE_QUANTITY,B.INTEGER_VALUE)), 2) ,%Round(SUM(%DecMult(A.RESOURCE_AMOUNT,B.INTEGER_VALUE)), 3) FROM PS_PROJ_RESOURCE A , PS_PROJ_TIME_SPAN B WHERE B.TIME_SPAN_TYPE = 'ALL' AND A.ANALYSIS_TYPE IN ('ACT', 'EMP') AND A.TRANS_DT BETWEEN B.START_DT AND B.END_DT GROUP BY A.BUSINESS_UNIT ,A.PROJECT_ID ,B.TIME_SPAN_NAME ,A.BUSINESS_UNIT_GL ,A.CURRENCY_CD ,A.UNIT_OF_MEASURE ,A.BUSINESS_UNIT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_AM_NONVW |
|
2 | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Prompt Table: PROJECT |
|
3 | Date(10) | DATE | Start Date | |
4 | Date(10) | DATE | End Date | |
5 | Character(15) | VARCHAR2(15) NOT NULL | Time Span Name | |
6 | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit | |
7 | Character(3) | VARCHAR2(3) NOT NULL |
Currency Code
Prompt Table: CURRENCY_CD_TBL |
|
8 | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage Prompt Table: UNITS_TBL |
|
9 | RESOURCE_QUANTITY | Signed Number(16,2) | DECIMAL(14,2) NOT NULL | Quantity |
10 | RESOURCE_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Transaction Amount |