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

feat: reserve qty against production plan raw materials in BIN #35144

Conversation

rohitwaghchaure
Copy link
Collaborator

Feat

Added field Reserved Qty for Production Plan in bin to reserve the raw materials for the production plan

Screenshot 2023-05-03 at 6 21 48 PM

New Formula to calculate projected qty

Projected Qty = Actual Qty + Planned Qty + Requested Qty + Ordered Qty - Reserved Qty - Reserved Qty for Production - Reserved Qty for Subcontracting - Reserved Qty for Production Plan

Updated docs https://docs.erpnext.com/docs/v14/user/manual/en/stock/projected-quantity

@rohitwaghchaure rohitwaghchaure added the backport version-14-hotfix backport to version 14 label May 3, 2023
@codecov
Copy link

codecov bot commented May 3, 2023

Codecov Report

Merging #35144 (06e91e7) into develop (9aa6465) will increase coverage by 0.01%.
The diff coverage is 97.29%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #35144      +/-   ##
===========================================
+ Coverage    63.69%   63.71%   +0.01%     
===========================================
  Files          813      813              
  Lines        60032    60093      +61     
===========================================
+ Hits         38239    38286      +47     
- Misses       21793    21807      +14     
Impacted Files Coverage Δ
.../report/stock_projected_qty/stock_projected_qty.py 88.88% <ø> (ø)
...cturing/doctype/production_plan/production_plan.py 76.97% <95.00%> (+0.57%) ⬆️
...ext/manufacturing/doctype/work_order/work_order.py 80.90% <100.00%> (+0.02%) ⬆️
erpnext/stock/doctype/bin/bin.py 96.87% <100.00%> (+0.44%) ⬆️

... and 7 files with indirect coverage changes

@rohitwaghchaure rohitwaghchaure merged commit dfee45f into frappe:develop May 3, 2023
13 checks passed
rohitwaghchaure added a commit that referenced this pull request May 3, 2023
…-35144

feat: reserve qty against production plan raw materials in BIN (backport #35144)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport version-14-hotfix backport to version 14
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant