SF_PHY_INV_VW1(SQL View) |
Index Back |
---|---|
Physical Inventory Source - Vw05/18/00 : ssn Created. Source View to select data from Physical_inv to SF_PHY_IN_VW (negative completions) 10/19/06 MEG CN#MG910: Added " AND a.container_id = ' ' " to the where clause in the viewtext. |
SELECT a.business_unit , a.staged_date , a.inv_lot_id , a.inv_item_id , a.container_id , a.storage_area , a.stor_level_1 , a.stor_level_2 , a.stor_level_3 , a.stor_level_4 , a.serial_id , a.unit_of_measure , a.last_transact_type , a.last_issue_date , a.qty , a.qty_reserved , a.qty_base , a.qty_reserved_base , a.avail_status , a.avail_status_type , a.reason_cd , a.retest_date , a.dt_timestamp , a.descr254 , b.qty_precision , b.conversion_rate , b.round_rule FROM PS_PHYSICAL_INV a , ps_inv_item_uom b WHERE b.setid = ( SELECT c.setid FROM ps_set_cntrl_rec c WHERE c.setcntrlvalue = a.business_unit AND c.recname = 'INV_ITEM_UOM') AND b.inv_item_id = a.inv_item_id AND b.unit_of_measure = a.unit_of_measure AND a.container_id = ' ' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BUIN_NONVW |
2 | STAGED_DATE | Date(10) | DATE NOT NULL | Staged Date |
3 | INV_LOT_ID | Character(15) | VARCHAR2(15) NOT NULL | Lot ID |
4 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
5 | CONTAINER_ID | Character(10) | VARCHAR2(10) NOT NULL | Container 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 | 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 Prompt Table: INV_STCK_UOM_VW |
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_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Base Quantity |
18 | QTY_RESERVED_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity Reserved Base |
19 | AVAIL_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Availability Status
1=Open 2=Restricted 3=Hold 4=Rejected Default Value: 1 |
20 | AVAIL_STATUS_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Status Type
Prompt Table: QUARANTINE_INV |
21 | REASON_CD | Character(10) | VARCHAR2(10) NOT NULL |
Reason Code
Prompt Table: INV_STAT_RSN_VW |
22 | RETEST_DATE | Date(10) | DATE | Retest Date |
23 | DT_TIMESTAMP | DateTime(26) | TIMESTAMP | Date Timestamp |
24 | DESCR254 | Character(254) | VARCHAR2(254) NOT NULL | Description of length 254 |
25 | QTY_PRECISION | Character(1) | VARCHAR2(1) NOT NULL |
Quantity Precision
D=Decimal W=Whole Nbr |
26 | CONVERSION_RATE | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Conversion Rate |
27 | ROUND_RULE | Character(1) | VARCHAR2(1) NOT NULL |
Rounding Rule
D=Round Down N=Natural Round U=Round Up |