-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
Balance column of stock history does not always show correct running total #122
Comments
jmiranda
added a commit
that referenced
this issue
Jun 23, 2016
…me quantity that should have been zero'd out
jmiranda
added a commit
that referenced
this issue
Jun 23, 2016
* #122: Fixed bug with the stock history balance column holding onto some quantity that should have been zero'd out * bumped app version to 0.7.10
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TL;DR This is a known issue with the Balance column of the Stock History report (only).
Unlike the quantity on hand calculation, the Balance column calculation is done inline (in the GSP - yuck) and contains somewhat hacky logic that does not take all edge cases into account. For example, the attached screenshot shows a Balance of 6500 on Aug 5. This is because the calculation does not zero out lot number 130221 that was recorded on May 18. The QoH calculation does handle this, but again the Stock History was hastily put together and needs some work.
The text was updated successfully, but these errors were encountered: