MIN_SER_PHY_VW

(SQL View)
Index Back

Serial Id Physical View

05/2/13: Copied SERIAL_PHYS_VW and then added fields STORAGE_AREA, STOR_LEVEL_1, STOR_LEVEL_2, STOR_LEVEL_3, STOR_LEVEL_4 and INV_LOT _ID to create this record view for Mobile Inventory Express Issue to retrieve default storage location for serial items when BU does not allow negative inventory.

SELECT DISTINCT A.BUSINESS_UNIT , A.INV_ITEM_ID , A.SERIAL_ID , A.STORAGE_AREA , A.STOR_LEVEL_1 , A.STOR_LEVEL_2 , A.STOR_LEVEL_3 , A.STOR_LEVEL_4 , A.INV_LOT_ID , A.UNIT_OF_MEASURE , A.CONTAINER_ID , A.QTY , A.QTY_RESERVED FROM PS_PHYSICAL_INV A , PS_INSTALLATION_IN B WHERE A.SERIAL_ID <> B.DFLT_SERIAL_ID AND A.QTY > 0 AND A.AVAIL_STATUS <> '3' AND A.AVAIL_STATUS <> '4'

# 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 SERIAL_ID Character(20) VARCHAR2(20) NOT NULL Serial ID
4 STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area
5 STOR_LEVEL_1 Character(4) VARCHAR2(4) NOT NULL Storage Level 1
6 STOR_LEVEL_2 Character(4) VARCHAR2(4) NOT NULL Storage Level 2
7 STOR_LEVEL_3 Character(4) VARCHAR2(4) NOT NULL Storage Level 3
8 STOR_LEVEL_4 Character(4) VARCHAR2(4) NOT NULL Storage Level 4
9 INV_LOT_ID Character(15) VARCHAR2(15) NOT NULL Lot ID
10 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
11 CONTAINER_ID Character(10) VARCHAR2(10) NOT NULL Container ID
12 QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity
13 QTY_RESERVED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Reserved