开发者

avoid rounding in SalesPrice

开发者 https://www.devze.com 2023-02-13 08:09 出处:网络
When setting trade agreament price to 12.8888, the unit price used in Sales Line is 12.8900. what should I do to avoid this r开发者_如何学JAVAounding?On the PriceDiscTable form set the NoOfDecimals pr

When setting trade agreament price to 12.8888, the unit price used in Sales Line is 12.8900. what should I do to avoid this r开发者_如何学JAVAounding?


On the PriceDiscTable form set the NoOfDecimals property of the PriceDiscTable_Amount control to 4.

Note that there are many places in the code where that amount will get rounded to the roundoff setting for the currency. You can change that rounding for the entire application under General ledger/Setup/Exchange rates on the Round-off tab.


In the Price List form, under Details, click Price List Items, and then click Add Price List Item, then change the Rounding Policy.


Set price to 1288.88 per 100 items.

0

精彩评论

暂无评论...
验证码 换一张
取 消