darrenhillconsulting
09/17/2025, 3:19 PMCeligo AI
09/17/2025, 3:19 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems that you can use the
runtime.isFeatureInEffect({ feature: 'SUBSIDIARIES' })
function to check if the 'SUBSIDIARIES' feature is enabled or not. This function returns a boolean value indicating whether the specified feature is enabled in the current account. If the feature is enabled, it means that the account is a OneWorld account. If not, it's a NonOneWorld account.
However, it's important to note that this method is not officially documented by NetSuite, so use it with caution. Also, keep in mind that some accounts may be provisioned as "one world" but limited to one subsidiary. So, depending on your end goal, you might need to count the actual number of subsidiaries instead of just checking the feature.
Here's a sample code snippet:
javascript
var isOneWorld = runtime.isFeatureInEffect({
feature: 'SUBSIDIARIES'
});
In this code, isOneWorld
will be true
if the account is a OneWorld account, and false
if it's a NonOneWorld account.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
09/17/2025, 3:19 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.867919922
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.864318907
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.864135742
Celigo AI
09/17/2025, 3:19 PMCeligo AI
09/17/2025, 3:21 PMCeligo AI
09/17/2025, 3:21 PM