GM_PT_BUD_PD_V5

(SQL View)
Index Back

SELECT DISTINCT C.OPRID , B.BUSINESS_UNIT_PC , B.PROJECT_ID , A.BUDGET_PERIOD_GM , MIN(A.START_DT) , MAX(A.END_DT) FROM PS_GM_PT_PRJ_BUD A , PS_GM_PT_ACC_LVL3 B , PSOPRDEFN C WHERE C.EMPLID = B.EMPLID AND A.PROJECT_ID = B.PROJECT_ID AND A.BUSINESS_UNIT_PC = B.BUSINESS_UNIT_PC AND B.PROJECT_FLG = 'Y' AND (B.END_DT >= %CurrentDateIn OR B.END_DT IS NULL) GROUP BY C.OPRID, B.BUSINESS_UNIT_PC , B.PROJECT_ID , A.BUDGET_PERIOD_GM

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit
3 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
4 BUDGET_PERIOD_GM Number(3,0) SMALLINT NOT NULL BUDGET_PERIOD_GM
5 BEGIN_DT Date(10) DATE Begin Date
6 END_DT Date(10) DATE End Date