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.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Is there a way to pass Item List to beforeSubmit()?
I have a requirement to create Vendor Credit using SuiteTalk(web services). But it looks like vendor Credit is not supported by SuiteTalk(web services). So I am trying to use SuiteScript User Event, beforeSubmit(). This is how I am trying to do it,
1. call NetSuitePortType.add(Record) by passing a vendor bill object.
2. Include script in vendor bill record's beforeSubmit() method to get all the values from vendor bill record (when vendor bill is submitted using NetSuitePortType.add(Record))and create a vendor credit object.
3. some how stop the creation of vendorbill, (since i dont want to crete vendor bill, I just need vendor credit)
0