
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 have the same question (0)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.