ORD_LOT_INV_VW(SQL View) |
Index Back |
---|---|
Lot Allocation TableLot Allocation Table Date Init. Issue # Description 051304 dms F-KNANN-V59N4 Replace sched_line_no |
SELECT business_unit , demand_source , source_bus_unit , order_no , order_int_line_no , sched_line_nbr , inv_item_id , 1 , inv_lot_id , SUM(qty_alloc_base) , SUM(qty_pick_base) , MAX(dt_timestamp) , MAX(oprid) FROM PS_LOT_ALLOC_INV GROUP BY business_unit , demand_source , source_bus_unit , order_no , order_int_line_no , sched_line_nbr , inv_item_id , inv_lot_id |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT_IN | Character(5) | VARCHAR2(5) NOT NULL | Inventory 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 | QTY_ALLOC_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity allocation |
11 | QTY_PICK_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Pick Base |
12 | DT_TIMESTAMP | DateTime(26) | TIMESTAMP | Date Timestamp |
13 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |