GM_PRJ_FC_N_VW

(SQL View)
Index Back

PROJ_RESOURCE w MULTIPLY_SW=N

This is a view of PROJ_RESOURCE with those ANALYSIS_GROUP the MULTIPLY_SW = "N" The return data loads into GM _PRJ_FCST_TEMP. ANALYSIS_GROUP IN ('BUD', 'COM', 'REQ', 'GMACT')

SELECT A.BUSINESS_UNIT , A.PROJECT_ID , A.ACCOUNT , A.DTTM_STAMP , A.ACCOUNTING_DT , A.RESOURCE_AMOUNT , C.ANALYSIS_GROUP FROM PS_PROJ_RESOURCE A , PS_PROJ_AN_GRP_MAP B , PS_PROJ_AN_GRP_TBL C WHERE C.MULTIPLY_SW = 'N' AND C.SETID=( SELECT SETID FROM PS_SET_CNTRL_REC G WHERE G.SETCNTRLVALUE=A.BUSINESS_UNIT AND G.RECNAME='PROJ_AN_GRP_TBL') AND C.ANALYSIS_GROUP IN ('BUD', 'COM', 'REQ', 'GMACT') AND B.SETID = C.SETID AND B.ANALYSIS_GROUP = C.ANALYSIS_GROUP AND B.ANALYSIS_TYPE =A.ANALYSIS_TYPE

# 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 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
4 DTTM_STAMP DateTime(26) TIMESTAMP Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts.
5 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
6 AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Amount
7 ANALYSIS_GROUP Character(5) VARCHAR2(5) NOT NULL Analysis Group