LOT_INQ_INV_VW(SQL View) |
Index Back |
---|---|
Inventory Lot Inquiry View |
SELECT A.BUSINESS_UNIT , A.INV_ITEM_ID , A.INV_LOT_ID , A.STAGED_DATE , A.STORAGE_AREA , A.STOR_LEVEL_1 , A.STOR_LEVEL_2 , A.STOR_LEVEL_3 , A.STOR_LEVEL_4 , A.CONTAINER_ID , A.SERIAL_ID , A.UNIT_OF_MEASURE , A.LAST_TRANSACT_TYPE , A.LAST_ISSUE_DATE , A.QTY_BASE , A.QTY_RESERVED_BASE , A.QTY , A.QTY_RESERVED , A.QTY - A.QTY_RESERVED , A.QTY_BASE - A.QTY_RESERVED_BASE , A.AVAIL_STATUS FROM PS_PHYSICAL_INV A WHERE NOT (QTY = 0 AND QTY_RESERVED = 0) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BUIN_NONVW |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: BU_ITM_INV_VW |
3 | INV_LOT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Lot ID
Prompt Table: LOT_CONTROL_INV |
4 | STAGED_DATE | Date(10) | DATE | Staged Date |
5 | STORAGE_AREA | Character(5) | VARCHAR2(5) NOT NULL | Storage Area |
6 | STOR_LEVEL_1 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 1 |
7 | STOR_LEVEL_2 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 2 |
8 | STOR_LEVEL_3 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 3 |
9 | STOR_LEVEL_4 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 4 |
10 | CONTAINER_ID | Character(10) | VARCHAR2(10) NOT NULL | Container ID |
11 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | Serial ID |
12 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
13 | LAST_TRANSACT_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Last Transaction |
14 | LAST_ISSUE_DATE | Date(10) | DATE | Last Issue Date |
15 | QTY_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Base Quantity |
16 | QTY_RESERVED_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity Reserved Base |
17 | QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity |
18 | QTY_RESERVED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Reserved |
19 | QTY_AVAIL | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity Available |
20 | QTY_AVAIL_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Available Std |
21 | AVAIL_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Availability Status
1=Open 2=Restricted 3=Hold 4=Rejected |