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!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Client script - edit sublist that's not visible?
I'm trying to add a new employee to the sales rep assignment sub tab. The issue is, for this particular custom customer form, the sales rep assignment tab is hidden and needs to stay hidden.
I can get the current sales rep in the same form by using
var currentSalesRep = nlapiGetLineItemValue('salesteam','employee',1);
even with the tab being hidden. However, when I try to use
nlapiSelectNewLineItem("salesteam");
nlapiSetCurrentLineItemValue("salesteam", "employee", salesRepId, true, true);
to add a new sales rep, I get the error JS_Exception
TypeError cannot read property 'checkvalid' of null.
If I make the tab visible, the script works fine. Does anyone know if there is a work around or better way to do this? Thanks in advance.