Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

How to use table.extension's event ModifyingFieldValue

(0) ShareShare
ReportReport
Posted on by 567

I want to do a field modification. For that, there is a event with the name - ModifyingFieldValue.

Sample -- 
[DataEventHandler(tableStr(Entity), DataEventType::ModifiedFieldValue)]
public static void Entity_onModifiedFieldValue(Common sender, DataEventArgs e)
{
}

Here, I don't have reference of field changed which I is present in table method i.e. Modifiedfield.

So please help me, how can i use onModifiedFieldValue event.

Thank you.

*This post is locked for comments

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,848 Most Valuable Professional on at
    RE: How to use table.extension's event ModifyingFieldValue

    Cast e to ModifyFieldValueEventArgs type and then call parmFieldName() method.

    You can see something very similar in this thread: Using pre/post event handlers on modifiedField() method of a table in case of customization.

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.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans