Wednesday, November 28, 2018

LS NAV - Shelf Label prints wrong cents

Rounding function in T99001573 CalculatePrice round 0.555 to 0.56, but on the item card and in the price setup, the price including vat is displayed as 0.55.

The code recalculates the price, and rounds the wrong way. However, different items may have different values after the decimal, and the only true solution is to truncate, not round.

the only way to fix this issue is to use the exact Unit Price Including VAT either from the Price Line Setup, or the Item Card

No comments:

Post a Comment