PTWY_INQ_INV_VW(SQL View) |
Index Back |
---|---|
Putaway Staging History View |
SELECT A.BUSINESS_UNIT , A.INV_ITEM_ID , A.STAGED_DATE , A.INV_LOT_ID , A.SERIAL_ID , A.STORAGE_AREA , A.STOR_LEVEL_1 , A.STOR_LEVEL_2 , A.STOR_LEVEL_3 , A.STOR_LEVEL_4 , A.CONTAINER_ID , A.UNIT_OF_MEASURE , A.LAST_TRANSACT_TYPE , A.LAST_ISSUE_DATE , A.QTY , A.QTY_RESERVED , A.QTY - A.QTY_RESERVED , 0.0 , A.AVAIL_STATUS , B.NETTABLE_FLG , B.NON_OWN_FLAG FROM PS_PHYSICAL_INV A , PS_STOR_LOC_INV B WHERE NOT (A.QTY = 0 AND A.QTY_RESERVED = 0) AND 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 |
# | 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 | STAGED_DATE | Date(10) | DATE | Staged Date |
4 | INV_LOT_ID | Character(15) | VARCHAR2(15) NOT NULL | Lot ID |
5 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | Serial ID |
6 | STORAGE_AREA | Character(5) | VARCHAR2(5) NOT NULL | Storage Area |
7 | STOR_LEVEL_1 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 1 |
8 | STOR_LEVEL_2 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 2 |
9 | STOR_LEVEL_3 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 3 |
10 | STOR_LEVEL_4 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 4 |
11 | CONTAINER_ID | Character(10) | VARCHAR2(10) NOT NULL | Container 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 | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity |
16 | QTY_RESERVED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Reserved |
17 | QTY_AVAIL | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity Available |
18 | QTY_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Base Quantity |
19 | AVAIL_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Availability Status
1=Open 2=Restricted 3=Hold 4=Rejected |
20 | NETTABLE_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Nettable
Y/N Table Edit |
21 | NON_OWN_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
07/30/1998 WHS CN#ENH8.0: Created Translate Values 'Y'es and 'N'o
N=No Y=Yes Y/N Table Edit |