DMND_LOT_INV_VW(SQL View) |
Index Back |
---|---|
Lot ID View |
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 , A.CONTAINER_ID , A.STAGED_DATE , A.INV_LOT_ID , B.DESCR , B.AVAIL_DATE , B.EXPIRATION_DATE FROM PS_PHYSICAL_INV A , PS_LOT_CONTROL_INV B WHERE A.INV_LOT_ID <> ' ' AND A.QTY > 0 AND (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.INV_LOT_ID = B.INV_LOT_ID |
# | 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 | STORAGE_AREA | Character(5) | VARCHAR2(5) NOT NULL | Storage Area |
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 |
8 | CONTAINER_ID | Character(10) | VARCHAR2(10) NOT NULL | Container ID |
9 | STAGED_DATE | Date(10) | DATE | Staged Date |
10 | INV_LOT_ID | Character(15) | VARCHAR2(15) NOT NULL | Lot ID |
11 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
12 | AVAIL_DATE | Date(10) | DATE | Availability Date |
13 | EXPIRATION_DATE | Date(10) | DATE | Expiration Date |