Matthew
09/26/2024, 5:59 PMFail to evaluate script: {"type":"error.SuiteScriptModuleLoaderError","name":"{stack=[Ljava.lang.Object;@255c5601, toJSON=org.mozilla.javascript.InterpretedFunction@610c2018, name=MODULE_DOES_NOT_EXIST, toString=org.mozilla.javascript.InterpretedFunction@6e09e89a, id=, message=Module does not exist: /SS_SCRIPT_FOR_METADATA.js, TYPE=error.SuiteScriptModuleLoaderError}","message":"","stack":[]}
This is the script that I am uploading:
/**
*@NApiVersion 2.x
*@NScriptType MapReduceScript
*/
define(['N/Search', 'N/Record', 'N/Log'],
function(search, record, log){
function getData(){
//extract data
}
function ItemVendorMap(context){
//processing data
}
function reduce(context){
//if task is big then we use this as well
}
function summarize(summary){
//handling the text data and logging test data
}
return{
getInputData: getData,
map: ItemVendorMap,
reduce: reduce,
summarize: summarize
};
});
Anthony OConnor
09/26/2024, 6:03 PM'N/search'
, 'N/record'
Anthony OConnor
09/26/2024, 6:03 PMMatthew
09/26/2024, 6:07 PMShawn Talbert
09/26/2024, 6:26 PMMatthew
09/26/2024, 6:57 PM