diff --git a/route_sql/new_part.sql b/route_sql/new_part.sql index 1f1045e..1da74a5 100644 --- a/route_sql/new_part.sql +++ b/route_sql/new_part.sql @@ -630,12 +630,12 @@ SELECT ,b.ship_month ,b.request_season ,b.request_month - ,b.part_descr - ,b.part_family - ,b.part_group - ,b.branding - ,b.color - ,b.segm + ,b.part ||' - '|| RTRIM(COALESCE(m.AVDES1, p.AWDES1)) part_descr + ,F.F3||' - '||F.DESCR part_family + ,SUBSTRING(b.part,1,8)||' - '||MD.DESCR part_group + ,COALESCE(MG.GRP,'Unbranded') branding + ,CASE WHEN substring(COALESCE(m.avgled, p.awgled),1,1) <= '2' THEN SUBSTRING(b.part,9,3) ELSE '' END color + ,COALESCE(SEG.SEGM,'Other') segm ,b.bill_cust_descr ,b.billto_group ,b.ship_cust_descr