Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
script to find rev rec schedules
I am using api suitescript to pull information from rev rec schedules.
Basically I need to pull all rev rec schedules belonging to a particular
cash sale.
I have tried all possible methods but there seems to be no field on
Rev Rec Schedules which will allow filtering the search.
My code is :
var rrfilters = new Array();
rrfilters[0] = new nlobjSearchFilter('internalid', null, 'noneOf', '@NONE@');
rrfilters[1] = new nlobjSearchFilter('sourcetran', null, 'anyOf', csrid);
var rrsresults = nlapiSearchRecord('revrecschedule', null, rrfilters, null)
But it seems sourcetran as a filter is not supported it gives error messasge
'invalid search filter'
Any tips that I can filter Rev Rec Schedules based on Transaction or Customers.