ALLBU_ITEM_VW

(SQL View)
Index Back

Items Over All BUs - View

ICE #540609000: Changed view to include BU Status on BUS_UNIT_TBL_IN

SELECT A.INV_ITEM_ID , A.SETID , B.BUSINESS_UNIT , C.LOCATION , B.QTY_AVAILABLE , B.QTY_RESERVED , B.QTY_ONHAND , B.REPLENISH_LEAD 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 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
5 QTY_AVAILABLE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Available
6 QTY_RESERVED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Reserved
7 QTY_ONHAND Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity On Hand
8 REPLENISH_LEAD Signed Number(16,2) DECIMAL(14,2) NOT NULL Replenish Lead (Days)