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.
Before Submit Function vs Saved Record
Hi guys,
First of all thanks for your help and this forum. It is an invaluable help.
I am a bit confused with how Before Submit Function for User Event Script and Saved Record for Client scripts works.
All that I need to do is to execute a piece of code that loads a parent record, do something and submit such record. However I just want to do this for new records. Those existing records that are edited are excluded of this behaviour.
I have a problem here. If I place this code in a Client Script everything works fine but I can't predict whether the record being created is new or not. Or at least I have no idea how to do it.
0