either im losing it or there is a simple typo tha...
# suitescript
s
either im losing it or there is a simple typo that I am missing ReferenceError: runtime is not defined [at Object.getInputData (/SuiteScripts/massfufil/fufiletask.js1521)]
Copy code
/**
 * @NApiVersion 2.1
 * @NScriptType MapReduceScript
 * @NModuleScope SameAccount
 */
define([
  "N/error",
  "N/record",
  "N/search",
  "N/email",
  "./shippingrules.js",
  "N/runtime"
], function (error, record, search, email, shipvia, runtime) {
  function getInputData(params) {
    var searchid = runtime
      .getCurrentScript()
      .getParameter({ name: "custscriptinput" });