Hi all, I have a Client Script that's changing and...
# suitescript
s
Hi all, I have a Client Script that's changing and validating Sublist Values as the user enters line items. However, my end users are getting very different results than to what I get when testing as an Admin. Client Scripts don't have permissions to run things as Admin, do they? I don't know what to think would be causing my users to have different results... Script in thread.
The issue was that when a user changes the price level, either from Custom (Which allows the user to enter a custom rate) or to Multi Rate or Catalogue Rate, when submitting the line, the rate would always return to the original value and not what the user changed it to, the price level however would stick. > EG - Item loads with Custom Rate of 1.00 > User changes it to Multi Rate which is fixed at 1.50 > User submits the line, it submits as Multi Rate at 1.00 > Same vise versa, the rate always reverts to whatever the line item loads at. But again, none of this happens for me when testing as an admin. My rates all work fine and as does the discount functionality that I've added. There are other scripts put in place by the implementation team that work on similar columns, but I would think again since they're also working on all roles, that wouldn't affect my results compared to other roles.
image.png