INV_DPI_VW

(SQL View)
Index Back

Demand Picking Locations


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.SEQ_NBR , A.INV_LOT_ID , A.SERIAL_ID , A.STORAGE_AREA , A.STOR_LEVEL_1 , A.STOR_LEVEL_2 , A.STOR_LEVEL_3 , A.STOR_LEVEL_4 , A.CONTAINER_ID , A.STAGED_DATE , A.QTY_PICKED_CONV , A.QTY_BASE , A.UNIT_MEASURE_PICK , B.PICK_BATCH_ID , B.PICKLIST_LINE_NO , A.ALLOCATE_SOURCE , B.INTERUNIT_FLG , ' ' , ' ' , ' ' , ' ' , ' ' , 0 , 0 , '1' FROM PS_DEMAND_PHYS_INV A , PS_IN_DEMAND B WHERE B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.DEMAND_SOURCE = A.DEMAND_SOURCE AND B.SOURCE_BUS_UNIT = A.SOURCE_BUS_UNIT AND B.ORDER_NO = A.ORDER_NO AND B.ORDER_INT_LINE_NO = A.ORDER_INT_LINE_NO AND B.SCHED_LINE_NBR = A.SCHED_LINE_NBR AND B.INV_ITEM_ID = A.INV_ITEM_ID AND B.DEMAND_LINE_NO = A.DEMAND_LINE_NO AND B.HARD_ALLOC_FLAG = 'Y' AND (B.IN_FULFILL_STATE IN ('20', '30', '40') OR A.DEMAND_SOURCE = 'WM')

# 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 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
10 INV_LOT_ID Character(15) VARCHAR2(15) NOT NULL Lot ID
11 SERIAL_ID Character(20) VARCHAR2(20) NOT NULL Serial ID
12 STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area
13 STOR_LEVEL_1 Character(4) VARCHAR2(4) NOT NULL Storage Level 1
14 STOR_LEVEL_2 Character(4) VARCHAR2(4) NOT NULL Storage Level 2
15 STOR_LEVEL_3 Character(4) VARCHAR2(4) NOT NULL Storage Level 3
16 STOR_LEVEL_4 Character(4) VARCHAR2(4) NOT NULL Storage Level 4
17 CONTAINER_ID Character(10) VARCHAR2(10) NOT NULL Container ID
18 STAGED_DATE Date(10) DATE Staged Date
19 QTY_PICKED_CONV Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Picked in Phys Loc UOM
20 QTY_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Base Quantity
21 UNIT_MEASURE_PICK Character(3) VARCHAR2(3) NOT NULL Phys Location Unit of Measure
22 PICK_BATCH_ID Number(10,0) DECIMAL(10) NOT NULL Pick Batch ID
23 PICKLIST_LINE_NO Number(7,0) INTEGER NOT NULL Pick List Sorting Line Number
24 ALLOCATE_SOURCE Character(2) VARCHAR2(2) NOT NULL Allocation Source - Why was the allocation created
LT=Lot Allocation
PR=Pre-allocation
SA=Standard Allocation
25 INTERUNIT_FLG Character(1) VARCHAR2(1) NOT NULL InterUnit
N=No
Y=Yes
26 TO_STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area
27 TO_STOR_LEVEL_1 Character(4) VARCHAR2(4) NOT NULL Storage Level 1
28 TO_STOR_LEVEL_2 Character(4) VARCHAR2(4) NOT NULL Storage Level 2
29 TO_STOR_LEVEL_3 Character(4) VARCHAR2(4) NOT NULL Storage Level 3
30 TO_STOR_LEVEL_4 Character(4) VARCHAR2(4) NOT NULL Storage Level 4
31 QTY_COMPLETE Number(16,4) DECIMAL(15,4) NOT NULL Quantity Complete
32 QTY_PEGGED Signed Number(17,4) DECIMAL(15,4) NOT NULL 06/16/04 EGS: Created.
33 ORIGIN Character(3) VARCHAR2(3) NOT NULL Origin