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.
REQUEST. Add explicit error code for a "Record does not exist" condition.
Hello.
I'm writing an application that processes situations when a request (get, getList, update, updateList, delete or deleteList) is made against a record that was deleted. This scenario is part of a normal flow, but NetSuite does not have explicit error code for this situation. The error is reported using USER_ERROR error code and message "That record does not exist."
Is it possible to make this error condition mode suitable for automatic processing by assigning it a distinct error code, like RECORD_NOT_FOUND?
0