EN_ERTG_OP_2_VW

(SQL View)
Index Back

Item Rtg Op VW(EBOM) -Rework

10/14/99 TKI CN#SF800-14.0 Cloned from EN_ERTG_OP_1_VW to look for valid rework routings for given 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 = 'RW' 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