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
Accounting FactLine updateReverseLine SQLException for InventoryMove #416
Comments
bpali
pushed a commit
to bpali/adempiere
that referenced
this issue
Jun 6, 2016
e-Evolution
added a commit
that referenced
this issue
Jun 6, 2016
#416 Bugfix Accounting FactLine updateReverseLine SQLException for InventoryMove
Bugfix pull request was merged. Issue solved |
thanks Bogdan. weĺl test it. |
e-Evolution
pushed a commit
that referenced
this issue
Aug 5, 2016
e-Evolution
added a commit
that referenced
this issue
Aug 5, 2016
#416 Bugfix Accounting FactLine updateReverseLine SQLException for InventoryMove
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Say you have a completed and posted Inventory Move document.
If you void it and try to post the reversed document it will fail with "Posting Error (Original Inventory Move not posted yet)"
This happens to any reversed Inventory Move document because of the following SQL Exception
The SQL Exception strikes beause parameter 7 was not set.
Inside method org.compiere.acct.FactLine.updateReverseLine parameter set expressions
should be like this
This bug was introduced in the following changeset
Commit: 09a0aa2 [09a0aa2]
Parents: ebe2eb9
Author: eEvolution author Victor Perez victor.perez@e-evolution.com
Date: Saturday, 08 November, 2014 9:26:30 PM
Solve issue with revert document, now to find of original fact act is necessary quantity transaction
when this line was modified
+ " AND Line_ID=? AND Account_ID=? AND Qty=?";
and this line added
pstmt.setBigDecimal(6, quantity.negate());
The text was updated successfully, but these errors were encountered: