T_INV_LOT_PD_VW(SQL View) |
Index Back |
---|---|
Lot Trace Production View |
SELECT DISTINCT d.setid , a.business_unit , a.inv_item_id , a.inv_lot_id , a.oprid , a.dt_timestamp , a.production_id , b.inv_item_id , c.inv_lot_id , c.qty , c.unit_of_measure , a.qty , a.unit_of_measure , a.transaction_group FROM PS_TRANSACTION_INV a , ps_sf_complst_vw b , PS_TRANSACTION_INV c , ps_set_cntrl_rec d WHERE a.business_unit = b.business_unit AND b.business_unit = c.business_unit AND c.business_unit = d.setcntrlvalue AND a.production_id = b.production_id AND b.production_id = c.production_id AND a.inv_item_id = b.component_id AND b.inv_item_id = c.inv_item_id AND a.transaction_group = '230' AND c.transaction_group = '021' AND d.recname = 'MASTER_ITEM_TBL' |
# | 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. |