I have RestLet script which update employee record...
# suitescript
z
I have RestLet script which update employee record. Everything works fine except when employee has administrator role. NetSuite doesn't allow updating admin employee record if RestLet user is not administrator. I see that suitelet can be executed as ADMINISTRATOR role, but not as CURRENT ROLE....and question is: how to execute SuiteLet from RestLet? I tried with url.resolveScript + https.post ... but no success.