PROJ_RES_TMP_VW

(SQL View)
Index Back

View of PS_PROJ_RES_TMP

View can be used to display a subset of PS_PROJ_RES_TMP.

SELECT PROCESS_INSTANCE , BUSINESS_UNIT , PROJECT_ID , ACTIVITY_ID , MAX(RESOURCE_ID) , EMPLID , EMPL_RCD , TRANS_DT , RESOURCE_TYPE , RESOURCE_CATEGORY , RESOURCE_SUB_CAT , ANALYSIS_TYPE , SUM(RESOURCE_QUANTITY) AS RESOURCE_QUANTITY , SUM(RESOURCE_AMOUNT) AS RESOURCE_AMOUNT , SUM(FOREIGN_AMOUNT) AS FOREIGN_AMOUNT FROM PS_PROJ_RES_TMP WHERE BI_DISTRIB_STATUS = 'N' GROUP BY PROCESS_INSTANCE , BUSINESS_UNIT , PROJECT_ID , ACTIVITY_ID , EMPLID , EMPL_RCD , TRANS_DT , RESOURCE_TYPE , RESOURCE_CATEGORY, RESOURCE_SUB_CAT, ANALYSIS_TYPE

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_PC_NONVW

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

Prompt Table: PROJ_SCRTY_SRCH

4 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID

Prompt Table: PROJ_ACT_SRCH

5 RESOURCE_ID Character(40) VARCHAR2(40) NOT NULL Transaction ID
6 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
7 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
8 TRANS_DT Date(10) DATE Transaction Date
9 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type

Prompt Table: PROJ_RES_TYPE

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

Prompt Table: %EDITTABLE

11 RESOURCE_SUB_CAT Character(5) VARCHAR2(5) NOT NULL Subcategory

Prompt Table: %EDITTABLE2

12 ANALYSIS_TYPE Character(3) VARCHAR2(3) NOT NULL Analysis Type
13 RESOURCE_QUANTITY Signed Number(16,2) DECIMAL(14,2) NOT NULL Quantity
14 RESOURCE_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Transaction Amount
15 FOREIGN_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the monetary amount of a debit or credit (accounting entry line) in the entry currency of the item. The sum of FOREIGN_AMOUNT values on AR lines should equal the ENTRY_AMT on the pending item.