SF_PHYINL4_VW(SQL View) |
Index Back |
|---|---|
Physical Inv Lev 4 Prompt VW |
| select distinct a.business_unit ,a.inv_lot_id ,a.inv_item_id ,a.storage_area ,a.stor_level_1 ,a.stor_level_2 ,a.stor_level_3 ,a.stor_level_4 ,a.qty ,a.qty_reserved ,a.qty_base ,a.qty_reserved_base 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 a.qty - a.qty_reserved > 0 and a.container_id = ' ' and (a.avail_status = '1' or a.avail_status = '2') and b.suspend_flg = 'N' and b.phys_cyc_inv_flg = 'N' and b.non_own_flag = 'N' |
| # | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
|---|---|---|---|---|
| 1 | Character(5) | VARCHAR2(5) NOT NULL | Business Unit | |
| 2 | Character(15) | VARCHAR2(15) NOT NULL | Lot ID | |
| 3 | Character(18) | VARCHAR2(18) NOT NULL | Item ID | |
| 4 | Character(5) | VARCHAR2(5) NOT NULL | Storage Area | |
| 5 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 1 | |
| 6 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 2 | |
| 7 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 3 | |
| 8 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 4 | |
| 9 | QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity |
| 10 | QTY_RESERVED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Reserved |
| 11 | QTY_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Base Quantity |
| 12 | QTY_RESERVED_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity Reserved Base |