Does anyone know of a way for a script to determin...
# suitescript
n
Does anyone know of a way for a script to determine what type of account (US Edition, OneWorld, etc.) it is executing in?
a
What's the use case for using this API? Just curious 🙂
n
We have customers with different account types (US and OneWorld, I think, but there may be more) and we'd like for our integration to be able to act differently in each type, since certain editions lack certain features. For example, we want to be able to use the subsidiary feature in OneWorld accounts but not in US accounts since they do not have the subsidiary feature.
d
to check if oneWorld I have typically seen/used runtime.isFeatureInEffect({ feature : 'SUBSIDIARIES' });
n
Thanks, I'll give that a try. I didn't see the SUBSIDIARIES feature in the documentation at .../app/help/helpcenter.nl?fid=chapter_N3247851.html . Is there another list elsewhere that is more complete? Also, does anyone know if there is some sort of documentation that shows the feature differences between different account types?
d
not that I am aware, that featureId seems undocumented for whatever reason; usually I go off that list you linked otherwise
n
I see. Thanks, though!