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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 689
André Arnaud de Cal... 606 Super User 2026 Season 1
CP04-islander 356