Compare commits

..

No commits in common. "60ace348b867a76aa38a169fe96c79491164c8a5" and "e030cce8b3a1e98173ffadf0472dcff255629d24" have entirely different histories.

3 changed files with 3 additions and 30 deletions

View File

@ -25,29 +25,3 @@ Discussion
* add comments on monthly
* add a tag that is separate from the comment?
* need to test extrapolating osm_pool into osmp_dev
Review
* continuous update with actuals
* next years sales is going to change everyday as new things happen with open orders
* need to be populating shipping season instead of leaving null
* need to do with past-due's -> when do they ship?
* snapshot several years of history into the forecast so there is no need to bring in actuals
* going to have to rebuild the forecast when actuals change
CI
* snapshot pool
* adjust 2021 orders
* integrate with 2020 open to get to 2021 sales (osm_stack)
* show 2021 forecasted order as forecast
* show 2021 forecasted sales (need to update ship season so it is not null)
Walk Issues
* canceled orders
* changed orders
* short ships
* exchange rates
Things to Demo
* product swap out
* pivot re-org
* don't use filters

View File

@ -153,7 +153,6 @@ gld AS (
)
AND fs_line = '41010'
AND calc_status <> 'CANCELED'
AND NOT (calc_status = 'CLOSED' AND flag = 'REMAINDER')
GROUP BY
o.fspr
,plnt

View File

@ -6,7 +6,7 @@ SELECT
,ol.doc->>'stamp' stamp
,ol.doc->>'tag' tag
,ol.doc->>'message' "comment"
,jsonb_pretty(ol.doc) doc
,ol.doc
,ol.id
,to_char(round(sum(value_usd),2),'$999,999,999D00') sales
from
@ -22,7 +22,7 @@ group BY
,ol.doc->>'stamp'
,ol.doc->>'tag'
,ol.doc->>'comment'
,jsonb_pretty(ol.doc)
,ol.doc
,ol.id
)
SELECT