EG_RTG_AUDEG_VW(SQL View) |
Index Back |
---|---|
ECO ERTG Time stamped audit VWCN#EG750-4.0 dbe (Engineering Routings) - New view. |
SELECT a.business_unit , a.inv_item_id , a.rtg_type , a.eg_datetime , a.oprid FROM PS_EG_RTG_AUDIT a WHERE (copy_direction='ME' OR copy_direction = 'EE') AND a.eg_datetime = ( SELECT MAX(eg_datetime) FROM PS_EG_RTG_AUDIT WHERE business_unit = a.business_unit AND inv_item_id=a.inv_item_id AND rtg_type = a.rtg_type AND (copy_direction='ME' OR copy_direction = 'EE')) |
# | 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 | RTG_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
Routing Type
PR=Production RW=Rework TD=Teardown |
4 | EG_DATETIME | DateTime(26) | TIMESTAMP NOT NULL | Copy Date / Time |
5 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |