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

Unit conversion rounding issue on sales order

$
0
0

We have run into an issue when processing sales orders where the inventory unit and sell unit are different.  

Unit A is the inventory unit.  Unit B is the sell unit.

In our scenario Unit A * 1.07 = Unit B.

The product is batch controlled and is invoiced for the following batches an quantities (note the conversion by line from Unit A to Unit B):

Batch numberUnit AUnit B
A1957.001,023.99
A2957.001,023.99
A3980.001,048.60
A4980.001,048.60
A5980.001,048.60
A6957.001,023.99
A7957.001,023.99
A8980.001,048.60
A9957.001,023.99
A10957.001,023.99
A11980.001,048.60
A12957.001,023.99
A13957.001,023.99
A14957.001,023.99

The decimal precision on Unit B (the sell unit) is set to 0 decimal places.  The quantity being invoiced looks to be calculated by the sum of all batch numbers * 1.07 and arrives at:

13,513*1.07 = 14,458.91 

Rounded to 14,459.00 on the invoice line.

However, when we go to print the invoice and include the batch number, the each individual batch number is rounded in the output:

Batch numberInvoice Output
A11024
A21024
A31049
A41049
A51049
A61024
A71024
A81049
A91024
A101024
A111049
A121024
A131024
A141024

So the total for all batches 14,461 for the batch detail does not match the invoice total 14,459.

Is there a setting somewhere in AX to control the rounding?  In our business Unit B, has to be shown with 0 decimal places.


Viewing all articles
Browse latest Browse all 46681

Trending Articles



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