LOT_ALLC_INV_VW

(SQL View)
Index Back

Lot Allocation Table View

/* 06/08/04 pwf Change reference from sched_line_no to sched_line_nbr */

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 , a.inv_lot_id , b.descr , b.qty_available , a.qty_alloc_base , b.avail_date , b.expiration_date FROM ps_lot_alloc_inv a , PS_LOT_CONTROL_INV b WHERE a.business_unit = b.business_unit AND a.inv_item_id = b.inv_item_id AND a.inv_lot_id = b.inv_lot_id

# 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 INV_LOT_ID Character(15) VARCHAR2(15) NOT NULL Lot ID
10 DESCR Character(30) VARCHAR2(30) NOT NULL Description
11 QTY_AVAILABLE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Available
12 QTY_ALLOCATED Signed Number(17,4) DECIMAL(15,4) NOT NULL Allocated quantity
13 AVAIL_DATE Date(10) DATE Availability Date
14 EXPIRATION_DATE Date(10) DATE Expiration Date