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?

Rookie Asked on May 16, 2022 in SuiteScript.
Add Comment
3 Answer(s)

Could you please share a snippet of your script.

Thanks,

Chris

Intermediate Answered on May 17, 2022.
Add Comment

function doGet(params) {

var salesOrderId = params.salesOrderId;

const salesOrder = record.load({
type: record.Type.SALES_ORDER,
id: salesOrderId
});

Rookie Answered on May 17, 2022.
Add Comment

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

Intermediate Answered on May 18, 2022.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor   Become a Sponsor