forecast_api/route_sql
PhilRunninger f0ec96fe2a Change WHERE clause to remove tag[= or <>]'open-orders' condition.
Now that we think we know what we're doing, I'm using a more rigorous
approach to defining iterations and tags, and this condition is no
longer necessary, and in fact, may be harmful. This I'm removing it.

The initial load of data will have these values.

iter    | tag         | purpose
--------|-------------|-------------------------------------------------
plan    | baseline    | Adjustments will be made to these values only.
actuals | open-orders | Ordered before 2024 season, still open.
actuals | booked      | Ordered in 2024 season so far
2023-08-29 20:02:46 -04:00
..
addmonth_vupd.sql Change WHERE clause to remove tag[= or <>]'open-orders' condition. 2023-08-29 20:02:46 -04:00
adj_totals.sql Update some 2022 references to 2024, and fix round() function calls. 2023-04-05 12:37:35 -04:00
get_pool.sql Add options to query by director or segment. Also speed it up A LOT. 2023-05-09 01:24:08 -04:00
list_changes.sql More refactoring. Code is much DRY-er. 2023-08-29 11:52:55 -04:00
new_basket.sql Change WHERE clause to remove tag[= or <>]'open-orders' condition. 2023-08-29 20:02:46 -04:00
scale_pd.sql Change WHERE clause to remove tag[= or <>]'open-orders' condition. 2023-08-29 20:02:46 -04:00
scale_vd.sql Change WHERE clause to remove tag[= or <>]'open-orders' condition. 2023-08-29 20:02:46 -04:00
scale_vupd_sales.sql Update some 2022 references to 2024, and fix round() function calls. 2023-04-05 12:37:35 -04:00
scale_vupd.sql Change WHERE clause to remove tag[= or <>]'open-orders' condition. 2023-08-29 20:02:46 -04:00
scenario_package.sql Get pounds to update for each forecast adjustment. 2023-04-27 16:54:37 -04:00
swap_cust.sql populate dsm when swapping customers, rework pool quate rep snap 2021-04-16 13:57:32 -04:00
swap_fit.sql Switch source table from rlarp.itemmv to "CMS.CUSLG".itemm 2023-03-01 17:55:30 -05:00
swap_post.sql Switch source table from rlarp.itemmv to "CMS.CUSLG".itemm 2023-03-01 17:55:30 -05:00
undo.sql Prevent accidental undo of initial baseline load. 2023-05-03 15:34:17 -04:00