diff --git a/route_sql/mix_change.sql b/route_sql/mix_change.sql index 99873eb..a6d88a4 100644 --- a/route_sql/mix_change.sql +++ b/route_sql/mix_change.sql @@ -89,8 +89,8 @@ target AS (select $$replace_request$$::json def) ,round(d.fc_mix * p.qty,0) units ,round(d.fc_mix * p.qty,0)* p.price value_usd --assume that target dollars are USD ,d.order_date - ,sd.sortmo order_month - ,sd.ssyr order_season + ,od.sortmo order_month + ,od.ssyr order_season ,d.ship_date request_date ,sd.sortmo request_month ,sd.ssyr request_season