IN_DMDL_SRC2_VW(SQL View) |
Index Back |
---|---|
Inventory Demand Fulfillment |
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 , T.SETID , A.SETID_CUST_SHIPTO , A.SETID_LOCATION , D.BUSINESS_UNIT , D.DEMAND_SOURCE , D.SOURCE_BUS_UNIT , D.ORDER_NO , T.COMMODITY_CD , T.HARMONIZED_CD , M.INV_ITEM_GROUP , %DatePart(D.SCHED_DTTM) , %Sql(IN_DEL_FLAGS_CASE,D,DELIVERY_STATUS,'99',V) , M.INVENTORY_ITEM , %Sql(IN_DEL_FLAGS_CASE,D,FRT_COMMIT_BILLING,'N',V) , %Sql(IN_DEL_FLAGS_CASE,D,FRT_RATE_STATUS,'00',V) , %Sql(IN_DEL_FLAGS_CASE,D,MANIFEST_STATUS,'00',V) , V.DEL_ORD_RESTRICTED , %DatePart(D.SHIP_EARLY_DTTM) , ' ' , ' ' , %subrec(ADDRESS_SBR, A) , %subrec(IN_DMD_DEL_SBR, D) FROM PS_IN_DEMAND D LEFT OUTER JOIN PS_IN_DELIVERY V ON V.BUSINESS_UNIT = D.BUSINESS_UNIT AND V.DELIVERY_ID = D.DELIVERY_ID JOIN PS_INV_ITEMS T ON T.INV_ITEM_ID = D.INV_ITEM_ID JOIN PS_MASTER_ITEM_TBL M ON M.SETID = T.SETID AND M.INV_ITEM_ID = T.INV_ITEM_ID LEFT OUTER JOIN PS_IN_DEL_ADDR_VW A ON %Join(COMMON_KEYS, IN_DEL_ADDR_VW A, IN_DEMAND D) AND (((A.SETID_CUST_SHIPTO > ' ' AND A.LOCATION = ' ') OR (A.SETID_CUST_SHIPTO IS NULL AND A.LOCATION > ' ')) OR ((A.SETID_LOCATION > ' ' AND A.SHIP_TO_CUST_ID = ' ') OR (A.SETID_LOCATION IS NULL AND A.SHIP_TO_CUST_ID > ' '))) WHERE D.IN_FULFILL_STATE BETWEEN '10' AND '60' AND D.IN_PROCESS_DATE IS NOT NULL AND D.APPROVED_FLAG = 'Y' AND D.RESERVE_STATUS < '99' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BUIN_NONVW |
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
Prompt Table: SP_BU_FS_NONVW |
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 | SETID_CUST_SHIPTO | Character(5) | VARCHAR2(5) NOT NULL | Shipto Cust SetID |
11 | SETID_LOCATION | Character(5) | VARCHAR2(5) NOT NULL | Location SetID |
12 | SEL_BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Select Business Unit |
13 | SEL_DEMAND_SOURCE | Character(2) | VARCHAR2(2) NOT NULL | Select Demand Source |
14 | SEL_SOURCE_BU | Character(5) | VARCHAR2(5) NOT NULL | Select Source Business Unit |
15 | SEL_ORDER_NO | Character(10) | VARCHAR2(10) NOT NULL | Select Order |
16 | COMMODITY_CD | Character(10) | VARCHAR2(10) NOT NULL | Commodity Code |
17 | HARMONIZED_CD | Character(14) | VARCHAR2(14) NOT NULL | Harmonized Code |
18 | INV_ITEM_GROUP | Character(15) | VARCHAR2(15) NOT NULL | Item Group |
19 | SCHED_SHIP_DATE | Date(10) | DATE | Scheduled Ship Date |
20 | DELIVERY_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
Delivery Status
00=Pending for Demand 10=Pending for Quote 20=Open 60=Closed for Shipment 70=Delivery Completed 90=Canceled 99=Unassigned |
21 | INVENTORY_ITEM | Character(1) | VARCHAR2(1) NOT NULL |
Inventory Item
N=No Y=Yes |
22 | FRT_COMMIT_BILLING | Character(1) | VARCHAR2(1) NOT NULL | Freight Committed for Billing |
23 | FRT_RATE_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
Rate Status
00=None 10=Requested 20=Received |
24 | MANIFEST_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
Manifest Status
00=None 10=Requested 20=Received |
25 | DEL_ORD_RESTRICTED | Character(1) | VARCHAR2(1) NOT NULL |
Deliveries restricted to order
N=Deliveries Not Restricted Y=Deliveries Restricted to Order |
26 | SHIP_EARLY_DATE | Date(10) | DATE | Earliest Ship Date |
27 | SHIP_CNTR_ID | Character(20) | VARCHAR2(20) NOT NULL | Shipping Container ID |
28 | CHILD_SHIP_CNTR | Character(20) | VARCHAR2(20) NOT NULL | Child Shipping Container ID |
29 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
30 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
31 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
32 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
33 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
34 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
35 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
36 | NUM2 | Character(6) | VARCHAR2(6) NOT NULL | Number 2 |
37 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat WW=Trailer |
38 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
39 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
40 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
41 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
42 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: STATE_TBL |
43 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
44 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
45 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL |
In City Limit
Y/N Table Edit |
46 | 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 |
47 | IN_PRIOR_STATE | Character(2) | VARCHAR2(2) NOT NULL |
Inventory Fulfillment State at the time the demand line was cancelled
10=Pending 20=Unfulfilled 30=Releasable 40=Released 50=Picking Confirmed 60=Shipped 70=Depleted 90=Canceled |
48 | SCHED_DTTM | DateTime(26) | TIMESTAMP | 08/16/01 JNW (CN#PL900-1.0): Added |
49 | SCHED_ARRV_DTTM | DateTime(26) | TIMESTAMP | Schedule Arrival Dt/Tm |
50 | SHIP_EARLY_DTTM | DateTime(26) | TIMESTAMP | Earliest Ship Date/Time |
51 | SHIP_LATE_DTTM | DateTime(26) | TIMESTAMP | Latest Ship Date/Time |
52 | LOAD_ID | Character(10) | VARCHAR2(10) NOT NULL |
Load ID
Prompt Table: LOAD_INV |
53 | CARRIER_ID | Character(10) | VARCHAR2(10) NOT NULL |
Carrier ID
Prompt Table: CARRIER_ID |
54 | SHIP_TYPE_ID | Character(10) | VARCHAR2(10) NOT NULL |
Ship Via Code
Prompt Table: SHIP_METHOD |
55 | FREIGHT_TERMS | Character(10) | VARCHAR2(10) NOT NULL |
Freight Terms Code
Prompt Table: FREIGHT_TERMS |
56 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
57 | PARENT_PROD_ID | Character(18) | VARCHAR2(18) NOT NULL | Parent Product Id |
58 | KIT_LINE_NBR | Number(3,0) | SMALLINT NOT NULL | Kit Line Number |
59 | QTY_PER | Number(10,4) | DECIMAL(9,4) NOT NULL | Quantity |
60 | QTY_CODE | Character(3) | VARCHAR2(3) NOT NULL |
Per
ASY=Assembly ORD=Order |
61 | OPTIONAL_SHIP | Character(1) | VARCHAR2(1) NOT NULL | OK to Ship Without |
62 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL |
Location Code
Prompt Table: LOCATION_SBU_VW |
63 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations. |
64 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
65 | SHIP_CUST_NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Ship To Name |
66 | SHIP_CUST_NAME2 | Character(40) | VARCHAR2(40) NOT NULL | Ship To Name 2 |
67 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
68 | ADDR_OVRD_LEVEL | Character(1) | VARCHAR2(1) NOT NULL |
Address Override Level
D=Demand Line H=Header L=Line S=Schedule |
69 | QTY_REQUESTED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Requested |
70 | QTY_REQUESTED_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Requested Base |
71 | QTY_PROMISED_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Promised Base |
72 | QTY_ALLOCATED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Allocated quantity |
73 | QTY_ALLOC_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity allocation |
74 | QTY_BACKORDER | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Backorder Qty |
75 | QTY_BACKORDER_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Backorder Base Qty |
76 | QTY_PICKED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Picked |
77 | QTY_PICK_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Pick Base |
78 | QTY_PICK_OVRIDE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Field used to override the net requested quantity when printing the pick play for non-soft reservation items. |
79 | QTY_PICK_OVR_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Field used to override the net requested quantity in standard uom when printing the pick play for non-soft reservation items. |
80 | QTY_PACK_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Base Quantity Packed |
81 | QTY_SHIPPED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Shipped |
82 | QTY_SHIP_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Ship Base |
83 | QTY_SHIPPED_CONV | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Shipped |
84 | LAST_QTY_SHIP | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity Last Shipped |
85 | LAST_QTY_SHIP_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Used to save the last value of quantity shipped from the Shipping Issues Panel in Standard UOM at the DEMAND_PHYS_INV and SHIP_INF_INV level. Default to the quantity picked from the Express Issues Panel or for cases where auto ship equals 'Y'. |
86 | IN_ZERO_PICKED_FLG | Character(1) | VARCHAR2(1) NOT NULL | Zero Picked |
87 | BCKORDER_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Backorder Flag
N=No Y=Yes Y/N Table Edit Default Value: N |
88 | BACKORDER_CREATED | Character(1) | VARCHAR2(1) NOT NULL |
Backorder Created Flag
Y/N Table Edit Default Value: N |
89 | UNIT_MEASURE_SHIP | Character(3) | VARCHAR2(3) NOT NULL |
Shipment Unit of Measure
Prompt Table: INV_SHIP_UOM_VW |
90 | UNIT_MEASURE_VOL | Character(3) | VARCHAR2(3) NOT NULL |
Volume UOM
Prompt Table: UNITS_TBL |
91 | UNIT_MEASURE_WT | Character(3) | VARCHAR2(3) NOT NULL |
Weight UOM
Prompt Table: UNITS_TBL |
92 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage Prompt Table: INV_ORDR_UOM_VW |
93 | 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.
Prompt Table: ROUTE_INV_VW |
94 | ROUTE_STOP_NBR | Number(5,0) | INTEGER NOT NULL | An identifier used to sequence customer addresses/location for a given route. |
95 | FRT_CHRG_METHOD | Character(2) | VARCHAR2(2) NOT NULL |
Freight Charge Method
01=Order Value 02=Weight 03=Volume 04=Order Quantity |
96 | FRT_RULE_CD | Character(10) | VARCHAR2(10) NOT NULL | Freight Rule Code |
97 | DELIVERY_ID | Character(10) | VARCHAR2(10) NOT NULL | Delivery ID |
98 | SHIP_ID | Character(10) | VARCHAR2(10) NOT NULL |
Shipping ID
Prompt Table: SHIP_HDR_INV |
99 | PRO_NUMBER | Character(40) | VARCHAR2(40) NOT NULL | Pro Number |
100 | TMS_LOAD_STP_NBR | Number(5,0) | INTEGER NOT NULL | Load Stop Number |
101 | DELIV_UNIT_VOL | Number(16,4) | DECIMAL(15,4) NOT NULL | Delivery Unit Volume |
102 | DELIV_UNIT_WT | Number(16,4) | DECIMAL(15,4) NOT NULL | Delivery Unit Weight |
103 | DELIV_UOM_VOL | Character(3) | VARCHAR2(3) NOT NULL | Delivery Volume UOM |
104 | DELIV_UOM_WT | Character(3) | VARCHAR2(3) NOT NULL | Delivery Weight UOM |
105 | DELIV_UOM_SHIP_VOL | Character(3) | VARCHAR2(3) NOT NULL | Ship UOM for volume conversion |
106 | DELIV_UOM_SHIP_WT | Character(3) | VARCHAR2(3) NOT NULL | Ship UOM for weight conversion |
107 | DELIV_UNIT_VOL_CNV | Number(16,8) | DECIMAL(15,8) NOT NULL | Unit volume conversion rate |
108 | DELIV_UNIT_WT_CNV | Number(16,8) | DECIMAL(15,8) NOT NULL | Unit weight conversion rate |
109 | DELIV_USE_UOM_SHIP | Character(1) | VARCHAR2(1) NOT NULL |
Use UNIT_MEASURE_SHIP
Y/N Table Edit Default Value: N |
110 | PREF_CARRIER_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Preferred Carrier flag
N=No Preferred Carrier Y=Preferred Carrier Default Value: N |
111 | PICK_BATCH_ID | Number(10,0) | DECIMAL(10) NOT NULL | Pick Batch ID |
112 | PICKLIST_LINE_NO | Number(7,0) | INTEGER NOT NULL | Pick List Sorting Line Number |
113 | PRIORITY_NBR | Number(3,0) | SMALLINT NOT NULL | Priority |
114 | DEMAND_DATE | Date(10) | DATE | Demand Date |