T_INV_LOT_TP_VW(SQL View) |
Index Back |
---|---|
Lot Trace To Prdn View |
SELECT DISTINCT c.setid , a.business_unit , a.inv_item_id , a.inv_lot_id , a.oprid , a.dt_timestamp , a.to_prdn_id , b.inv_item_id , d.inv_lot_id , b.issue_qty , a.unit_measure_std , a.qty , a.unit_measure_std , a.transaction_group FROM PS_TRANSACTION_INV a , ps_sf_complst_vw b , ps_set_cntrl_rec c , PS_TRANSACTION_INV d WHERE a.business_unit = b.business_unit AND b.business_unit = c.setcntrlvalue AND c.setcntrlvalue = d.business_unit AND a.to_prdn_id = b.production_id AND b.production_id = d.production_id AND a.inv_item_id = b.component_id AND b.inv_item_id = d.inv_item_id AND c.recname = 'MASTER_ITEM_TBL' AND d.transaction_group = '021' AND b.issue_qty <> 0 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BUIN_NONVW |
3 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: MST_ITM_PRPT_VW |
4 | INV_LOT_ID | Character(15) | VARCHAR2(15) NOT NULL | Lot ID |
5 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
6 | DATE_TIME_HM | DateTime(26) | TIMESTAMP | Date Timestamp |
7 | PRODUCTION_ID | Character(10) | VARCHAR2(10) NOT NULL | Production ID |
8 | PARENT_PROD_ID | Character(18) | VARCHAR2(18) NOT NULL | Parent Product Id |
9 | PARENT_LOT_ID | Character(15) | VARCHAR2(15) NOT NULL | Parent Lot ID |
10 | PARENT_QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Parent Quantity |
11 | PARENT_UOM | Character(3) | VARCHAR2(3) NOT NULL | Parent Unit of Measure |
12 | QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity |
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 | TRANSACTION_GROUP | Character(3) | VARCHAR2(3) NOT NULL | 11/7/02 LLR - Added the new (600's) transactions groups for 8.8. |