While creating scripts for NetSuite OneWorld and Mid-market accounts, we can make use of the feature
runtime.isFeatureInEffect(‘SUBSIDIARIES’))
returns true if Subsidiary is present and thereby denoting One World account.
returns false if Subsidiary is absent and thereby denoting Mid-market account.
runtime.isFeatureInEffect(‘MULTISUBSIDIARYCUSTOMER’))
returns true if Subsidiary is present and thereby denoting One World account.
returns false if Subsidiary is absent and thereby denoting Mid-market account.