DMD_LOT_CFG_VW2(SQL View) |
Index Back |
---|---|
Lot ID w/Config Code ViewView of PHYSICAL_INV used in Feedback with no QTY check for when negatives are allowed. |
SELECT DISTINCT A.BUSINESS_UNIT , A.INV_ITEM_ID , B.CONFIG_CODE , 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.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.INV_LOT_ID = B.INV_LOT_ID AND A.INV_LOT_ID <> ' ' AND (A.AVAIL_STATUS = '1' OR A.AVAIL_STATUS = '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 | CONFIG_CODE | Character(50) | VARCHAR2(50) NOT NULL | Product Configurator |
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 | CONTAINER_ID | Character(10) | VARCHAR2(10) NOT NULL | Container ID |
10 | STAGED_DATE | Date(10) | DATE | Staged Date |
11 | INV_LOT_ID | Character(15) | VARCHAR2(15) NOT NULL | Lot ID |
12 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
13 | AVAIL_DATE | Date(10) | DATE | Availability Date |
14 | EXPIRATION_DATE | Date(10) | DATE | Expiration Date |