Wrong Tax Correction posting at Write Off
Description
Environment
Server with ZK Client and idempiere Test System
Accounting Schema is set to post Discount and Tax Corrections
Attachments
2
Activity
Fixed
Details
Details
Assignee
Reporter
Labels
Tested By
Components
Priority
Created January 13, 2017 at 5:33 PM
Updated April 1, 2017 at 11:58 AM
Resolved February 21, 2017 at 11:06 AM
1) Posting AP invoice with GST Tax
2) Post partial payment of that invoice leaving some underpayment
3) In payment allocation adding the rest to Write off
The Allocation Posting will make a wrong Tax correction posting because the code does not take SoTrx into account.
21100 Acc Payable Trade D 3
78100 Bad Debts Write off C 3
78100 Bad Debts Write off D -0,2
12610 Tax Credit AR C -0,2
The negative Amount in the Tax Correction is Wrong, it adds to the Bad Debts Write Off instead of reducing it.
Attached you find a patch, which takes SOTrx into account.
KR