Discussions
US ACH XML script error
Hi, I'm new to script writing but have tried my hand at making a NetSuite payment file for HSBC US ACH XML, basing it on what HSBC sent me. I've get the following errors, but I don't know what it means or how to make sense of it, and I don't see any similar fields to what is in my XML template file:
EP_00013 FreeMarker errors were found in the custom payment file template. See logs for more details. For information, see the Working with Advanced Templates topic in the Help Center.
{"type":"error.SuiteScriptError","name":"UNEXPECTED_ERROR","message":null,"stack":["renderAsString(N/render)","renderAsString(/SuiteBundles/Bundle 367156/src/lib/wrapper/9997_NsWrapperTemplateRenderer.js:42)","generateFile(/SuiteBundles/Bundle 367156/src/app/9997_EPPaymentFileGenerator.js:32)","execute(/SuiteBundles/Bundle 367156/src/comp/ss/9997_payment_file_generator_ss.js:148)"],"cause":{"type":"internal error","code":"UNEXPECTED_ERROR","details":null,"userEvent":null,"stackTrace":["renderAsString(N/render)","renderAsString(/SuiteBundles/Bundle 367156/src/lib/wrapper/9997_NsWrapperTemplateRenderer.js:42)","generateFile(/SuiteBundles/Bundle 367156/src/app/9997_EPPaymentFileGenerator.js:32)","execute(/SuiteBundles/Bundle 367156/src/comp/ss/9997_payment_file_generator_ss.js:148)"],"notifyOff":false},"id":"08bf407e-3336-496d-84bd-9f7ec7957116-2d323032312e31312e3137","notifyOff":false,"userFacing":false}