web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

error while sales invoice

(0) ShareShare
ReportReport
Posted on by 65

Hi all,

while posting a sales invoice the following error was thrown

pastedimage1620307490698v1.jpeg

Help me to rectify this

thanks in advance 

I have the same question (0)
  • dark_knight Profile Picture
    942 on at

    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?

  • Suggested answer
    dark_knight Profile Picture
    942 on at

    Just go here as error text says

    4762.JPG

    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.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans