Skip to main content

Notifications

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 

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: error while sales invoice

    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

  • Suggested answer
    dark_knight Profile Picture
    795 on at
    RE: error while sales invoice

    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.

  • dark_knight Profile Picture
    795 on at
    RE: error while sales invoice

    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?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,081 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,860 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans