To fix the issue, In Return Order Scenario, we get Tax Lines from Database and allign Tax Lines with respective SalesLine.
It will return all Tax lines related with a salesLine. We use these lines and make sum of them to get correct Tax Amount for the SalesLine.
We covered both the cases:
1. Return for Cash and Carry
2. Return for Customer Order.
We also checked, Japan Tax Scenario.
Article ID: 4035919 - Last Review: 17 Jul 2017 - Revision: 1