While dealing with arithmetic operations, you may want to roundup the calculation result to the next nearest number. Sage X3 has a special function to achieve this. ARR : rounds a number to the next nearest number. ARR ( exp_num1, exp_num2 ) Parameter details: exp_num1: Decimal number that will pass to “arr” function. exp_num2: if value ‘1’ is passed then it will round to the next nearest number. Kindly refer to the below screen shot. Hope this helps.
Recopilación de trucos e información para el desarrollo de aplicaciones en Sage X3 que pertenecen a otros autores y algunos propios