EN_PDO_RTG_VW(SQL View) |
Index Back |
---|---|
Rtg used in production options10/21/98 SCC CN#EN800-4.0: Prompt for rtg code on area item for production option item. 01/17/00 TKI CN#SF800-14.0 Added RL view |
SELECT DISTINCT a.business_unit , a.inv_item_id , c.bom_code , c.rtg_code , b.descr , a.ref_routing_item FROM PS_BU_ITEMS_INV a , ps_en_rtg_header b , ps_en_pdo_bom_rtg c WHERE b.business_unit = a.business_unit AND b.inv_item_id = a.ref_routing_item AND b.rtg_code = c.rtg_code AND c.business_unit=a.business_unit AND c.inv_item_id=a.inv_item_id 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 | BOM_CODE | Number(2,0) | SMALLINT NOT NULL | CN# EN800-3.0, anna 09/21 added new field to database |
4 | RTG_CODE | Number(2,0) | SMALLINT NOT NULL | Routing Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | REF_ROUTING_ITEM | Character(18) | VARCHAR2(18) NOT NULL | Reference Routing Item |