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?