Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Time stored in the EventCUD table

Posted on by 665

Can someone tell me why the time stored in the EventCUD table is 4 hours ahead?  When the notification emails are sent the time is 4 hours ahead and when I queried the EventCUD table I noticed the time stored there was 4 hours ahead.   If I look at the Notification List window inside of AX the time is correct.

Any ideas would be greatly appreciated.

Gary 

*This post is locked for comments

  • Gary Knue Profile Picture
    Gary Knue 665 on at
    Re: Time stored in the EventCUD table

    I resolved this by editing the createEmailParameterMap method of the EventActionEmail class.  I changed the line parameterMap.insert('occurred', datetime2str(_inobx.AlertCreatedDateTime,
    DateFlags::FormatAll)); to parameterMap.insert('occurred', datetime2str(DateTimeUtil::applyTimeZoneOffset(_inbox.AlertCreatedDateTime,DateTimeUtil::getUserPreferredTimeZone()), DateFlags::FormatAll));.  This is for AX 2009 SP 1.

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans