PROJ_AN_RISK_VW

(SQL View)
Index Back

Project Risk Analysis View


SELECT A.BUSINESS_UNIT ,A.PROJECT_ID ,B.ANALYSIS_TYPE_MAP ,A.RESOURCE_TYPE ,A.RESOURCE_CATEGORY ,A.RESOURCE_STATUS ,A.BUSINESS_UNIT_GL ,A.CURRENCY_CD ,A.UNIT_OF_MEASURE ,%Round(SUM(%DecMult(A.RESOURCE_QUANTITY, B.QUANTITY_MULTIPLY)), 2) ,%Round(SUM(%DecMult(A.RESOURCE_AMOUNT, B.SIGNED_VALUE)), 2) FROM PS_PROJ_RESOURCE A , PS_PROJ_AN_GRP_MAP B WHERE B.ANALYSIS_GROUP = 'RISK' AND B.ANALYSIS_TYPE = A.ANALYSIS_TYPE GROUP BY A.BUSINESS_UNIT ,A.PROJECT_ID ,B.ANALYSIS_TYPE_MAP ,A.RESOURCE_TYPE ,A.RESOURCE_CATEGORY ,A.RESOURCE_STATUS ,A.BUSINESS_UNIT_GL ,A.CURRENCY_CD ,A.UNIT_OF_MEASURE

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_AM_NONVW

2 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

Prompt Table: PROJECT

3 ANALYSIS_TYPE Character(3) VARCHAR2(3) NOT NULL Analysis Type

Prompt Table: PROJ_ANTYPE_TBL

4 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type

Prompt Table: PROJ_RES_TYPE

5 RESOURCE_CATEGORY Character(5) VARCHAR2(5) NOT NULL Category

Prompt Table: PROJ_CATG_TBL

6 RESOURCE_STATUS Character(1) VARCHAR2(1) NOT NULL Transaction Status
A=Resource Approved
U=Unapproved Resource
7 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
8 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

Prompt Table: CURRENCY_CD_TBL

9 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage

Prompt Table: UNITS_TBL

10 RESOURCE_QUANTITY Signed Number(16,2) DECIMAL(14,2) NOT NULL Quantity
11 RESOURCE_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Transaction Amount