STG_ITM_LOC_VW(SQL View) |
Index Back |
---|---|
Inventory Staged Items View |
SELECT a.business_unit , a.staging_id , a.inv_item_id , SUM(%Round(%DecMult(a.qty, b.conversion_rate), 4)) , a.storage_area , a.stor_level_1 , a.stor_level_2 , a.stor_level_3 , a.stor_level_4 FROM PS_STAGED_ITEM_INV a , ps_inv_item_uom b WHERE a.putaway_status = '1' AND a.process_flag = 'N' AND b.inv_item_id = a.inv_item_id AND b.unit_of_measure = a.unit_of_measure AND b.setid IN ( SELECT setid FROM ps_set_cntrl_rec WHERE setcntrlvalue = a.business_unit AND recname = 'MASTER_ITEM_TBL') GROUP BY a.business_unit, a.staging_id, a.inv_item_id , a.storage_area , a.stor_level_1 , a.stor_level_2 , a.stor_level_3 , a.stor_level_4 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | STAGING_ID | Number(15,0) | DECIMAL(15) NOT NULL | Putaway Staging ID |
3 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
4 | QTY_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Base Quantity |
5 | STORAGE_AREA | Character(5) | VARCHAR2(5) NOT NULL |
Storage Area
Prompt Table: %EDITTABLE |
6 | STOR_LEVEL_1 | Character(4) | VARCHAR2(4) NOT NULL |
Storage Level 1
Prompt Table: %EDITTABLE2 |
7 | STOR_LEVEL_2 | Character(4) | VARCHAR2(4) NOT NULL |
Storage Level 2
Prompt Table: %EDITTABLE3 |
8 | STOR_LEVEL_3 | Character(4) | VARCHAR2(4) NOT NULL |
Storage Level 3
Prompt Table: %EDITTABLE4 |
9 | STOR_LEVEL_4 | Character(4) | VARCHAR2(4) NOT NULL |
Storage Level 4
Prompt Table: %EDITTABLE5 |