STOR_AR_PH1_VW3

(SQL View)
Index Back

Storage Area Phys Prompt - Vw

Cloned STOR_AR_PHY_VW and modified SQL

SELECT DISTINCT A.business_unit , A.inv_item_id , A.storage_area FROM ps_physical_inv A , PS_FXD_BIN_LOC_INV B WHERE (A.avail_status = '1' OR A.avail_status = '2') AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.UNIT_OF_MEASURE = B.UNIT_OF_MEASURE AND EXISTS ( SELECT 'X' FROM ps_stor_loc_inv WHERE A.business_unit = ps_stor_loc_inv.business_unit AND A.storage_area = ps_stor_loc_inv.storage_area)

# 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