Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Due Date Alert More than 4 months

Posted on by Microsoft Employee

Hello Everyone,

Is there a way that we can set up due date alert for more than 4 months. We have a requirement for 6 months which I dont find the option on the "Create Alert rule- batches" screen. 

Screenshot attached. 

2018_2D00_11_2D00_06_5F00_1036.png

Thanks,

Arvind

*This post is locked for comments

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,240 Super User 2024 Season 2 on at
    RE: Due Date Alert More than 4 months

    Hi Arvind,

    It is related to experience. Initially, I looked at the alert creation form and a related class of that form, but it was a bit abracadabra for me. Then I searched for an enumeration starting with "Event" as most of the objects related to the alert functionality starts with this prefix. Then you can use the EventDueDays as bse for cross reference or a metadata search.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Due Date Alert More than 4 months

    Thank you Andre. It did fix my issue.

    1. Added a new element for 6 months on EventDueDays

    2. Modified the method dueDays2date on EventTypeDue class.

    Switch statements were modified to get the 6 months value.

    Quick question - new to this AX development, probably an off topic question -  how did you find these components were involved with this this things. Is it from the experience :) ?

    My method was I found the enum(luckly) and added the new element. The batch job history gave me an error that the following class/method cannot be executed. So I found the class and method from error message to fix it and add a new switch statement.

    Regards,

    Arvind

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Due Date Alert More than 4 months

    Hi Arvind,

    Just thinking whether the standard MSOutlook synchronization feature would be an alternative option for you that does not require a customization?

    If you simply create a task or appointment in AX and sync it with Outlook you can make use of the default Outlook reminders, etc.

    Here some posts how this can work:

    https://dynamicsaxtipoftheday.com/2013/11/13/synchronize-dynamics-ax-with-microsoft-outlook/

    https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/synchronize-with-microsoft-outlook

    Maybe think about this as an alternative and 'cheap' workaround.

    Best regards,

    Ludwig

  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,240 Super User 2024 Season 2 on at
    RE: Due Date Alert More than 4 months

    Hi Arvind,

    A small hint... The enum EventDueDays is having the list with options. It is possible to add a new value. Then have a look at the class EventTypeDue (method dueDays2date()) how you can calculate 6 months.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Due Date Alert More than 4 months

    Thanks Andre. I did check few tables and classes like EventRule, EventRuledata.. I dont think there is a value that I can adjust or add.

    Is there any other way to achieve this same functionality for the field level alerts ?

    Thank you once again for your response.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,240 Super User 2024 Season 2 on at
    RE: Due Date Alert More than 4 months

    Hi Arvind,

    I think it would be possible to customize it and add an option for 6 months. I haven't done it myself, so can't guide you how to start.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans