IN_VMI_OMUOM_VW

(SQL View)
Index Back

IN_VMI_OMPRD_VW

IN_VMI_OMPRD_VW

SELECT DISTINCT V.BUSINESS_UNIT , V.VMI_OM_BU , A.PRODUCT_ID , A.DESCR , UOM.UNIT_OF_MEASURE FROM PS_PROD_ITEM A , PS_SET_CNTRL_REC CN , PS_IN_STOR_LOC_VMI V , PS_BU_ITEMS_INV BU , PS_SET_CNTRL_REC CN1 , PS_INV_ITEM_UOM UOM WHERE A.SETID=CN.SETID AND CN.SETCNTRLVALUE = V.VMI_OM_BU AND CN.RECNAME='PROD_ITEM' AND BU.INV_ITEM_ID = A.INV_ITEM_ID AND BU.BUSINESS_UNIT = V.BUSINESS_UNIT AND A.EFF_STATUS='A' AND UOM.SETID=CN1.SETID AND CN1.SETCNTRLVALUE = BU.BUSINESS_UNIT AND V.BUSINESS_UNIT=CN1.SETCNTRLVALUE AND BU.INV_ITEM_ID=UOM.INV_ITEM_ID AND CN1.RECNAME='INV_ITEM_UOM'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 VMI_OM_BU Character(5) VARCHAR2(5) NOT NULL OM Business Unit Related to VMI
3 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
5 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage