BU_VMI_ITEMS_VW(SQL View) |
Index Back |
---|---|
Prompt View for VMI ItemsThis is a prompt view to limit the items shown to only those referenced in a VMI BU and set up in IN_VMI_ITEMS. |
SELECT DISTINCT A.BUSINESS_UNIT AS BUSINESS_UNIT_IN , A.INV_ITEM_ID , B.DESCR , B.INV_ITEM_GROUP , B.INV_PROD_FAM_CD FROM PS_BU_ITEMS_INV A , PS_MASTER_ITEM_TBL B , PS_SET_CNTRL_REC C , PS_IN_VMI_ITEMS D WHERE A.BUSINESS_UNIT = C.SETCNTRLVALUE AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.INV_ITEM_ID = D.INV_ITEM_ID AND C.RECNAME = 'MASTER_ITEM_TBL' AND B.SETID = C.SETID AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.INVENTORY_ITEM = 'Y' AND A.ITM_STATUS_CURRENT IN ('1','2','3','4') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT_IN | Character(5) | VARCHAR2(5) NOT NULL | Inventory Unit |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | INV_ITEM_GROUP | Character(15) | VARCHAR2(15) NOT NULL | Item Group |
5 | INV_PROD_FAM_CD | Character(10) | VARCHAR2(10) NOT NULL | Family |