EST_SHIP_IN_VW4

(SQL View)
Index Back

Shipping Detail - View

mmt 03/26/04 Data model changes. Changed record to IN_DEMAND.

SELECT A.BUSINESS_UNIT , ' ' , A.DEMAND_SOURCE , A.SOURCE_BUS_UNIT , A.ORDER_NO , A.ORDER_INT_LINE_NO , A.SCHED_LINE_NBR , A.INV_ITEM_ID , A.DEMAND_LINE_NO , B.SHIP_CNTR_ID , A.QTY_SHIPPED_CONV , A.UNIT_MEASURE_SHIP , A.QTY_SHIP_BASE , A.QTY_PACK_BASE , C.SHIP_TO_CUST_ID , C.LOCATION , A.PICK_BATCH_ID , A.LOAD_ID , C.CARRIER_ID , C.SHIP_TYPE_ID , A.BILL_OF_LADING , A.ROUTE_CD , C.SHIP_ID , A.DESTIN_BU , A.FRT_CHRG_OVERRIDE , A.INTERUNIT_FLG , %DatePart(A.SHIP_DTTM) , A.ADDRESS_SEQ_NUM , A.FRT_CHRG_METHOD , C.PARENT_SHIP_CNTR , C.OUTER_MOST_CNTR_ID , D.WAVE_CD , ' ' FROM PS_IN_DEMAND A , PS_SHIP_CNTR_INV B , PS_SHIP_CNTR_HDR C , PS_WAVE_ROUTE_INV D WHERE A.IN_FULFILL_STATE BETWEEN '50' AND '70' AND B.BUSINESS_UNIT = A.BUSINESS_UNIT AND D.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.BUSINESS_UNIT = B.BUSINESS_UNIT AND B.DEMAND_SOURCE = A.DEMAND_SOURCE AND B.SOURCE_BUS_UNIT = A.SOURCE_BUS_UNIT AND B.ORDER_NO = A.ORDER_NO AND B.ORDER_INT_LINE_NO = A.ORDER_INT_LINE_NO AND B.SCHED_LINE_NBR = A.SCHED_LINE_NBR AND B.INV_ITEM_ID = A.INV_ITEM_ID AND B.DEMAND_LINE_NO = A.DEMAND_LINE_NO AND C.SHIP_CNTR_ID = B.SHIP_CNTR_ID AND D.ROUTE_CD = A.ROUTE_CD

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 DELIVERY_ID Character(10) VARCHAR2(10) NOT NULL Delivery ID
3 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
4 SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Bus Unit
5 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
6 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
7 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
8 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
9 DEMAND_LINE_NO Number(4,0) SMALLINT NOT NULL Demand Line No
10 SHIP_CNTR_ID Character(20) VARCHAR2(20) NOT NULL Shipping Container ID
11 QTY_SHIPPED_CONV Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Shipped
12 UNIT_MEASURE_SHIP Character(3) VARCHAR2(3) NOT NULL Shipment Unit of Measure
13 QTY_SHIP_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Ship Base
14 QTY_PACK_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Base Quantity Packed
15 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer
16 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
17 PICK_BATCH_ID Number(10,0) DECIMAL(10) NOT NULL Pick Batch ID
18 LOAD_ID Character(10) VARCHAR2(10) NOT NULL Load ID
19 CARRIER_ID Character(10) VARCHAR2(10) NOT NULL Carrier ID
20 SHIP_TYPE_ID Character(10) VARCHAR2(10) NOT NULL Ship Via Code
21 BILL_OF_LADING Character(30) VARCHAR2(30) NOT NULL Specifies a bill of lading number associated with a Receivables item.
22 ROUTE_CD Character(6) VARCHAR2(6) NOT NULL A unique identifier assigned to a delivery route. Route codes can be associated with customer addresses for external orders or locations for internal orders. Route codes can be used to identify the appropriate delivery schedule for a customer/location if you are managing product shipments with your own vehicles.
23 SHIP_ID Character(10) VARCHAR2(10) NOT NULL Shipping ID
24 DESTIN_BU Character(5) VARCHAR2(5) NOT NULL Destination Unit
25 FRT_CHRG_OVERRIDE Character(1) VARCHAR2(1) NOT NULL Freight Charge Override
26 INTERUNIT_FLG Character(1) VARCHAR2(1) NOT NULL InterUnit
N=No
Y=Yes
27 SCHED_SHIP_DATE Date(10) DATE Scheduled Ship Date
28 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number
29 FRT_CHRG_METHOD Character(2) VARCHAR2(2) NOT NULL Freight Charge Method
01=Order Value
02=Weight
03=Volume
04=Order Quantity
30 PARENT_SHIP_CNTR Character(20) VARCHAR2(20) NOT NULL Parent Shipping Container ID
31 OUTER_MOST_CNTR_ID Character(20) VARCHAR2(20) NOT NULL Shipping Container ID
32 WAVE_CD Character(6) VARCHAR2(6) NOT NULL A unique identifier used to group together one or more delivery route codes.
33 SHIP_ID_EST Character(10) VARCHAR2(10) NOT NULL Estimated Ship ID