MG_NOWN2_LV4_VW(SQL View) |
Index Back |
---|---|
Storage Lev4 Non-Owned View*********************************************************************************** * IF YOU CHANGE THIS AREA VIEW, YOU MUST CHANGE ALL * * CORRESPONDING STORAGE LEVEL VIEWS. This is so that the * * Storage Location Popup enhancement will still work!!! * *********************************************************************************** 02/01/1999 whs (CN#SF800-4.0) Do not allow viewing of storage area's marked for deletion. 11/1/99 mmt - Added component_id so we do not view locations with no physical_inv rows for the given component. |
SELECT DISTINCT a.business_unit , a.inv_item_id , a.storage_area , a.stor_level_1 , a.stor_level_2 , a.stor_level_3 , a.stor_level_4 FROM ps_physical_inv a , PS_STOR_LOC_INV b WHERE a.business_unit = b.business_unit AND a.storage_area = b.storage_area AND a.stor_level_1 = b.stor_level_1 AND a.stor_level_2 = b.stor_level_2 AND a.stor_level_3 = b.stor_level_3 AND a.stor_level_4 = b.stor_level_4 AND b.non_own_flag = 'Y' AND (a.avail_status = '1' OR a.avail_status = '2') AND b.delete_storloc_flg = 'N' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | COMPONENT_ID | Character(18) | VARCHAR2(18) NOT NULL | 04/10/00 (Internet Architecture) SCC: Uppercase label 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 |