Skip to main content



No record found.

Microsoft Dynamics AX forum

Difference between Table Methods in ax

Posted on by 142

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?


  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,148 on at
    RE: Difference between Table Methods in ax

    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.

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,417 on at
    RE: Difference between Table Methods in ax

    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.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Difference between Table Methods in ax

    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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,914 Super User

Martin Dráb Profile Picture

Martin Dráb 225,549 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans