IN_DLV_SHUOM_VW

(SQL View)
Index Back

Delivery ship uom


SELECT D.BUSINESS_UNIT , D.DEMAND_SOURCE , D.SOURCE_BUS_UNIT , D.ORDER_NO , D.ORDER_INT_LINE_NO , D.SCHED_LINE_NBR , D.INV_ITEM_ID , D.DEMAND_LINE_NO , M.SETID , CASE D.IN_FULFILL_STATE WHEN '60' THEN D.UNIT_MEASURE_SHIP WHEN '70' THEN D.UNIT_MEASURE_SHIP ELSE CASE U.INV_UOM_TYPE WHEN 'SHIP' THEN D.UNIT_OF_MEASURE ELSE M.UNIT_MEASURE_STD END END , CASE D.IN_FULFILL_STATE WHEN '60' THEN 'N' WHEN '70' THEN 'N' ELSE CASE U.INV_UOM_TYPE WHEN 'SHIP' THEN 'N' ELSE 'Y' END END FROM PS_IN_DEMAND D JOIN PS_SET_CNTRL_REC SR ON SR.SETCNTRLVALUE = D.BUSINESS_UNIT AND SR.RECNAME = 'MASTER_ITEM_TBL' JOIN PS_MASTER_ITEM_TBL M ON SR.SETID = M.SETID AND M.INV_ITEM_ID = D.INV_ITEM_ID LEFT OUTER JOIN PS_UOM_TYPE_INV U ON U.SETID = M.SETID AND U.INV_ITEM_ID = D.INV_ITEM_ID AND U.UNIT_OF_MEASURE = D.UNIT_OF_MEASURE AND U.INV_UOM_TYPE = 'SHIP'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 DEMAND_SOURCE Character(2) VARCHAR2(2) NOT NULL Demand Source
IN=Material Request
OM=Sales Order
PL=Planning Requisition
PO=Purchase Order
PR=Purchasing Requisition
RT=Material Return
SF=Production Request
WM=Work Order
3 SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Bus Unit
4 ORDER_NO Character(10) VARCHAR2(10) NOT NULL Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
5 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
6 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
7 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
8 DEMAND_LINE_NO Number(4,0) SMALLINT NOT NULL Demand Line No
9 SETID_INV_ITEM Character(5) VARCHAR2(5) NOT NULL Inv Items SETID
10 UNIT_MEASURE_SHIP Character(3) VARCHAR2(3) NOT NULL Shipment Unit of Measure
11 USE_STD_UOM_FLAG Character(1) VARCHAR2(1) NOT NULL Use Standard UOM