Notifications
Announcements
No record found.
Hi dears,
What are the exact differences among the aosvalidateupdate, validateupdate, and update method in ax?
which one can be used as a trigger in the table?
thanks.
The first two are for validations before update the record
aosvalidateupdate is for when you update a table object
validateupdate is when the table record is updated
update is for you call the database for update that record
Hi Danial,
I don't think there is any method "validateUpdate". There is validateWrite method which is executed when a record is written to the database.
You can check this link for details regarding all table methods.
Hi Danial, any of these methods (aosValidateUpdate, validateWrite, update) can be used as a trigger for your code.
Usually you would want to trigger your code when a record is updated. In that case you should hook your code in update method/event.
But if you want to add your custom validations before the record is written, then you should hook in validateWrite.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 664 Most Valuable Professional
André Arnaud de Cal... 522 Super User 2025 Season 2
Sohaib Cheema 303 User Group Leader