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
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156