Permission to set rounded value to UDF
Roman Hauser
Hi
I use a customize script with the function SetValue to fill a UDF with the rounded list price of an item. Unfortunately the value is only filled in correctly rounded if the windows user (not the SAP user) is an administrator. Otherwise the value is always rounded to an integer.
The script itself is always executed, it is only the function SetValue that does not set the correctly rounded value for non-administrators. For admin-users the script works correct.
listpriceString = System.String.Format("{0:0.00}", listprice); // p.ex. listprice = 1.5998, listpriceString = 1.60
mtr.SetValue("U_Listen", pVal.Row - 1, listpriceString); // Filled for non-admin: 1.00
I already gave all users read/write/execute permission to the folders "SAP Business One" and "SAP B1 DI API", but that did not solve the problem.
Does anyone know where I have to change permissions to get the SetValue function work correctly for non-admin users?
SAP 8.82 PL 14 - Coresuite Customize 4.75.21754 - Client running on Windows 2012R2
Thanks.
Roman
0
Please sign in to leave a comment.
Comments
0 comments