DEMAND_PHYS_VW1

(SQL View)
Index Back

DEMAND_PHYS_INV View

Used for updating STAGED_ITEMS_INV. Replaced DEMAND_PO_VW in 7.5. /* mmt 05/18/04 Sched_line_no becomes sched_line_nbr - data model change */

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_CONV , A.LAST_QTY_SHIP_BASE , A.PROCESS_INSTANCE , A.DT_TIMESTAMP , A.QTY_SHIP_BASE , A.QTY_SHIPPED , A.LAST_QTY_SHIP , A.ZERO_SHIPPED_FLAG , A.RELEASE_INSTANCE , A.IN_PICK_RULE , A.IN_PICK_RULE_DTL , A.ALLOCATE_SOURCE FROM PS_DEMAND_PHYS_INV A

# 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

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

27 AVAIL_STATUS Character(1) VARCHAR2(1) NOT NULL Availability Status
1=Open
2=Restricted
3=Hold
4=Rejected
28 TRANSFER_YIELD Number(5,1) DECIMAL(4,1) NOT NULL Transfer Yield
29 PICK_DATE Date(10) DATE Picked Date
30 QTY_SHIPPED_CONV Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Shipped
31 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'.
32 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
33 DT_TIMESTAMP DateTime(26) TIMESTAMP Date Timestamp
34 QTY_SHIP_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Ship Base
35 QTY_SHIPPED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Shipped
36 LAST_QTY_SHIP Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity Last Shipped
37 ZERO_SHIPPED_FLAG Character(1) VARCHAR2(1) NOT NULL Zero Shipped

Y/N Table Edit

Default Value: N

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: 999

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