web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

After modification get the previous value of a field of a DataSource in a DataSet

(0) ShareShare
ReportReport
Posted on by

My requirement is to send an email to a person to inform him/her that a field on the EP web control is changed. I need to mention the previous value and the current value of that field. Can someone help me how to get previous value of a field in its modified method?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Jonathan  Halland Profile Picture
    11,310 on at

    Hi Numan.

    You can use standard Dynamics AX alerts to do exactly this. technet.microsoft.com/.../aa834468.aspx

    It can show before and after values as well as emailing users the notification. E.G. When the status of a sales order changes

  • Community Member Profile Picture
    on at

    You probably should use alerts like suggested by Jonathan, but if you ever really need to get the old value on modified() use myDataSource.orig().myField value.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 3

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Mea_ Profile Picture

Mea_ 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans