QUARAN_INV_VW(SQL View) |
Index Back |
---|---|
Physical Inv Quarantine View |
SELECT a.business_unit , a.inv_item_id , a.avail_status , a.storage_area , a.stor_level_1 , a.stor_level_2 , a.stor_level_3 , a.stor_level_4 , a.inv_lot_id , a.serial_id , a.staged_date , a.container_id , a.unit_of_measure , b.avail_status , a.qty , a.avail_status_type , a.reason_cd , a.retest_date 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 |
3 | AVAIL_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Availability Status
1=Open 2=Restricted 3=Hold 4=Rejected |
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 |
10 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | Serial ID |
11 | STAGED_DATE | Date(10) | DATE | Staged Date |
12 | CONTAINER_ID | Character(10) | VARCHAR2(10) NOT NULL | Container ID |
13 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
14 | LOC_ONHOLD_CB | Character(1) | VARCHAR2(1) NOT NULL |
Location On Hold
1=Open 3=On Hold |
15 | QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity |
16 | AVAIL_STATUS_TYPE | Character(4) | VARCHAR2(4) NOT NULL | Status Type |
17 | REASON_CD | Character(10) | VARCHAR2(10) NOT NULL | Reason Code |
18 | RETEST_DATE | Date(10) | DATE | Retest Date |