IN_LOAD_SEL2_VW(SQL View) |
Index Back |
---|---|
Reserved Orders View - INVUsed to retrieve order lines from the Manage Loads Panel when wave code is entered as one of the selection criteria. |
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 , d.location , d.ship_to_cust_id , d.load_id , d.carrier_id , d.ship_type_id , d.route_cd , j.wave_cd , m.descr , d.sched_dttm , d.unit_of_measure , d.qty_allocated , d.qty_requested , d.qty_picked , d.qty_shipped_conv , i.inv_item_weight , i.inv_item_volume , i.unit_measure_wt , i.unit_measure_vol , m.unit_measure_std , d.unit_measure_ship , d.pick_batch_id , d.ship_id , d.hold_flag , d.qty_backorder , d.in_fulfill_state FROM ps_in_demand d , PS_MASTER_ITEM_TBL m , ps_inv_items i , ps_wave_route_inv j WHERE m.setid = ( SELECT setid FROM ps_set_cntrl_rec sc WHERE setcntrlvalue = d.business_unit AND recname = 'MASTER_ITEM_TBL') AND m.inv_item_id = d.inv_item_id AND d.in_fulfill_state BETWEEN '20' AND '70' AND i.setid = ( SELECT setid FROM ps_set_cntrl_rec sc WHERE setcntrlvalue = d.business_unit AND recname = 'INV_ITEMS') AND i.inv_item_id = d.inv_item_id AND i.effdt = ( SELECT MAX(effdt) FROM ps_inv_items i2 WHERE i2.inv_item_id = i.inv_item_id AND i2.setid = i.setid AND i2.effdt <= %CurrentDateIn) AND EXISTS ( SELECT 'X' FROM ps_wave_route_inv k WHERE d.business_unit = j.business_unit AND j.business_unit = k.business_unit AND j.wave_cd = k.wave_cd AND d.route_cd = j.route_cd AND j.route_cd = k.route_cd) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BUIN_NONVW |
|
2 | 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 | Character(5) | VARCHAR2(5) NOT NULL | Source Bus Unit | |
4 | 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 | Number(5,0) | INTEGER NOT NULL | Order Line | |
6 | Number(6,0) | INTEGER NOT NULL | Schedule Line Number | |
7 | Character(18) | VARCHAR2(18) NOT NULL | Item ID | |
8 | Number(4,0) | SMALLINT NOT NULL | Demand Line No | |
9 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
10 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
11 | LOAD_ID | Character(10) | VARCHAR2(10) NOT NULL | Load ID |
12 | CARRIER_ID | Character(10) | VARCHAR2(10) NOT NULL | Carrier ID |
13 | SHIP_TYPE_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship Via Code |
14 | 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. |
15 | WAVE_CD | Character(6) | VARCHAR2(6) NOT NULL | A unique identifier used to group together one or more delivery route codes. |
16 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
17 | SCHED_DTTM | DateTime(26) | TIMESTAMP | 08/16/01 JNW (CN#PL900-1.0): Added |
18 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
19 | QTY_ALLOCATED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Allocated quantity |
20 | QTY_REQUESTED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Requested |
21 | QTY_PICKED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Picked |
22 | QTY_SHIPPED_CONV | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Shipped |
23 | INV_ITEM_WEIGHT | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Item Weight |
24 | INV_ITEM_VOLUME | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Volume |
25 | UNIT_MEASURE_WT | Character(3) | VARCHAR2(3) NOT NULL | Weight UOM |
26 | UNIT_MEASURE_VOL | Character(3) | VARCHAR2(3) NOT NULL | Volume UOM |
27 | UNIT_MEASURE_STD | Character(3) | VARCHAR2(3) NOT NULL | Standard Unit of Measure |
28 | UNIT_MEASURE_SHIP | Character(3) | VARCHAR2(3) NOT NULL | Shipment Unit of Measure |
29 | PICK_BATCH_ID | Number(10,0) | DECIMAL(10) NOT NULL | Pick Batch ID |
30 | SHIP_ID | Character(10) | VARCHAR2(10) NOT NULL | Shipping ID |
31 | HOLD_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Hold
N=Hold Y=Hold |
32 | QTY_BACKORDER | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Backorder Qty |
33 | 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 |