Closed dalabin closed 2 months ago
Thank you @dalabin for opening the issue. My guess is that the types compared here are System.DateTime and Dynamics.Ax.Xpp.AxShared.utcdatetime. The correct one should be the later since utcdatetime is the struct wraper that X++ uses.
My guess is the type that is being assigned to "utcdatetime" keyword is incorrect (System.DateTime) and the one that is infered from DateTimeUtil::newDateTime() function is utcdatetime, which is correct.
Should be fixed with 6f5bb44. Also, implicit conversion for date and datetime were added.
Could you please try?
@milnet92 , Thanks a bunch, it works perfectly!
I've got the following error during assignment UTCDateTime edt.