CNTR_PHYSINV_VW

(SQL View)
Index Back

Container Id. and Physical Inv


select phy.business_unit , phy.inv_item_id , phy.inv_lot_id , phy.serial_id , phy.container_id , phy.staged_date , phy.reason_cd , phy.qty , phy.qty_base , phy.qty_reserved , phy.qty_reserved_base , phy.unit_of_measure , phy.qty - phy.qty_reserved , phy.qty_base - qty_reserved_base , phy.storage_area , phy.stor_level_1 , phy.stor_level_2 , phy.stor_level_3 , phy.stor_level_4 , cnt.container_type , cnt.stock_type from ps_physical_inv phy, PS_CNTR_ID_INV cnt where phy.container_id = cnt.container_id and phy.business_unit = cnt.business_unit and phy.qty - phy.qty_reserved <> 0

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
3 INV_LOT_ID Character(15) VARCHAR2(15) NOT NULL Lot ID
4 SERIAL_ID Character(20) VARCHAR2(20) NOT NULL Serial ID
5 CONTAINER_ID Character(10) VARCHAR2(10) NOT NULL Container ID
6 STAGED_DATE Date(10) DATE Staged Date
7 REASON_CD Character(10) VARCHAR2(10) NOT NULL Reason Code
8 QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity
9 QTY_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Base Quantity
10 QTY_RESERVED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Reserved
11 QTY_RESERVED_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity Reserved Base
12 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
13 QTY_AVAIL Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity Available
14 QTY_AVAIL_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Available Std
15 STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area
16 STOR_LEVEL_1 Character(4) VARCHAR2(4) NOT NULL Storage Level 1
17 STOR_LEVEL_2 Character(4) VARCHAR2(4) NOT NULL Storage Level 2
18 STOR_LEVEL_3 Character(4) VARCHAR2(4) NOT NULL Storage Level 3
19 STOR_LEVEL_4 Character(4) VARCHAR2(4) NOT NULL Storage Level 4
20 CONTAINER_TYPE Character(4) VARCHAR2(4) NOT NULL Container Type
21 STOCK_TYPE Character(1) VARCHAR2(1) NOT NULL Stock Type
F=Finished
R=Raw Mtrl
W=WIP