EN_RTG_OP_1_VW

(SQL View)
Index Back

Item Rtg Header Op View Prdn

Item Routing Header Op View where the RTG_CODE is 1 (primary routing). CN#EG750-4.0 dbe (Engineering Routings) - Added RTG_STATE to WHERE clause. 9/26/97 ebn CN#EN750-1.0 : Changed view to take into account the Reference Routing Item on BU_ITEMS_INV for Master Routing Enhancement. CN#mg750-5.0 Add space between '1 and' 2/25/98 wtk - Removed RTG_TYPE as a key. CN# EN800-3.0, Sep 21 98, Anna Commented out 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 EBOM maintenance. 10/14/99 TKI CN#SF800-14.0 Modified to view only production routing operations

SELECT DISTINCT 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 = 'PR'

# 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