1b.app
Link copied -

Rounding in sales order

Good afternoon!
How to round in a sales order:
1. Number to integers on the screen (now 4 decimal places, when printing everything is OK - rounded to integers);
2. Order amount up to tenths (when printing, we have 2 decimal places, it is necessary that, for example, 37 kopecks be rounded up to 40 kopecks, etc.)?
Original question is available on version: ru

Answers:

For rounding, you need to use the settings in the document template
[#2] - for example, for order amount
[ordersumm[#2]] - thus the document will indicate rounding to 2 characters
For the price of the product will work the same way.
If you need to round the value in the process product table itself. Then in the table setting (in the interface)
there is a rounding function
http://i.imgur.com/ECP35a9.png
Rounding in the process does not affect the rounding in the document template and is configured separately from each other.
15.09.2020, 18:31
Original comment available on version: ru

Got it on the first point. Thank you!
According to paragraph 2 - rounding of kopecks is required in accordance with the NBU resolution of 15.03.18 No. 25:
"Rounding of the total amounts of cash settlements in the check for goods (works, services) is carried out according to the following rules: the amount that ends from 1 to 4 kopecks is rounded down to the nearest amount that ends with 0 kopecks; the amount that ends from 5 to 9 kopecks, rounded up to the nearest amount ending in 0 kopecks.
How to implement it?
16.09.2020, 10:23
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment