SF_CNFG_INV_VW2(SQL View) |
Index Back |
---|---|
Po Rec Inv with Config Code06/29/99 meg cn#sf800-27.0 Copied from sf_confg_inv_vw and added qty_precision, conversion_rate. |
SELECT a.BUSINESS_UNIT , a.STAGED_DATE , a.INV_LOT_ID , a.CONTAINER_ID , a.INV_ITEM_ID , a.SERIAL_ID , a.STORAGE_AREA , a.STOR_LEVEL_1 , a.STOR_LEVEL_2 , a.STOR_LEVEL_3 , a.STOR_LEVEL_4 , a.UNIT_OF_MEASURE , a.QTY , a.QTY_RESERVED , a.QTY_BASE , a.QTY_RESERVED_BASE , a.DT_TIMESTAMP , a.AVAIL_STATUS , b.qty_precision , b.conversion_rate , b.round_rule , c.config_code FROM ps_physical_inv a , ps_inv_item_uom b , PS_LOT_CONTROL_INV c WHERE c.business_unit = a.business_unit AND c.inv_lot_id = a.inv_lot_id AND c.inv_item_id = a.inv_item_id AND 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 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | STAGED_DATE | Date(10) | DATE NOT NULL | Staged Date |
3 | INV_LOT_ID | Character(15) | VARCHAR2(15) NOT NULL | Lot ID |
4 | CONTAINER_ID | Character(10) | VARCHAR2(10) NOT NULL | Container ID |
5 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: MASTER_ITEM_TBL |
6 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | Serial ID |
7 | STORAGE_AREA | Character(5) | VARCHAR2(5) NOT NULL | Storage Area |
8 | STOR_LEVEL_1 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 1 |
9 | STOR_LEVEL_2 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 2 |
10 | STOR_LEVEL_3 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 3 |
11 | STOR_LEVEL_4 | Character(4) | VARCHAR2(4) NOT NULL | Storage Level 4 |
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 | QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity |
14 | QTY_RESERVED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Reserved |
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 | DT_TIMESTAMP | DateTime(26) | TIMESTAMP |
Date Timestamp
Default Value: %DateTime |
18 | AVAIL_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Availability Status
1=Open 2=Restricted 3=Hold 4=Rejected |
19 | QTY_PRECISION | Character(1) | VARCHAR2(1) NOT NULL |
Quantity Precision
D=Decimal W=Whole Nbr |
20 | CONVERSION_RATE | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Conversion Rate |
21 | ROUND_RULE | Character(1) | VARCHAR2(1) NOT NULL |
Rounding Rule
D=Round Down N=Natural Round U=Round Up |
22 | CONFIG_CODE | Character(50) | VARCHAR2(50) NOT NULL | Product Configurator |