Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manufacturing capacity report #57

Merged
merged 9 commits into from
Mar 8, 2024
Merged

Manufacturing capacity report #57

merged 9 commits into from
Mar 8, 2024

Conversation

HKuz
Copy link
Collaborator

@HKuz HKuz commented Feb 21, 2024

Addresses #48

First cut of the manufacturing capacity report - likely some refinement needed around some of the calcs and a second set of eyes on the function grabbing all the 'demand' would be good.

In general, for any given BOM input for the report, it recurses 'up' the tree to get the top-level parents, calculates total demand for the parent (assumes the top-level parent demand is what's driving the sub-BOMs in the tree, demand is based on Sales Orders, Material Requests of type Manufacture, and Work Orders, adjusting for any overlap), then recurses 'down' the BOM tree to collect data and make calcs based on the top-level parent demanded quantity.

Tests are started, but I'd like to add one to check the data output of the report once the cols/calculations are nailed down. In exciting news, the Ambrosia Pie Company has added some new products!

manufacturing_capacity_report_draft

@HKuz HKuz linked an issue Feb 21, 2024 that may be closed by this pull request
@agritheory agritheory self-requested a review February 21, 2024 14:40
@agritheory agritheory changed the title Draft: feat: add manufacturing capacity report Manufacturing capacity report Mar 8, 2024
@agritheory agritheory merged commit 2936cde into version-14 Mar 8, 2024
4 checks passed
@agritheory agritheory deleted the manuf_cap_report branch March 8, 2024 18:40
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: add Manufacturing Capacity Report
2 participants