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.
Help With Saved Search Filter
Hi,
I'm trying to search a custom record using a filter for the ID. Unfortunately, according to the execution log, the search is still returning all of the records when there should just be 1. Any idea why my filter doesn't seem to be working? Thanks!
var prodCatFilter = new Array();
prodCatFilter[0] = new nlobjSearchFilter('id',null,'is',productCategoryId);
var prodCatSearch = nlapiSearchRecord('customrecord_tcc_supp_pdt_cat_list',null,prodCatFilter,null);
if(prodCatSearch != '' && prodCatSearch != null){
var testData = JSON.stringify(prodCatSearch);
nlapiLogExecution('DEBUG', 'search data: ', testData);