PROJ_RES_PO_VW

(SQL View)
Index Back

Project Costs by Purchase


SELECT BUSINESS_UNIT ,PROJECT_ID ,ACTIVITY_ID ,BUSINESS_UNIT_PO ,PO_ID ,ANALYSIS_TYPE ,CURRENCY_CD ,UNIT_OF_MEASURE ,SUM(RESOURCE_QUANTITY) ,SUM(RESOURCE_AMOUNT) FROM PS_PROJ_RESOURCE WHERE PO_ID <> ' ' GROUP BY BUSINESS_UNIT ,PROJECT_ID ,ACTIVITY_ID ,BUSINESS_UNIT_PO ,PO_ID ,ANALYSIS_TYPE ,CURRENCY_CD ,UNIT_OF_MEASURE ,BUSINESS_UNIT

# 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_PC_NONVW

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

Prompt Table: PROJ_SCRTY_SRCH

3 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID
4 BUSINESS_UNIT_PO Character(5) VARCHAR2(5) NOT NULL PO Business Unit
5 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order

Prompt Table: PC_PO_HDR_VW

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

Prompt Table: PROJ_ANTYPE_TBL

7 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

Prompt Table: CURRENCY_CD_TBL

8 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

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