When attempting to create a fund transfer, the following error occurs. Based on the format of the message, I believe this is not a SuiteScript error but rather a potential bug in NetSuite itself:
{ type: "error.SuiteScriptError", name: "UNEXPECTED_ERROR", message: "ReferenceError: "document" is not defined. (NLRecordScripting.scriptInit$lib#299)", id: "e3f03828-5b7a-4654-8aeb-267eaf14e970-2d323032352e30332e3035", stack: [ "Error\n at RecordInvoker.save (suitescript/resources/javascript/record/serverRecordService.js:371:13)\n at NetSuiteObject.thenableFunction() (suitescript/resources/javascript/record/proxy.js:115:24)\n at Object.map (/SuiteScripts/dev_suitecode/importacao_fundos_deposito/Transferencia Fundos/map_reduce/sc_tad_create_transfer_found_mr.js:254:57)" ], cause: { type: "internal error", code: "UNEXPECTED_ERROR", details: "ReferenceError: "document" is not defined. (NLRecordScripting.scriptInit$lib#299)", userEvent: null, stackTrace: [ "Error\n at RecordInvoker.save (suitescript/resources/javascript/record/serverRecordService.js:371:13)\n at NetSuiteObject.thenableFunction() (suitescript/resources/javascript/record/proxy.js:115:24)\n at Object.map (/SuiteScripts/dev_suitecode/importacao_fundos_deposito/Transferencia Fundos/map_reduce/sc_tad_create_transfer_found_mr.js:254:57)" ], notifyOff: false }, notifyOff: false, userFacing: true}
|
|---|
|