PL_IN_MSG_DI_VW(SQL View) |
Index Back |
---|---|
Inv Message search Item |
SELECT DISTINCT A.BUSINESS_UNIT , B.PLANNER_CD , A.INV_ITEM_ID , C.DESCR 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.BUSINESS_UNIT = D.SETCNTRLVALUE AND D.RECNAME = 'MASTER_ITEM_TBL' AND C.SETID = D.SETID AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND EXISTS ( SELECT 'X' FROM PS_BU_ITEMS_INV WHERE BUSINESS_UNIT = A.DESTIN_BU AND INV_ITEM_ID= A.INV_ITEM_ID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | DEST_PLAN_CD | Character(12) | VARCHAR2(12) NOT NULL | Destination Planner Code |
3 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |