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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Axboundfield's ondatachanged event do not fire in case of Date field

(0) ShareShare
ReportReport
Posted on by 928

Hello everyone,

I have noticed that ondatachanged event does not fire in case of changes in "Date" field.

Here is my code;

7455.Screenshot_5F00_6.png

Here when I change worker Ondatachange event fires but no response in case of start date and end date.

7180.Screenshot_5F00_7.png

Due to this issue, my workflow submits button to appear and does not submit the newly changed date instead it submit old date which is stored in the table.

Is there any workaround on how to save the date to backend table on date change?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    BrandonSA Profile Picture
    1,673 on at

    Hi

    Try to use the modified() method instead.

    I could be wrong - I'm open to correction on this one - but modified() fires whenever the field is modified. ondatachanged() fires when the field is modified AND saved.

  • Khurshid Wali Profile Picture
    928 on at

    Thankyou BrandonSA for your reply,

    I tried that that too. date lookup does not hit any event handler on EP.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans