EST_SHIP_IN_VW3

(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 , 0 , ' ' , A.QTY_SHIPPED_CONV , A.UNIT_MEASURE_SHIP , A.QTY_SHIP_BASE , A.QTY_PACK_BASE , A.SHIP_TO_CUST_ID , A.LOCATION , A.PICK_BATCH_ID , A.LOAD_ID , A.CARRIER_ID , A.SHIP_TYPE_ID , A.BILL_OF_LADING , A.ROUTE_CD , A.SHIP_ID , A.DESTIN_BU , A.FRT_CHRG_OVERRIDE , A.INTERUNIT_FLG , %DatePart(A.SHIP_DTTM) , A.ADDRESS_SEQ_NUM , A.FRT_CHRG_METHOD , A.FREIGHT_TERMS , B.WAVE_CD , C.COUNTRY , C.STATE , A.IN_FULFILL_STATE , A.QTY_PACK_BASE , ' ' , C.ADDRESS1 , C.ADDRESS2 , C.ADDRESS3 , C.ADDRESS4 , C.ADDR_FIELD1 , C.ADDR_FIELD2 , C.ADDR_FIELD3 , ' ' , C.CITY , C.COUNTY , ' ' , C.GEO_CODE , C.HOUSE_TYPE , C.IN_CITY_LIMIT , C.NUM1 , C.NUM2 , C.POSTAL , A.PRODUCT_ID , ' ' , A.TMS_LOAD_STP_NBR , ' ' , ' ' , ' ' , ' ' , A.PREF_CARRIER_FLAG , 'N' , ' ' , ' ' , ' ' , %CurrentDateOut , ' ' , 1 , 1 , 0 , A.DELIVERY_ID FROM PS_IN_DEMAND A , PS_WAVE_ROUTE_INV B , PS_IN_DEMAND_ADDR C WHERE A.IN_FULFILL_STATE = '60' AND B.BUSINESS_UNIT = A.BUSINESS_UNIT AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND B.ROUTE_CD = A.ROUTE_CD AND A.DEMAND_SOURCE = C.DEMAND_SOURCE AND A.SOURCE_BUS_UNIT = C.SOURCE_BUS_UNIT AND A.ORDER_NO = C.ORDER_NO AND A.ORDER_INT_LINE_NO = C.ORDER_INT_LINE_NO AND A.SCHED_LINE_NBR = C.SCHED_LINE_NBR AND A.INV_ITEM_ID = C.INV_ITEM_ID AND A.DEMAND_LINE_NO = C.DEMAND_LINE_NO

# 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 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
10 DELIVERY_ID Character(10) VARCHAR2(10) NOT NULL Delivery 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 FREIGHT_TERMS Character(10) VARCHAR2(10) NOT NULL Freight Terms Code
31 WAVE_CD Character(6) VARCHAR2(6) NOT NULL A unique identifier used to group together one or more delivery route codes.
32 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
33 STATE Character(6) VARCHAR2(6) NOT NULL State
34 IN_FULFILL_STATE Character(2) VARCHAR2(2) NOT NULL Inventory Fulfillment State
10=Pending
20=Unfulfilled
30=Releasable
40=Released
50=Confirmed
60=Shipped
70=Depleted
90=Canceled
35 ORIG_QTY_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Original Qty Base
36 SHIP_ID_EST Character(10) VARCHAR2(10) NOT NULL Estimated Ship ID
37 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
38 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
39 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
40 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
41 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
42 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
43 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
44 CARRIER_ID_EXP Character(10) VARCHAR2(10) NOT NULL Export Carrier ID
45 CITY Character(30) VARCHAR2(30) NOT NULL City
46 COUNTY Character(30) VARCHAR2(30) NOT NULL County
47 FREIGHT_TERMS_EXP Character(10) VARCHAR2(10) NOT NULL Export Freight Terms Code
48 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
49 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
AB=House Boat
WW=Trailer
50 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit
51 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
52 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
53 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
54 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
55 SHIP_TYPE_ID_EXP Character(10) VARCHAR2(10) NOT NULL Export Shipping Method
56 TMS_LOAD_STP_NBR Number(5,0) INTEGER NOT NULL Load Stop Number
57 DOC_REFNUM Character(20) VARCHAR2(20) NOT NULL Counter sale document reference number
58 VAT_ENTITY Character(20) VARCHAR2(20) NOT NULL Specifies an organizational entity that is responsible for VAT reporting and that is registered in one or more countries that require VAT reporting. A single VAT entity is linked to one or more General Ledger Business Units depending on the reporting requirements.
59 FREIGHT_BILL_TYPE Character(2) VARCHAR2(2) NOT NULL Freight Bill Type
OE=Order Entry
SH=Shipping
60 ORDER_TYPE_CD Character(3) VARCHAR2(3) NOT NULL Order Type
QUO=Sales Quote
SO=Sales Order
61 PREF_CARRIER_FLAG Character(1) VARCHAR2(1) NOT NULL Preferred Carrier flag
N=No Preferred Carrier
Y=Preferred Carrier
62 DEL_ORD_RESTRICTED Character(1) VARCHAR2(1) NOT NULL Deliveries restricted to order
N=Deliveries Not Restricted
Y=Deliveries Restricted to Order
63 SOURCE_CD Character(6) VARCHAR2(6) NOT NULL Source Code
64 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
65 CURRENCY_CD_BASE Character(3) VARCHAR2(3) NOT NULL Business Unit Base Currency
66 RATE_DATE Date(10) DATE Exchange Rate Date
67 RT_TYPE Character(5) VARCHAR2(5) NOT NULL Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical.
68 RATE_MULT Signed Number(17,8) DECIMAL(15,8) NOT NULL Rate Multiplier
69 RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL Rate Divisor
70 DEMAND_RS_ROW Number(7,0) INTEGER NOT NULL Demand rowset row
71 DELIVERY_ID2 Character(10) VARCHAR2(10) NOT NULL Delivery ID