I encountered an issue where the tax amount is getting removed from the document total whenever I select a check as the prepayment method.
I encountered an issue where the tax amount is getting removed from the document total whenever I select a check as the prepayment method.
Best answer by amitr70
Issue: The problem with the tax total being set to zero arises when adding a prepayment at the Sales Order (SO) level, preparing the second or subsequent invoice, and having multiple warehouses on the SO.
Cause: The underlying cause of both issues is the "Disable Automatic Tax Calculation" setting in Order Types.
Observation: When this setting is enabled (i.e., set to true), adding a prepayment works as expected, but it prevents the second invoice from calculating any tax, leaving it at zero. Conversely, if the setting is disabled (i.e., set to false), the tax values remain correct across two different invoices. However, in the case of a prepayment, the tax total for the SO is reset to zero.
Can you help me with some piece of codes that I can force in any upcoming invoices to add tax details in taxes tab on SO Invoice screen. Thanks
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.