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.
UNEXPECTED_ERROR thrown by filter object
I have been testing a script that will be a server-side script. Essentially what it is doing is that it looks up active contracts in a custom table, Customrecord_Contracts. It will use the contract number to search the Sales Order table for all sales orders associated with this contract. The weight from each of these orders is then subtracted from the initial contract balance and the balance will be updated in the contracts table (when I get there).
Anyway the problem occurs with I run the line, "var transsearch=nlapiSearchRecord('salesorder',null,tsfilter,tscolumn). When I replace 'tsfilter' with 'null' the search works, so the problem is obvously in the filter object, "var tsfilter=new nlobjSearchFilter('custcol_contract',null,'is',contractname)". I have tried different operators but still the same error.