Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Don't miss out on our Question of the week! You only have until tomorrow, May 23, 2024, 2PM ET to comment your answers and earn rewards! Click here for more details.
Community Poll: What sort of content would you like to see more of?

script to find rev rec schedules

edited Dec 2, 2019 6:00PM in SuiteCloud / Customization

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.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 2 ((Apr-Jun 2024) )

This Week's Leaders

This Month's Leaders

All Time Leaders