-- RouteMaster Full Query
-- Source: JDESTAGE.F3003_VIEW
-- Destination: RouteMaster
-- Schedule: Mass/Daily/Hourly

SELECT TRIM(route_master.COSTCENTERALT_IRMMCU) AS BranchCode,
       TRIM(route_master.ITEMNUMBER2NDKIT_IRKITL) AS ItemNumber,
       TRIM(route_master.TYPEROUTING_IRTRT) AS RoutingType,
       route_master.SEQUENCENOOPERATIONS_IROPSQ AS SequenceNumber,
       TRIM(route_master.USERRESERVEDREFERENCE_IRURRF) AS FunctionCode,
       TRIM(route_master.COSTCENTER_IRMCU) AS WorkCenterCode,
       route_master.EFFECTIVEFROMDATE_IREFFF AS StartDate,
       route_master.EFFECTIVETHRUDATE_IREFFT AS EndDate,
       route_master.DATEUPDATED_IRUPMJ AS DateUpdated,
       route_master.TIMEOFDAY_IRTDAY AS TimeUpdated
  FROM JDESTAGE.F3003_VIEW route_master
 WHERE TRIM(route_master.ITEMNUMBER2NDKIT_IRKITL) IS NOT NULL
