Compare commits
No commits in common. "60ace348b867a76aa38a169fe96c79491164c8a5" and "e030cce8b3a1e98173ffadf0472dcff255629d24" have entirely different histories.
60ace348b8
...
e030cce8b3
28
README.md
28
README.md
@ -24,30 +24,4 @@ Discussion
|
|||||||
* refresh new part list
|
* refresh new part list
|
||||||
* add comments on monthly
|
* add comments on monthly
|
||||||
* add a tag that is separate from the comment?
|
* add a tag that is separate from the comment?
|
||||||
* need to test extrapolating osm_pool into osmp_dev
|
* 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
|
|
@ -153,7 +153,6 @@ gld AS (
|
|||||||
)
|
)
|
||||||
AND fs_line = '41010'
|
AND fs_line = '41010'
|
||||||
AND calc_status <> 'CANCELED'
|
AND calc_status <> 'CANCELED'
|
||||||
AND NOT (calc_status = 'CLOSED' AND flag = 'REMAINDER')
|
|
||||||
GROUP BY
|
GROUP BY
|
||||||
o.fspr
|
o.fspr
|
||||||
,plnt
|
,plnt
|
||||||
|
@ -6,7 +6,7 @@ SELECT
|
|||||||
,ol.doc->>'stamp' stamp
|
,ol.doc->>'stamp' stamp
|
||||||
,ol.doc->>'tag' tag
|
,ol.doc->>'tag' tag
|
||||||
,ol.doc->>'message' "comment"
|
,ol.doc->>'message' "comment"
|
||||||
,jsonb_pretty(ol.doc) doc
|
,ol.doc
|
||||||
,ol.id
|
,ol.id
|
||||||
,to_char(round(sum(value_usd),2),'$999,999,999D00') sales
|
,to_char(round(sum(value_usd),2),'$999,999,999D00') sales
|
||||||
from
|
from
|
||||||
@ -22,7 +22,7 @@ group BY
|
|||||||
,ol.doc->>'stamp'
|
,ol.doc->>'stamp'
|
||||||
,ol.doc->>'tag'
|
,ol.doc->>'tag'
|
||||||
,ol.doc->>'comment'
|
,ol.doc->>'comment'
|
||||||
,jsonb_pretty(ol.doc)
|
,ol.doc
|
||||||
,ol.id
|
,ol.id
|
||||||
)
|
)
|
||||||
SELECT
|
SELECT
|
||||||
|
Loading…
Reference in New Issue
Block a user