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

Reserved qty for production not calculated right way #20882

Closed
janecekmato opened this issue Mar 9, 2020 · 1 comment
Closed

Reserved qty for production not calculated right way #20882

janecekmato opened this issue Mar 9, 2020 · 1 comment
Labels
bug to-validate Old issues pending validation

Comments

@janecekmato
Copy link

janecekmato commented Mar 9, 2020

Description of the issue

Based on topic
https://discuss.erpnext.com/t/possible-bug-reserved-qty-for-production/57017

In work order when is checked Skip Material Transfer checkbox, “reserved_qty_for_production” in BIN doctype is not updated after Stock Entry is submitted ( Purpose - Manufacture ). But i thing that it should. Because items consumed in manufacturing are not reserved anymore.

I found that, “reserved_qty_for_production” in BIN doctype is calculated from Work Order Items like:

sum(item.required_qty - item.transfered_qty)

But i thing that it should be calculated

sum(item.required_qty - item.consumed_qty)

Steps to reproduce the issue

  1. Create Work order and check "reserved_qty_for_production"
  2. Click finish and manufacture some of them
  3. Create Stock entry and submit it

ERPNext: v11.1.68 (version-11)
Frappe Framework: v11.1.62 (version-11)

I want to create my first pull request. Can somebody help me with it?

@janecekmato janecekmato added the bug label Mar 9, 2020
@ankush ankush added the to-validate Old issues pending validation label Dec 10, 2021
@deepeshgarg007
Copy link
Member

@janecekmato if this issue still persists in the latest version-13 or higher versions please reopen a new issue, closing this issue

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug to-validate Old issues pending validation
Projects
None yet
Development

No branches or pull requests

3 participants