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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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