ORDER_INQ_INV

(SQL Table)
Index Back

Order Inquiry Record

This record is used a temporary holding table by the Stock Request Inquiry panels. 06/18/04 SLG Changed SCHED_LINE_NO --> SCHED_LINE_NBR 01/18/06 MDS Added PARENT_PROD_ID. 03/17/09 CHB Added CURRENCY_CD field.

# 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 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
7 DEMAND_LINE_NO Number(4,0) SMALLINT NOT NULL Demand Line No
8 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
9 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
10 REQUEST_DATE Date(10) DATE Requested
11 CANCEL_DATE Date(10) DATE Cancel Date
12 SCHED_DTTM DateTime(26) TIMESTAMP 08/16/01 JNW (CN#PL900-1.0): Added
13 SHIP_EARLY_DTTM DateTime(26) TIMESTAMP Earliest Ship Date/Time
14 SHIP_DTTM DateTime(26) TIMESTAMP Ship Date/Time
15 SCHED_ARRV_DTTM DateTime(26) TIMESTAMP Schedule Arrival Dt/Tm
16 PICK_DATE Date(10) DATE Picked Date
17 PICK_CONFIRM_DTTM DateTime(26) TIMESTAMP Pick Confirm Date/Time
18 RESERVED_DATE Date(10) DATE Date on which a demand line was soft reserved.
19 PICKLIST_PRINTED Character(1) VARCHAR2(1) NOT NULL Picklist Printed
20 PICK_BATCH_ID Number(10,0) DECIMAL(10) NOT NULL Pick Batch ID
21 DEPLETED_DATE Date(10) DATE Date on which a shipped demand line was depleted from on-hand inventory quantity balances.
22 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.
23 SHIP_CUST_NAME1 Character(40) VARCHAR2(40) NOT NULL Ship To Name
24 ORIG_OPRID Character(30) VARCHAR2(30) NOT NULL User ID
25 QTY_PARENT_ORD Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Requested Parent Order
26 QTY_REQUESTED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Requested
27 QTY_REQUESTED_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Requested Base
28 QTY_ALLOCATED Signed Number(17,4) DECIMAL(15,4) NOT NULL Allocated quantity
29 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.
30 QTY_PICKED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Picked
31 QTY_SHIPPED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Shipped
32 QTY_SHIPPED_CONV Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Shipped
33 QTY_SHIP_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Ship Base
34 QTY_BACKORDER Signed Number(17,4) DECIMAL(15,4) NOT NULL Backorder Qty
35 CONFIRMED_FLAG Character(1) VARCHAR2(1) NOT NULL Confirm

Y/N Table Edit

36 APPROVED_FLAG Character(1) VARCHAR2(1) NOT NULL Approved
B=Both
N=No
Y=Yes

Y/N Table Edit

37 LOT_ALLOC_FLG Character(1) VARCHAR2(1) NOT NULL Allow Lot Allocation
38 HARD_ALLOC_FLAG Character(1) VARCHAR2(1) NOT NULL Hard Allocate
39 UNIT_MEASURE_SHIP Character(3) VARCHAR2(3) NOT NULL Shipment Unit of Measure
40 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
41 DESTIN_GL_BU Character(5) VARCHAR2(5) NOT NULL Destination GL Business Unit
42 DESTIN_BU Character(5) VARCHAR2(5) NOT NULL Destination Unit
43 SHIP_TYPE_ID Character(10) VARCHAR2(10) NOT NULL Ship Via Code

Prompt Table: SHIP_METHOD

44 SHIP_ID Character(10) VARCHAR2(10) NOT NULL Shipping ID
45 TRANSFER_YIELD Number(5,1) DECIMAL(4,1) NOT NULL Transfer Yield
46 INTERUNIT_FLG Character(1) VARCHAR2(1) NOT NULL InterUnit
N=No
Y=Yes
47 INTERUNIT_ID Character(10) VARCHAR2(10) NOT NULL InterUnit Order ID
48 INTERUNIT_LINE Number(5,0) INTEGER NOT NULL InterUnit Order Line
49 INTERUNIT_STAT Character(1) VARCHAR2(1) NOT NULL InterUnit Status
C=Cancelled
I=In-Transit
O=Open
P=Picked
R=Received
50 TRANSFER_COST Signed Number(16,4) DECIMAL(14,4) NOT NULL Transfer Price
51 TOTAL_COST Signed Number(16,4) DECIMAL(14,4) NOT NULL Total Cost
52 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
53 PRICE_MARKUP_PCT Signed Number(16,2) DECIMAL(14,2) NOT NULL Price Markup %
54 CONFIG_CODE Character(50) VARCHAR2(50) NOT NULL Product Configurator
55 SHIP_PRIOR_FLG Character(1) VARCHAR2(1) NOT NULL Ship Prior to Sched Date
56 PARTIAL_ORDER_FLAG Character(1) VARCHAR2(1) NOT NULL Partial Orders Can Ship
N=No
Y=Yes
57 PARTIAL_QTY_FLAG Character(1) VARCHAR2(1) NOT NULL Partial Qtys Can Ship
58 BCKORDR_CNCL_FLAG Character(1) VARCHAR2(1) NOT NULL Cancel Backorder
N=Cancel Backorder No
Y=Cancel Backorder Yes
59 BCKORDER_FLAG Character(1) VARCHAR2(1) NOT NULL Backorder Flag
N=No
Y=Yes

Y/N Table Edit

60 BACKORDER_CREATED Character(1) VARCHAR2(1) NOT NULL Backorder Created Flag

Y/N Table Edit

61 HOLD_FLAG Character(1) VARCHAR2(1) NOT NULL Hold
N=Hold
Y=Hold

Y/N Table Edit

62 HOLD_CD Character(6) VARCHAR2(6) NOT NULL Hold Code

Prompt Table: HOLD_CD

63 EXPORT Character(1) VARCHAR2(1) NOT NULL Export Analytic Instance
N=No
Y=Yes

Y/N Table Edit

64 EXT_REF_NBR Number(10,0) DECIMAL(10) NOT NULL External Reference Number
65 BILL_OF_LADING Character(30) VARCHAR2(30) NOT NULL Specifies a bill of lading number associated with a Receivables item.
66 EXT_REF_LN_NBR Number(5,0) INTEGER NOT NULL External Reference Line Number
67 CARRIER_ID Character(10) VARCHAR2(10) NOT NULL Carrier ID
68 TMS_EXT_REF_ID Character(10) VARCHAR2(10) NOT NULL TMS Reference ID
69 TMS_EXT_REF_LN_NBR Number(7,0) INTEGER NOT NULL TMS Line Number
70 IN_LINE_BO_RULE Character(10) VARCHAR2(10) NOT NULL Line Backorder Rule
71 IN_LN_RESV_BO_RULE Character(10) VARCHAR2(10) NOT NULL Line Reservation - Backorder
72 IN_LINE_RESV_RULE Character(10) VARCHAR2(10) NOT NULL Line Reservation Rule
73 IN_ORDER_RESV_RULE Character(10) VARCHAR2(10) NOT NULL Order Reservation Rule
74 INV_COMMENT_TYPE Character(3) VARCHAR2(3) NOT NULL Inventory Comment Type
EPR=Export Proforma
HDR=Header
LIN=Line
75 DESCR254 Character(254) VARCHAR2(254) NOT NULL Description of length 254
76 PEG_STATUS Character(2) VARCHAR2(2) NOT NULL 07/21/04 EGS: Created
10=Open
20=Completed
30=Canceled
40=Not Pegged
77 SUP_PEG_STATUS Character(2) VARCHAR2(2) NOT NULL 07/21/04 EGS: Created
10=Open
20=Completed
30=Canceled
40=Unpegged
78 QTY_PEGGED Signed Number(17,4) DECIMAL(15,4) NOT NULL 06/16/04 EGS: Created.
79 RESERVE_STATUS Character(2) VARCHAR2(2) NOT NULL Reservation Status
10=Pending
11=Unreserved
12=Shortage, Rules Not Met
15=Reserved, Rules Not Met
21=Shortage, Line Rule Met
22=Reserved, Line Rule Met
31=Shortage, All Rules Met
32=Reserved, All Rules Met
40=Reserve Run
99=Invalid
80 RESERVED_DTTM DateTime(26) TIMESTAMP Reserved Date/Time
81 PICK_DTTM DateTime(26) TIMESTAMP Picked Date/Time
82 DEPLETED_DTTM DateTime(26) TIMESTAMP Dttm Demand Line was Depleted
83 CANCEL_DTTM DateTime(26) TIMESTAMP Dttm demand line was canceled
84 DTTM_PHY DateTime(26) TIMESTAMP Data Time Stamp - Old
85 QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity
86 QTY_ALLOC_DISP Character(1) VARCHAR2(1) NOT NULL Display total allocated qty
87 IN_ZERO_PICKED_FLG Character(1) VARCHAR2(1) NOT NULL Zero Picked
88 QTY_PROMISED_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Promised Base
89 QTY_RELEASED Signed Number(17,4) DECIMAL(15,4) NOT NULL Planned Released Qty
90 PARENT_PROD_ID Character(18) VARCHAR2(18) NOT NULL Parent Product Id
91 IN_DEFER_DEPLETION Character(1) VARCHAR2(1) NOT NULL Defer Depletions

Y/N Table Edit

92 DELIVERY_ID Character(10) VARCHAR2(10) NOT NULL Delivery ID
93 TRANSFER_CALC_TYPE Character(1) VARCHAR2(1) NOT NULL Holds information regarding when the transfer price is calculated.
0=Calculate Cost at Depletions
1=Transfer at Zero Cost