MIN_STOR_PH_VW3

(SQL View)
Index Back

Storage Lev 4 Phys Prompt - Vw


SELECT DISTINCT business_unit , inv_item_id , storage_area , stor_level_1 , stor_level_2 , stor_level_3 , stor_level_4 , unit_of_measure , CONTAINER_ID , QTY , QTY_RESERVED FROM ps_physical_inv WHERE (avail_status = '1' OR avail_status = '2') AND EXISTS ( SELECT 'x' FROM PS_STOR_LOC_INV WHERE ps_physical_inv.business_unit = PS_STOR_LOC_INV.business_unit AND ps_physical_inv.storage_area = PS_STOR_LOC_INV.storage_area AND ps_physical_inv.stor_level_1 = PS_STOR_LOC_INV.stor_level_1 AND ps_physical_inv.stor_level_2 = PS_STOR_LOC_INV.stor_level_2 AND ps_physical_inv.stor_level_3 = PS_STOR_LOC_INV.stor_level_3 AND ps_physical_inv.stor_level_4 = PS_STOR_LOC_INV.stor_level_4)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: STOR_LOC_INV

2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
3 STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area

Prompt Table: STOR_LOC_INV

4 STOR_LEVEL_1 Character(4) VARCHAR2(4) NOT NULL Storage Level 1
5 STOR_LEVEL_2 Character(4) VARCHAR2(4) NOT NULL Storage Level 2
6 STOR_LEVEL_3 Character(4) VARCHAR2(4) NOT NULL Storage Level 3
7 STOR_LEVEL_4 Character(4) VARCHAR2(4) NOT NULL Storage Level 4
8 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
9 CONTAINER_ID Character(10) VARCHAR2(10) NOT NULL Container ID
10 QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity
11 QTY_RESERVED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Reserved