Return line without Return transaction number always sets PRICESINCLUDESALESTAX to FALSE on sales order header

Symptoms

In summary: lead to wrong financial figures

In detail: The behavior causes the sales tax to be calculated on top of the sales line amounts, which leads to a discrepancy between the transaction total and received payment as generated by the AX7 Cloud POS on the one hand and the sales order invoice generated in the AX7 backend on the other hand

Resolution

Current behavior was looking up for Return line's original line to get original PRICESINCLUDESALESTAX value. The issue was that if original sales line was not found, the code didn't check for it and still tried to obtain PRICESINCLUDESALESTAX value. In this case, PRICESINCLUDESALESTAX always falls back to FALSE.

The fix is to check if original sales line was found and then only obtain PRICESINCLUDESALESTAX value. Otherwise PRICESINCLUDESALESTAX value comes from channel configuration.

More information

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained here in is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Propiedades

Id. de artículo: 4011863 - Última revisión: 31-01-2017 - Revisión: 1

Comentarios