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.
how to access list of sales team members on an invoice record
i'm trying to access the list of sales reps on an invoice (we have 'sales team' turned on)
filters[0] = new nlobjSearchFilter('internalid',null,'equalTo',invRecord.getId());
columns[0] = new nlobjSearchColumn('salesteam_employee','salesteam')
columns[1] = new nlobjSearchColumn('salesteam_contribution','salesteam')
try{results = nlapiSearchRecord('invoice',null,filters,columns)}
gives INVALID_SEARCH_JOIN_ID
is this list accessible? how would i set the reps on an invoice?
i need to do this because we create invoices from an xml import; the external billing engine doesn't know who the sales reps are for each customer (some customers have several reps); so we need code to read the customer's sales reps and apply it to invoices as they're created by the xml import