PV_ALLBU_ITM_VW(SQL View) |
Index Back |
---|---|
Items Over All BUs - ViewICE #540609000: Changed view to include BU Status on BUS_UNIT_TBL_IN 4/9/2014: SHPS : Changed the Owner Id of the view to eProcurement as this record belongs to eProcurement. |
SELECT A.INV_ITEM_ID , A.SETID , B.BUSINESS_UNIT , B.QTY_AVAILABLE , B.QTY_RESERVED , B.QTY_ONHAND , B.REPLENISH_LEAD , A.UNIT_MEASURE_STD ,B.ITM_STATUS_CURRENT FROM PS_MASTER_ITEM_TBL A , PS_BU_ITEMS_INV B , PS_BUS_UNIT_TBL_IN C WHERE A.SETID IN ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE RECNAME='MASTER_ITEM_TBL' AND SETCNTRLVALUE=B.BUSINESS_UNIT) AND A.INV_ITEM_ID = B.INV_ITEM_ID AND B.BUSINESS_UNIT = C.BUSINESS_UNIT AND C.BU_STATUS = '1' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
2 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
4 | QTY_AVAILABLE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Available |
5 | QTY_RESERVED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Reserved |
6 | QTY_ONHAND | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity On Hand |
7 | REPLENISH_LEAD | Signed Number(16,2) | DECIMAL(14,2) NOT NULL | Replenish Lead (Days) |
8 | UNIT_MEASURE_STD | Character(3) | VARCHAR2(3) NOT NULL | Standard Unit of Measure |
9 | ITM_STATUS_CURRENT | Character(1) | VARCHAR2(1) NOT NULL |
Item Status Current
1=Active 2=Hold 3=Discontinue 4=Inactive 5=Pending Approval 6=Denied Approval 7=Under Initialization |