RE: How to Create a Revenue Arrangement in SuiteScript 2.1

We want to create Revenue Arrangements in script. The script errors out on the .save() operation. Without options it throws a permissions error:

“name”:”INSUFFICIENT_PERMISSION”,
“message”:”You do not have permission to perform this operation.”

With options like

var revArrangementId = revArrangement.save({ enableSourcing: true, ignoreMandatoryFields: true });

it instead throws a user error:

“name”:”USER_ERROR”,
“message”:”Please enter value(s) for: Revenue Element”

Of course, we are populating (we think) the Revenue Element lines and committing them.

What are we missing?

Thanks in advance for any insight.

texhood Rookie Asked on October 10, 2024 in Revenue Recognition.
Add Comment
3 Answers

In which script type are you creating Revenue Arrangement record? And what is the execute role for that script. You have to check that script type and role and confirm that has permission to Revenue Arrangement record.

Rookie Answered on October 15, 2024.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.