forecast_api/build
2021-04-13 16:10:04 -04:00
..
act_to_fcst forecast update 2020-06-09 18:35:52 -04:00
move_sales queries to move sales around for high-level spreading 2021-03-08 15:00:55 -05:00
build_forecast.sql refresh cut-off date, and correct spelling error in file name for rebuild script 2021-04-12 08:29:34 -04:00
build_pool.sql update notion of segments when building the forecast pool 2021-04-08 11:09:12 -04:00
check_osmf_match_sales.sql test for match after pool conversion 2020-05-12 08:51:25 -04:00
check_osmf_match.sql incrememnt to next year 2021-04-05 12:02:03 -04:00
convert_pool_all.sql set item master attributes prior to anythign else 2021-04-13 12:48:09 -04:00
convert_pool.sql update fx 2021-04-06 18:19:49 +00:00
edit_xover.sql delete accidental cross-over update 2020-05-06 17:43:13 -04:00
merge_actuals_exec.sql increment periods 2020-06-07 22:43:50 -04:00
merge_actuals_pool.sql redefine segment 2021-04-13 16:10:04 -04:00
merge_actuals_prep.sql increment periods 2020-06-07 22:43:50 -04:00
readme.md update quota_rep logic to mirror current sales matrix, create readme, adjust rebuild script 2021-04-08 11:42:09 -04:00
rebuild_forecast.sh refresh cut-off date, and correct spelling error in file name for rebuild script 2021-04-12 08:29:34 -04:00
rec_act.sql incrememnt to next year 2021-04-05 12:02:03 -04:00
round_pool.sql values have large decimals, round them to 2 2020-05-05 19:41:07 -04:00
snap_cost_current.sql prevent joining to fake parts, and eliminate b21 filter 2020-04-16 19:15:55 -04:00
snap_cust_osmfs.sql snap quota rep 2021-03-08 17:52:19 -05:00
snap_cust_pool.sql cannot do a normal join, bill to customer may not be in joined table, change to subquery 2021-03-08 17:59:20 -05:00
snap_customer.sql update quota_rep logic to mirror current sales matrix, create readme, adjust rebuild script 2021-04-08 11:42:09 -04:00
snap_fx.sql only snap fx for forecast orders 2021-04-08 12:35:22 -04:00
snap_itemm_pool.sql redefine segment 2021-04-13 16:10:04 -04:00
snap_itemm.sql include style code in itemm snap 2021-04-07 09:04:01 -04:00
swap_fake_parts.sql fix a bunch of fake parts loaded for retail 2021-03-08 17:51:09 -05:00
temp.sql forecast update 2020-06-09 18:35:52 -04:00
tots.sql add totals queries for tie-outs 2020-04-07 14:53:53 -04:00

Build A New Forecast

  • overwrite osmf: review dates and execute build_forecase.sql
  • the product and customer attributes are wiped, they will need to be snapped (itemm must come first)
    1. snap_itemm.sql
    2. snap_customer.sql
    3. snap_cost_current.sql
    4. snap_fx.sql (if necessary)
    5. offline/last_price.sql (if necessary)
  • build the pool for the more limited UI data set: build_pool.sql
  • copy the pool to osmfs_dev from inclusion in the osm_stack and reporting: convert_pool_all.sql
  • refresh osm_stack_refresh() to integrate into reporting