How can I access an account setup setting via suit...
# suitescript
a
How can I access an account setup setting via suitescript? For example there is a set up shipping
/app/setup/shipping.nl?whence=
On that record there is a field called
SHIPPINGCUTOFFTIME
How can I access it via code?
s
runtime.getCurrentUser().getPreference({name: 'SHIPPINGCUTOFFTIME'})
You also might be able to get this with
config.load()
, would need to play with the options in there.
a
Thanks @Sandii!