Commit Graph

180 Commits

Author SHA1 Message Date
Paul Trowbridge
7008f57f66 make sure days are between 1 and 28 2019-04-16 13:26:39 +00:00
Paul Trowbridge
06c545dbc6 update query to add new parts 2019-04-08 16:24:55 -04:00
Trowbridge
6cdac5ed2d update part list to include clones 2019-04-08 10:30:44 -04:00
Trowbridge
7facfb963b create new part master records from clones 2019-04-08 10:30:35 -04:00
Paul Trowbridge
c51c8e409b star building queries to setup new retail parts as clones 2019-04-05 17:23:34 -04:00
Trowbridge
78f13c61e1 get rid of scrap files 2019-04-05 16:11:31 -04:00
Paul Trowbridge
bf03eff862 vupd was scaling from scratch instead of just cleaning up the volume increase to match the dollar target 2019-04-04 12:19:40 -05:00
Paul Trowbridge
22841d3671 fix issue with price adjustment 2019-04-03 14:07:49 -05:00
Paul Trowbridge
d3332cc778 include promo code in base mix 2019-04-03 12:17:54 -04:00
Paul Trowbridge
8cf8490887 Merge branch 'bugfix/div0' 2019-04-03 08:57:59 -05:00
Paul Trowbridge
e312bc1abd add log file routes and queries 2019-04-03 08:56:01 -05:00
fleetside72
752e65de05 rework addmonth routes to accomodate -0- in the base 2019-04-03 04:27:57 -04:00
Paul Trowbridge
723e2a250c fix add month route for volume only with base = 0 2019-04-03 03:26:07 -04:00
fleetside72
833ec511c1 handle price change on no base sales 2019-04-03 03:00:38 -04:00
fleetside72
8cb6b843ba recast scale_v to be based on qty and handle -0- qty 2019-04-03 01:42:10 -04:00
Paul Trowbridge
d3e1ea47bd include change type 2019-03-27 12:24:49 -05:00
Paul Trowbridge
62473aee92 bug: ship to group join was predicated on bill_to customer 2019-03-27 09:14:50 -05:00
Paul Trowbridge
68fe848512 move non-route sql 2019-03-25 15:13:52 -04:00
Paul Trowbridge
4907170629 update building of forecast to integrate last price paid 2019-03-25 02:31:31 -04:00
Paul Trowbridge
878ed265ca change status so that only true open orders show as such 2019-03-25 00:42:10 -04:00
Paul Trowbridge
df8f63fcfb move non route files 2019-03-24 23:32:51 -04:00
Paul Trowbridge
4b2b572e4c add forecast rebuild scripts 2019-03-24 23:25:23 -04:00
Paul Trowbridge
1a95413881 add files for setting up forecast 2019-03-24 16:03:32 -04:00
Paul Trowbridge
66483b6967 new items are relabeled as volume 2019-03-24 15:59:29 -04:00
Paul Trowbridge
ae0cca3b8a Merge branch 'dev' of github.com:fleetside72/forecast_api into dev 2019-03-23 17:17:57 -04:00
Paul Trowbridge
7643a6961d format 2019-03-23 17:17:46 -04:00
Paul Trowbridge
5534273f2e add sql for a regular table output of changes 2019-03-23 10:25:58 -05:00
Trowbridge
429baa0c04 add route to list changes 2019-03-22 14:02:03 -04:00
Paul Trowbridge
d968237ea7 calc status cannot be null due to inclusion in where clause 2019-03-22 10:50:18 -04:00
Paul Trowbridge
ad8639a4c8 insert statement was wrong 2019-03-22 04:53:05 -04:00
Paul Trowbridge
0a9a56c6c2 parameterize where clause 2019-03-22 04:51:44 -04:00
Trowbridge
a8f8a8cffb parameterize for route prep 2019-03-22 04:42:13 -04:00
Trowbridge
dfcd85f98b currency, fsline 2019-03-22 04:24:01 -04:00
Trowbridge
7d1adcf779 link in some more offline meta 2019-03-22 04:16:07 -04:00
Trowbridge
46a299c1a3 bring in offline meta and use initial part 2019-03-22 04:04:13 -04:00
Trowbridge
6faa31c46b bring in some customer master 2019-03-22 04:03:42 -04:00
Paul Trowbridge
966b072f72 get fuctional through basemix 2019-03-22 03:33:45 -04:00
Trowbridge
f18b35364d start work on setting up a new basket route 2019-03-22 00:41:30 -04:00
Paul Trowbridge
a88a611afd prevent div by zero 2019-03-21 16:50:51 -04:00
Trowbridge
bb83caa46f parameterize sql and add route for new part 2019-03-21 15:29:17 -04:00
Trowbridge
2e6fc0e30a insert and return aggregate 2019-03-21 15:13:27 -04:00
Trowbridge
fcfe3e6fb9 copy units to descriptive fields 2019-03-21 15:01:59 -04:00
Trowbridge
a3a5d3ad0d link in cost and inventory currency 2019-03-21 15:00:32 -04:00
Trowbridge
1443f339b7 set part group descriptions 2019-03-21 14:26:03 -04:00
Trowbridge
c3d01e0df6 get promo from month mix 2019-03-21 14:22:44 -04:00
Trowbridge
c5f8d335bb add group descriptions 2019-03-21 14:22:35 -04:00
Trowbridge
e41f12ef7e change join basis and set some columns 2019-03-21 14:12:26 -04:00
Trowbridge
0018c14d40 start linking in master data 2019-03-21 14:02:14 -04:00
Trowbridge
22605092bb parition by mxm since there is s cross join 2019-03-21 12:29:10 -04:00
Trowbridge
2fc146ae5d build dates 2019-03-21 12:11:20 -04:00
Trowbridge
24188768f1 rework 2019-03-21 12:02:44 -04:00
Trowbridge
5571fc35a6 only include 2019 and 2020 order season in pkg 2019-03-21 11:40:32 -04:00
Trowbridge
7d0166aab2 template out necessary function 2019-03-21 03:23:07 -04:00
Trowbridge
a8027b8447 start work on new_part logic 2019-03-21 03:22:48 -04:00
Trowbridge
b05d68f8ec dont sum up diext and discounts 2019-03-20 01:31:51 -04:00
Trowbridge
5245bfac74 add a part list and log sql statements 2019-03-20 00:37:36 -04:00
Paul Trowbridge
b6464e51b9 creat elist of active parts with descriptions 2019-03-19 10:56:11 -04:00
Paul Trowbridge
4108c02beb descending mix 2019-03-19 00:24:57 -04:00
Paul Trowbridge
4e062d0625 rework basket 2019-03-19 00:22:00 -04:00
Paul Trowbridge
b7b3b05e2c build sales based mix 2019-03-19 00:15:43 -04:00
Paul Trowbridge
ecaef0ae4b setup a basket to send back, convert to https 2019-03-18 17:27:01 -04:00
Trowbridge
191b735061 alter scnaerio package for part, bill, ship 2019-03-18 16:02:45 -04:00
Paul Trowbridge
7f5277546b hardcode notion of baseline iterations into monthly baseline 2019-03-15 12:53:21 -04:00
Paul Trowbridge
4ba6aaa2d0 adjust scale_vp route to create 2 iteration for v and p respectively 2019-03-14 12:08:37 -04:00
Paul Trowbridge
c536dee56d break out add-month volume and price impact 2019-03-14 11:59:35 -04:00
Paul Trowbridge
932c95e83c dont use iterdet anymore since not in osm. iter = source + behavior 2019-03-14 10:47:29 -04:00
Paul Trowbridge
0e3bc60dd7 update volume and price, as well as description on other routes 2019-03-13 23:32:12 -04:00
Paul Trowbridge
92657e72c3 update scale volume route to contain iteration info 2019-03-13 23:25:07 -04:00
Paul Trowbridge
9d6453f837 update scale by price route 2019-03-13 17:27:59 -04:00
Trowbridge
0ce9056d7c fix up volume and price 2019-03-13 13:53:19 -04:00
Trowbridge
2352a898be update addmonth_v to manifest iteration changes 2019-03-13 13:07:07 -04:00
Paul Trowbridge
34b53e8eef add route to modify price and volume at the same time 2019-03-13 09:44:41 -04:00
Paul Trowbridge
41d7f4286a add routes to scale volume and also to scale price 2019-03-13 09:35:45 -04:00
Paul Trowbridge
284a4abffc label console messaging 2019-03-12 17:45:35 -04:00
Paul Trowbridge
1b7f8c4f50 add monthly volume and price combo edit 2019-03-12 17:40:20 -04:00
Trowbridge
ed6f88147f update sql and route type, successful calls 2019-03-12 17:32:28 -04:00
Paul Trowbridge
1ecadc3227 add sql files 2019-03-12 17:20:23 -04:00
Paul Trowbridge
91d6b11204 work on addmonth_v route 2019-03-12 17:19:19 -04:00
Paul Trowbridge
7ecf3870c3 update scenario_package route 2019-03-12 15:31:24 -04:00
Trowbridge
dd8ba2736e modify the get_pool route 2019-03-12 15:03:21 -04:00