MIN_BU_ITM_VW(SQL View) |
Index Back |
---|---|
Item Business Unit Prompt ViewBU item promt view that will bring back all Items with status of Active, Hold, Discontinue, and Inactive |
SELECT A.BUSINESS_UNIT , A.INV_ITEM_ID , B.DESCR , B.INV_ITEM_GROUP , B.INV_PROD_FAM_CD , A.ITM_STATUS_CURRENT , B.SERIAL_CONTROL , B.LOT_CONTROL FROM PS_BU_ITEMS_INV A , PS_MASTER_ITEM_TBL B , PS_SET_CNTRL_REC C WHERE A.BUSINESS_UNIT = C.SETCNTRLVALUE 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 | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BUIN_NONVW |
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
Prompt Table: INV_ITEM_GROUP |
5 | INV_PROD_FAM_CD | Character(10) | VARCHAR2(10) NOT NULL |
Family
Prompt Table: INV_ITEM_FAM |
6 | INV_ITM_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Item Status Current
1=Active 2=Hold 3=Discontinue 4=Inactive |
7 | SERIAL_CONTROL | Character(1) | VARCHAR2(1) NOT NULL |
Serial Control
N=N Y=Y |
8 | LOT_CONTROL | Character(1) | VARCHAR2(1) NOT NULL |
Lot Control
N=N Y=Y |