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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Zero penny difference transaction in exhange adjustment

(0) ShareShare
ReportReport
Posted on by 35

Hello, we have zero penny difference transaction in company currency. It comes from invoice settlement with payment, where the difference is smaller than a setup penny difference tolerance. It is in the foreign currency. Amount in company currency is zero after the rounding (e.g. AmountCur = 0.22, AmountMST = 0). 

 

When we run exchange adjustment in a company it will crash with error:

Error executing code: Division by zero.

\Classes\CustVendSettle\calcAndPostTaxExchRateDiff_RU - line 16

This is the line of the code:

convertFactor = _exchRateDiff / _custVendTrans.AmountMST

I am little bit afraid that this is a issue in standard functionality. Can anybody confirmed? If it so, is there any fix for that?

*This post is locked for comments

I have the same question (0)
  • Vladimir4AX Profile Picture
    35 on at

    Any help? Do you have any experience with zero penny difference? Is this a normal behaviour or just a bug in third party customization? (but I am not aware of any customizations in this area)

  • Suggested answer
    cpironmo Profile Picture
    2 on at

    This could well be an issue with the standard code base, however it also may be something to do with the data being used and how that data has become to be in an erroneous state. This would require some investigation to ascertain it's origin.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans