Notifications
Announcements
No record found.
Hi all,
while posting a sales invoice the following error was thrown
Help me to rectify this
thanks in advance
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?
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.
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
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 449 Super User 2025 Season 2
Martin Dráb 422 Most Valuable Professional
BillurSamdancioglu 239 Most Valuable Professional