feat: operational resource procurement facility
Implement RESOURCE-WP-0005: entity register, V0.1 terms parameters, entity association on inventory and planning records, transfer-price and credit-state arithmetic, monthly settlement, and entity views on the portfolio report. Live close emits nothing until delivered cost is known. Handoffs are FIN-WP-0006 and RAILIANCE-WP-0017.
This commit is contained in:
parent
325a505980
commit
f8d1c542d5
37 changed files with 1316 additions and 28 deletions
6
Makefile
6
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
.PHONY: test forecast variance control-cycle exchange-forecast optimization portfolio-report
|
||||
.PHONY: test forecast variance control-cycle exchange-forecast optimization portfolio-report settlement
|
||||
|
||||
test:
|
||||
python3 -m unittest discover -s tests -p 'test_*.py'
|
||||
|
|
@ -23,3 +23,7 @@ optimization:
|
|||
|
||||
portfolio-report:
|
||||
python3 tools/portfolio_report.py .
|
||||
|
||||
settlement:
|
||||
@test -n "$(PERIOD)" || { echo 'PERIOD=YYYY-MM is required' >&2; exit 2; }
|
||||
python3 tools/settlement.py close --period $(PERIOD)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue