Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
How to create a Revenue Arrangement in SuiteScript 2.1
Our goal is to create Revenue Arrangements from Sales Orders in a SuiteScript 2.1 User Event or Scheduled Script. The script errors on the save operation for the Revenue Arrangement.
var revArrangementId = revArrangement.save(); results in a permissions error.
var revArrangementId = revArrangement.save({ enableSourcing: true, ignoreMandatoryFields: true}); results in a USER ERROR Please enter values for the Revenue Element ids even though each Revenue Element was assigned an id.
What are we missing?
Tagged:
0