PC_FND_ODL_VW

(SQL View)
Index Back

Over Distribution Limit View

This view returns Over Distribution Limit transactions (ODL).

SELECT A.BUSINESS_UNIT , A.PROJECT_ID , A.ACTIVITY_ID , A.ANALYSIS_TYPE , MAX(A.TRANS_DATE) , MAX(A.ACCOUNTING_DT) , B.DESCR , C.DESCR , %Round(SUM(A.RESOURCE_AMOUNT), 3) , MAX(A.CURRENCY_CD) FROM PS_PC_SUMMARY_TBL A , PS_PROJECT B , PS_PROJ_ACTIVITY C WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PROJECT_ID = B.PROJECT_ID AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.PROJECT_ID = C.PROJECT_ID AND A.ACTIVITY_ID = C.ACTIVITY_ID AND A.ANALYSIS_TYPE = 'ODL' AND A.RESOURCE_AMOUNT <> 0 GROUP BY A.BUSINESS_UNIT, A.PROJECT_ID, A.ACTIVITY_ID, A.ANALYSIS_TYPE, B.DESCR, C.DESCR

# 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 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID
4 ANALYSIS_TYPE Character(3) VARCHAR2(3) NOT NULL Analysis Type
5 TRANS_DT Date(10) DATE Transaction Date
6 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
7 DESCR Character(30) VARCHAR2(30) NOT NULL Description
8 ACTIVITY_ID_DESCR Character(30) VARCHAR2(30) NOT NULL Activity Description
9 RESOURCE_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Transaction Amount
10 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code