EN_RTG_REF_VW(SQL View) |
Index Back |
---|---|
Reference routing view - Mfg2/8/99 CN# EN800-12.0 lee - Created for master routing where-used inquiry. 06/20/00 RSX: Changed prompt table for Ref Routing Item to newly created EN_RTG_REF1_VW (for better search in PIA). |
SELECT DISTINCT (a.business_unit) , d.rtg_state , a.ref_routing_item , b.descr FROM ps_bu_items_inv a , PS_MASTER_ITEM_TBL b , ps_set_cntrl_rec c , ps_en_rtg_header d WHERE c.recname='MASTER_ITEM_TBL' AND a.inv_item_id <> a.ref_routing_item AND a.ref_routing_item=b.inv_item_id AND a.business_unit=c.setcntrlvalue AND b.setid=c.setid AND d.business_unit = a.business_unit AND a.ref_routing_item = d.inv_item_id |
# | 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_BUMGOP_NONVW |
2 | RTG_STATE | Character(2) | VARCHAR2(2) NOT NULL |
Routing State
EN=Engineering PR=Manufacturing |
3 | REF_ROUTING_ITEM | Character(18) | VARCHAR2(18) NOT NULL |
Reference Routing Item
Prompt Table: EN_RTG_REF1_VW |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |