PC_BUD_DST2_VW

(SQL View)
Index Back

View of PS_GM_BUD_CATEGORY

PS_GM_BUD_CATEGORY

SELECT DISTINCT A.BUSINESS_UNIT , A.PROJECT_ID , A.PC_BUDGET_ID , A.ACTIVITY_ID , A.PC_BUDGET_ITEM , B.DESCR FROM PS_PC_BUD_DETAIL A , PS_GM_BUD_CATEGORY B , PS_SET_CNTRL_REC C WHERE A.PC_BUDGET_ITEM = B.BUDGET_CATEGORY AND B.EFFDT = ( SELECT MAX(B_ED.EFFDT) FROM PS_GM_BUD_CATEGORY B_ED WHERE B.SETID = B_ED.SETID AND B.BUDGET_CATEGORY = B_ED.BUDGET_CATEGORY AND B_ED.EFFDT <= %CurrentDateIn) AND B.SETID = C.SETID AND C.SETCNTRLVALUE = A.BUSINESS_UNIT_GL AND C.RECNAME = 'GM_BUD_CATEGORY'

# 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 PC_BUDGET_ID Number(3,0) SMALLINT NOT NULL Budget Plan ID
4 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID
5 PC_BUDGET_ITEM Character(15) VARCHAR2(15) NOT NULL Project Budgeting: Budget Item 11/15/2004- FS - Added label COST_BUDGET_ITEM
6 DESCR Character(30) VARCHAR2(30) NOT NULL Description