GM_PT_BUD_PD_V4

(SQL View)
Index Back

SELECT DISTINCT C.OPRID , A.BUDGET_PERIOD_GM , MIN(A.START_DT) , MAX(A.END_DT) FROM PS_GM_PT_PRJ_BUD A , PS_GM_PT_ACC_LVL2 B , PSOPRDEFN C , PS_GM_PT_PROJECT D WHERE C.EMPLID = B.EMPLID AND B.AWARD_FLAG = 'Y' AND (B.END_DT >= %CurrentDateIn OR B.END_DT IS NULL) AND D.CONTRACT_NUM = B.CONTRACT_NUM AND D.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.BUSINESS_UNIT_PC = D.BUSINESS_UNIT_PC AND A.PROJECT_ID = D.PROJECT_ID GROUP BY C.OPRID, 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 BUDGET_PERIOD_GM2 Number(3,0) SMALLINT NOT NULL BUDGET_PERIOD_GM
3 BEGIN_DT Date(10) DATE Begin Date
4 END_DT Date(10) DATE End Date