Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Zero penny difference transaction in exhange adjustment

$
0
0

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?


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>