What causes the error SSS_TRANSACTION_REQD ? It ha...
# accounting
a
What causes the error SSS_TRANSACTION_REQD ? It has the message "That operation can only be performed when there is a transaction in progress". I'm getting it when a Workflow I was asked to modify creates a Credit Memo from a Return Authorization and applies the Credit Memo to the Invoice that the RA was created from. These operations all seem to work fine, so I'm not sure what's causing the error.
c
This error usually means the workflow or action script is trying to do “in-transaction” operations in a context where NetSuite does not consider a live transaction session. Most common culprit is a Workflow Action Script using currentRecord or UI-style apply logic. Fix is to handle the apply in a true server pattern (load the Credit Memo, set the Apply sublist, save), or split it into two steps so the apply happens after the CM is fully created.
1
a
Thanks! I'll check on that and see if that's what it's doing.
By the way, how did you find out that information? I couldn't find anything in internet searches, forums, AI, or documentation.