commit: 2025-04-06 03:10:30
This commit is contained in:
parent
e54b42bc83
commit
685f75ffe8
@ -120,8 +120,8 @@ SELECT
|
||||
,r.rcode
|
||||
,b.quota_rep_descr
|
||||
,r.director
|
||||
,b.bill_cust_descr billto_group
|
||||
,b.ship_cust_descr shipto_group
|
||||
,bc.dba billto_group
|
||||
,sc.dba shipto_group
|
||||
,CASE SUBSTRING(bc.cclass,2,3)
|
||||
--if the bill to class is ditsributor, then it's either warehouse or drop
|
||||
WHEN 'DIS' THEN
|
||||
@ -186,6 +186,7 @@ SELECT
|
||||
,round(b.units * i.nwht * CASE i.nwun WHEN 'KG' THEN 2.2046 ELSE 1 END, 2) pounds
|
||||
FROM
|
||||
basemix b
|
||||
CROSS JOIN log
|
||||
LEFT OUTER JOIN rlarp.repc r ON
|
||||
r.repp = b.quota_rep_descr
|
||||
LEFT OUTER JOIN "CMS.CUSLG".itemm i ON
|
||||
|
||||
Loading…
Reference in New Issue
Block a user