Is there a bug in Bin?

I just tested creating a purchase receipt but when I submit the document the actual quantity in bin the with the same item code and warehouse, it doesn’t accumulate the value. Thank you

Tested multiple time, no issue in bin doctype.

Before:

After:

Oh I see. I just refreshed the bin again and it does record, it just has a delay in updating the record. Thanks @NCP

Hello @NCP , regarding with this topic when creating opening stock in stock reconciliation, why it doesn’t accumulate the value. Thank you

Hi, I’m using erpnext V.16 now
It look like I’m facing this issue again.

It does not update Actual Qty after submit purchase receipt

I have to click Recalculate Bin Qty button so bin has been updated.

But in real life user may not be able to access this button.

Do you have any suggestion for this?

1 Like

Hi @TheerayutEncoder ,

Even until now in version-15 I am facing delays in Bin, and sometimes it doesn’t update the Actual Qty that is why my validations for stocks moved to stock ledger entries. But anyways regarding to your issue since real users doesn’t have time to recalculate every time. I suggest you have to customize a script that will trigger that recalculate bin qty every time they save the document.

I have a question though in version-16 have cash flow direct method?

I agree that we need to recalculate bin qty so I just open PR to erpnext: https://github.com/frappe/erpnext/pull/48227
To ensure it always recalculate bin before it update new value qty from stocks move.

As your question, I’m not sure about cash flow direct method.
maybe I could answer your question later.

1 Like