MIN_SER_INV_VW3(SQL View) |
Index Back |
---|---|
Serial Id Physical View05/2/13: Copied SERIAL_INV_VW3 and then added fields STORAGE_AREA,STOR_LEVEL_1, STOR_LEVEL_2, STOR_LEVEL_3, STOR_LEVEL_4 and INV_LOT _ID to create this record view for Mobile Inventory Express Issue to retrieve default storage location for serial items when BU allows negative inventory. |
SELECT DISTINCT A.BUSINESS_UNIT , A.INV_ITEM_ID , A.SERIAL_ID , A.STORAGE_AREA , A.STOR_LEVEL_1 , A.STOR_LEVEL_2 , A.STOR_LEVEL_3 , A.STOR_LEVEL_4 , A.INV_LOT_ID FROM PS_PHYSICAL_INV A , PS_INSTALLATION_IN B WHERE A.SERIAL_ID <> B.DFLT_SERIAL_ID AND A.AVAIL_STATUS <> '3' AND A.AVAIL_STATUS <> '4' AND A.QTY > 0 AND A.QTY_RESERVED < 2 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
3 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | Serial ID |
4 | STORAGE_AREA | Character(5) | VARCHAR2(5) NOT NULL | Storage Area |
5 | STOR_LEVEL_1 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 1 |
6 | STOR_LEVEL_2 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 2 |
7 | STOR_LEVEL_3 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 3 |
8 | STOR_LEVEL_4 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 4 |
9 | INV_LOT_ID | Character(15) | VARCHAR2(15) NOT NULL | Lot ID |