What's a good way to determine if the subsidiaries...
# suitescript
b
What's a good way to determine if the subsidiaries feature is enabled in the NetSuite account? I don't see an option in Enable Features.
b
its id is
SUBSIDIARIES
e
runtime.isFeatureInEffect('SUBSIDIARIES')
d
I can understand the confusion, it's not listed on: Feature Names and IDs article (which is linked on the runtime.isFeatureInEffect(options) page)
b
Thanks! I was using this to check for features being enabled. What's the difference?
Copy code
config.load({
  type: config.Type.FEATURES,
});
d
The config.Type.FEATURES enum specifically loads the config from the enable features page. Which the oneworld/subsidiaries feature isn't a part of. My guess: the Oneworld feature isn't there because it's a very fundamental account feature
b
Good enough for me. Thanks for everyone's help!