adjust account plug to be sales basis

This commit is contained in:
Paul Trowbridge 2021-06-10 12:03:00 -04:00
parent b32d897b1d
commit a190c1cf63

View File

@ -300,7 +300,7 @@ GROUP BY
s.account = o.billto_group
CROSS JOIN log
WHERE
o.order_season = 2022
o.ship_season = 2022
AND o.segm = s.segment
GROUP BY
o.fspr