Personally I would try to use the native Duplicate...
# suitescript
e
Personally I would try to use the native Duplicate Detection functionality of Online Forms
👍 1