INV_DPI_MIN_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 , A.QTY_PICKED_CONV , A.UNIT_MEASURE_PICK , A.QTY_BASE , A.REPRINT_SORTER , A.PICK_BATCH_ID , A.DISTRIB_TYPE , A.NON_OWN_FLAG , A.AVAIL_STATUS , A.TRANSFER_YIELD , A.PICK_DATE , A.QTY_SHIPPED , A.QTY_SHIPPED_CONV , A.QTY_SHIP_BASE , A.LAST_QTY_SHIP , A.LAST_QTY_SHIP_BASE , A.PROCESS_INSTANCE , A.ZERO_SHIPPED_FLAG , A.DT_TIMESTAMP , A.RELEASE_INSTANCE , A.IN_PICK_RULE , A.IN_PICK_RULE_DTL , A.ALLOCATE_SOURCE FROM PS_DEMAND_PHYS_INV A WHERE A.SEQ_NBR = ( SELECT MIN(B.SEQ_NBR) FROM PS_DEMAND_PHYS_INV 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.ALLOCATE_SOURCE = A.ALLOCATE_SOURCE)

# 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

Default Value: DEMAND_PICK_VW.INV_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

Prompt Table: %EDITTABLE

11 SERIAL_ID Character(20) VARCHAR2(20) NOT NULL Serial ID

Prompt Table: %EDITTABLE7

12 STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area

Prompt Table: %EDITTABLE2

13 STOR_LEVEL_1 Character(4) VARCHAR2(4) NOT NULL Storage Level 1

Prompt Table: %EDITTABLE3

14 STOR_LEVEL_2 Character(4) VARCHAR2(4) NOT NULL Storage Level 2

Prompt Table: %EDITTABLE4

15 STOR_LEVEL_3 Character(4) VARCHAR2(4) NOT NULL Storage Level 3

Prompt Table: %EDITTABLE5

16 STOR_LEVEL_4 Character(4) VARCHAR2(4) NOT NULL Storage Level 4

Prompt Table: %EDITTABLE6

17 CONTAINER_ID Character(10) VARCHAR2(10) NOT NULL Container ID

Prompt Table: %EDITTABLE8

18 STAGED_DATE Date(10) DATE Staged Date

Prompt Table: %EDITTABLE9

19 QTY_PICKED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Picked
20 QTY_PICKED_CONV Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Picked in Phys Loc UOM
21 UNIT_MEASURE_PICK Character(3) VARCHAR2(3) NOT NULL Phys Location Unit of Measure

Prompt Table: %EDITTABLE10

22 QTY_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Base Quantity
23 REPRINT_SORTER Number(10,0) DECIMAL(10) NOT NULL Reprint Sort Order
24 PICK_BATCH_ID Number(10,0) DECIMAL(10) NOT NULL Pick Batch ID
25 DISTRIB_TYPE Character(10) VARCHAR2(10) NOT NULL Distrib. Type

Prompt Table: CM_DISTR_TYPE

26 NON_OWN_FLAG Character(1) VARCHAR2(1) NOT NULL 07/30/1998 WHS CN#ENH8.0: Created Translate Values 'Y'es and 'N'o
N=No
Y=Yes

Y/N Table Edit

Default Value: N

27 AVAIL_STATUS Character(1) VARCHAR2(1) NOT NULL Availability Status
1=Open
2=Restricted
3=Hold
4=Rejected

Default Value: 1

28 TRANSFER_YIELD Number(5,1) DECIMAL(4,1) NOT NULL Transfer Yield
29 PICK_DATE Date(10) DATE Picked Date

Default Value: %date

30 QTY_SHIPPED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Shipped
31 QTY_SHIPPED_CONV Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Shipped
32 QTY_SHIP_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Ship Base
33 LAST_QTY_SHIP Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity Last Shipped
34 LAST_QTY_SHIP_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Used to save the last value of quantity shipped from the Shipping Issues Panel in Standard UOM at the DEMAND_PHYS_INV and SHIP_INF_INV level. Default to the quantity picked from the Express Issues Panel or for cases where auto ship equals 'Y'.
35 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
36 ZERO_SHIPPED_FLAG Character(1) VARCHAR2(1) NOT NULL Zero Shipped

Y/N Table Edit

Default Value: N

37 DT_TIMESTAMP DateTime(26) TIMESTAMP Date Timestamp

Default Value: %datetime

38 RELEASE_INSTANCE Number(10,0) DECIMAL(10) NOT NULL 08/2004 rcw: Order Release Instance
39 IN_PICK_RULE Character(3) VARCHAR2(3) NOT NULL Picking Rule Used

Default Value: 00

40 IN_PICK_RULE_DTL Character(2) VARCHAR2(2) NOT NULL Pick Rule Detail
00=Not Applicable
01=By UOM, In Location
02=By UOM, In Zone, out of Loc
03=By UOM, Remaining Locations
04=Diff UOM, In Location
05=Diff UOM, In Zone
06=Diff UOM, Remaining Locations
07=Any UOM, In Location
08=Any UOM, In Zone
09=Any UOM, Remaining Locations
10=In Zone
11=Out of Zone

Default Value: 00

41 ALLOCATE_SOURCE Character(2) VARCHAR2(2) NOT NULL Allocation Source - Why was the allocation created
LT=Lot Allocation
PR=Pre-allocation
SA=Standard Allocation

Default Value: SA