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 find the ID of the first custom record?
Hello,
How are you doing?
I am back .... with question.
How to find the minimum ID from a series of search criteria?
var searchFilters = new Array();
searchFilters[0] = new nlobjSearchFilter('internalid', null, 'is', 'ID', null);
searchFilters[1] = How shall I define this one? How to use the function min() in such case?
searchFilters[2] = new nlobjSearchFilter('internalid', null, 'is', 'custrecord_es_doc_status', null);
searchFilters[3] = new nlobjSearchFilter('custrecord_es_doc_status', null, 'is', '3', null);
searchFilters[4] = new nlobjSearchFilter('internalid', null, 'is', 'custrecord_es_sender_account', null);
searchFilters[5] = new nlobjSearchFilter('custrecord_es_sender_account', null, 'is', '1', null);
var searchresults = nlapiSearchRecord('customrecord_es_doc_hist', null, searchFilters, null);