RE: How to write script to avoid duplicate record creation before record submit using suitescript 2.0
I want to create a user event script to avoid custom record creation if record is duplicate.
Also this custom record is being attached to another custom record. I have to stop from creating and attaching custom duplicate record.
Beginner Asked on February 23, 2023 in SuiteScript.
In beforeSubmit you can run a search and check that there is no existing record. Would that work for you?