Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
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.