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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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