Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Problem accessing itemid
I'm currently working on a .ss script which we're using within product web pages on our web site. In order to be usable, I'm having to avoid loading full product records, as this leads to seconds of lag. Instead, I'm using nlapiLookupField as per Netsuite's best practice guidelines, but am having an issue getting product itemid value in the SSP context.
If I run nlapiLookupField('inventoryitem','12345','itemid') from the browser console, Netsuite correctly returns the itemid. If I do the same thing in the .ss script, it returns null.
If I run nlapiLookupField('item','12345','itemid'); from the console, it returns the correct result. If I run it in .ss, it returns the item's display name instead.