PL_I_MSG_BBP_VW

(SQL View)
Index Back

Inv Message search Planner CD


SELECT DISTINCT A.BUSINESS_UNIT , A.DESTIN_BU , B.PLANNER_CD FROM PS_DEM_CHG_INF_INV A , PS_BU_ITEMS_INV B , PS_MASTER_ITEM_TBL C , PS_SET_CNTRL_REC D WHERE A.INV_ITEM_ID = B.INV_ITEM_ID AND B.INV_ITEM_ID = C.INV_ITEM_ID AND A.DESTIN_BU = D.SETCNTRLVALUE AND D.RECNAME = 'MASTER_ITEM_TBL' AND C.SETID = D.SETID AND A.DESTIN_BU = B.BUSINESS_UNIT AND EXISTS ( SELECT 'X' FROM PS_DEM_CHG_INF_INV WHERE BUSINESS_UNIT = A.BUSINESS_UNIT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 DESTIN_BU Character(5) VARCHAR2(5) NOT NULL Destination Unit
3 DEST_PLAN_CD Character(12) VARCHAR2(12) NOT NULL Destination Planner Code