Heya, What is the best way in SuiteScript 2 to che...
# suitescript
k
Heya, What is the best way in SuiteScript 2 to check if you are in a oneworld account or not?
s
🙃 1
k
that so bad!!
why not have a company info config value for oneworld or something
s
I would pick one of their two solutions, and wrap it in a function, then put that in a utility module so I never have to look at it again 🙂
🙈 1
k
yeah thats what i will do but not nice!
s
definitely not clean or nice
b
use runtime.isFeatureInEffect on the SUBSIDIARIES feature
👆 1
k
@battk Yeah i did check that but SUBSIDIARIES doesnt exist in the features list.
or is it one of those things that is there but they dont tell you.
b
its undocumented
k
SHOCK!
b
id rather deal with that over what suiteanswers says
k
thats for sure!
@battk Thanks
s
interesting. if NS provides this, why not document it ? Unless it’s just an oversight in their documentation, which is possible.