Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
nlapiGetContext().getSetting() returns null
I have the following code in version 2007.1.1:
var featureEnabled = nlapiGetContext().getSetting('FEATURE', 'MULTILOCINVT'); When this gets called, featuredEnabled is null. Multi-location inventory is turned on for this account. Am I doing something wrong here? I also tried 'ADVINVENTORYMGMT' and I tried getting a permission setting (getSetting('PERMISSION', 'ADMI_ACCOUNTING') and they all return null as well.
Thanks.
0