EN_ERTG_OP_1_VW

(SQL View)
Index Back

Item Rtg Hdr Op VW(EBOM) Prdn

CN#EG750-4.0 dbe (Engineering Routings) - New view. Used in BOM Op Seq look-up Item Routing Header Op View where the RTG_CODE is 1 (primary routing).. 9/29/97 ebn CN#EN750-1.0 : Changed view to take into account the Reference Routing Item on BU_ITEMS_INV for Master Routing Enhancement. 2/25/98 wtk - Removed RTG_TYPE and RTG_STATE as keys. CN# EN800-3.0, Sep 21 98, Anna Removied hardcoding of RtgCode to 1, part of bomcode additions. 1/5/99 laj CN#EN800-6.0 Added routing code so that all operation sequences for all routings will be displayed within BOM maintenance. 10/14/99 TKI CN#SF800-14.0 Refined view to list only the production routings for valid EBOM

SELECT a.business_unit , a.inv_item_id , b.op_sequence , b.rtg_code , b.rtg_type , b.rtg_state , a.ref_routing_item FROM PS_BU_ITEMS_INV a , ps_en_rtg_ops b WHERE b.business_unit = a.business_unit AND b.inv_item_id = a.ref_routing_item AND b.rtg_type = 'PR' AND b.rtg_state = 'EN'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
3 OP_SEQUENCE Number(4,0) SMALLINT NOT NULL Operation Sequence
4 RTG_CODE Number(2,0) SMALLINT NOT NULL Routing Code
5 RTG_TYPE Character(2) VARCHAR2(2) NOT NULL Routing Type
PR=Production
RW=Rework
TD=Teardown
6 RTG_STATE Character(2) VARCHAR2(2) NOT NULL Routing State
EN=Engineering
PR=Manufacturing
7 REF_ROUTING_ITEM Character(18) VARCHAR2(18) NOT NULL Reference Routing Item