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.
Don't miss out on our Weekly Quiz! You only have until May 30, 2PM EST to comment your answers and earn rewards! Click here for more details.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

Problem with a saved search of the type Revenue Recognition Schedule

edited Jan 3, 2020 1:11AM in Search / Reporting


I have created a saved search of the type Revenue Recognition Schedule (recrecschedule). It's public and work fine executed in the GUI.

When I try to do a search in my saved search from my scheduled script I get the error "That search or mass update does not exist."

Here is my code:

 var searchresults = nlapiSearchRecord('revrecschedule', 'customsearch_week_stat_2', null, null);   

If I try to search directly against the record type like below, everything works as expected - no error.
 var searchresults = nlapiSearchRecord('revrecschedule', null, null, null);   

I have tried to do a search against other saved searches of other rec types without any problem.

Howdy, Stranger!

Log In

To view full details, sign in.


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


Community Whiz

Quarter 2 ((Apr-Jun 2024) )

This Week's Leaders

This Month's Leaders

All Time Leaders