Skip to main content

Notifications

Announcements

No record found.

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 Microsoft Employee

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: After modification get the previous value of a field of a DataSource in a DataSet

    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.

  • Suggested answer
    Jonathan  Halland Profile Picture
    Jonathan Halland 11,306 on at
    RE: After modification get the previous value of a field of a DataSource in a DataSet

    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

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans