I'm trying to create a scheduled search that creat...
# suitescript
c
I'm trying to create a scheduled search that creates a CSV file, and am relying on SA 36206 for the sample code to adapt.  One problem:
Copy code
Fail to evaluate script: {"type":"error.SuiteScriptModuleLoaderError","name":"UNEXPECTED_ERROR","message":"ReferenceError: \"nlapiSearchRecord\" is not defined. (SS_SCRIPT_FOR_METADATA#10)","stack":[]}
I thought it a bit odd that a SS 1.0 function, nlapiSearchRecord would be in their sample code, but there it is:
Copy code
// Creating the search
var search = nlapiSearchRecord('transaction', 'customsearch93');

// Creating some array's that will be populated from the saved search results
var content = new Array();
var cells = new Array();
var temp = new Array();
var x = 0;
Am I missing something obvious?