set part group descriptions

This commit is contained in:
Trowbridge 2019-03-21 14:26:03 -04:00
parent c3d01e0df6
commit 1443f339b7

View File

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