ITM_MFG_SCH_VW(SQL View) |
Index Back |
---|---|
Item for Manufacturer ViewPO002 Item Search View for Manufacturer Contract |
SELECT A.MFG_ID , B.SETID , A.SETID , B.INV_ITEM_ID , B.DESCR FROM PS_MANUFACTURER A , PS_PURCH_ITEM_ATTR B , PS_MASTER_ITEM_TBL D , PS_INV_ITEMS E WHERE B.SETID = D.SETID AND B.INV_ITEM_ID = D.INV_ITEM_ID AND D.ITM_STATUS_CURRENT = '1' AND B.SUBITEM_ONLY <> 'Y' AND B.SETID = E.SETID AND B.INV_ITEM_ID = E.INV_ITEM_ID AND E.EFFDT = ( SELECT MAX(EFFDT) FROM PS_INV_ITEMS F WHERE F.SETID = B.SETID AND F.INV_ITEM_ID = B.INV_ITEM_ID AND EFFDT <= %CurrentDateIn) AND ((%CurrentDateIn >= B.PO_AVAIL_DT) AND (B.PO_UNAVAIL_DT > %CurrentDateIn)) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | MFG_ID_SCH | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer ID |
2 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
3 | SETID_MFG | Character(5) | VARCHAR2(5) NOT NULL | Used in IT_LOAD_PROC AppEngine |
4 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
5 | ITM_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Item Description |