MEMORIZED_TRANS_ERROR
I’m getting `error code: MEMORIZED_TRANS_ERROR`. The full error says:
`Attempting to access memorized transaction as a non-memorized transaction.`
Can someone tell me what this means and how to fix it?
Could you please share a snippet of your script.
Thanks,
Chris
function doGet(params) {
var salesOrderId = params.salesOrderId;
const salesOrder = record.load({
type: record.Type.SALES_ORDER,
id: salesOrderId
});
…
I think the only explanation for this is that the sales order id being passed in is for a memorized sales order rather than a regular one.
Memorized transactions need to be loaded differently:
https://netsuite.custhelp.com/app/answers/detail/a_id/91244