Announcements
Hi all,
while posting a sales invoice the following error was thrown
Help me to rectify this
thanks in advance
Hello AX-training,
This seems to be related to your Indian sales tax setup.
Can you check the configuration that has been made?
Best regards,
Ludwig
Just go here as error text says
AOT\Classes\TaxModelDocLineSalesLineImpl_IN\getAssessableValueTransactionCurrency - line 11
and there in method getAssessableValueTransactionCurrency on line 11 you would be able to find incorrect math expression which causes your error.
Can you post it here please? Also if it's standard code I would put a breakpoint on thi sline to understand why null value is coming. Maybe it's something to do with the settings of your country functionality.
As I see from the error text saying division by zero you try to divide by zero and it's forbidden in maths. Also in the error text you can seen the exact place and line where this division takes place. Can you check this out first?
André Arnaud de Cal...
294,081
Super User 2025 Season 1
Martin Dráb
232,860
Most Valuable Professional
nmaenpaa
101,158
Moderator