Hi, is it possible to get company name without usi...
# suitescript
c
Hi, is it possible to get company name without using N/config? The problem with this approach is we will need to provide permission 'setup company' to each role of who executes our script to get company name.
We can try adding suitelet/ restlet to get information running with some predefined role, but it will add some overhead processing, actually we need this info to log to elastic search using internal logger, so looking somehow is there any possibility with runtime/ preference/ someway
s
Just run the script with elevated permissions
c
Thanks @Sandii, but this logging can be added to multiple scripts (server side) so running all scripts with elevated is adviceable?