Announcements
Hi guy,
I've created a service in Dynamic AX to transfer data for a third application. It has ran in a long time with no error, but recent day I've caught an error
In my service, I get all data of an object in Dynamic AX, example: Vend, EcoResProduct, ...
Method not found: 'Microsoft.Dynamics.Ax.Xpp.List Dynamics.Ax.Application.VendOutPaymAdviceDP_CHDTA .Getlistecoresproductcategoryinsert(Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime, Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime, Int32)'
Can you show what's problem in my service? My environment is Dynamic AX 2012 R2
Thanks!
*This post is locked for comments
I suggest to clear xppil, then do a full compile.
if still getting same error, then check parameter problem as you found, why is it null, have you handle null in method.
Thank you for your response.
I've investigated error and saw that datatime data of parameter is null was transfered into method "Getlistecoresproductcategoryinsert" from the third party application
Without more information it is difficult to say, but the error states that the Method "Getlistecoresproductcategoryinsert" does not exist in the class "VendOutPaymAdviceDP_CHDTA". That method is not part of the standard class so unless that has been added in your environment then the error is correct. The question is why is your service calling that method in that class? have you modified the service recently?
In the first instance I would do an XPP compile and CIL and then see if the problem still exists?
André Arnaud de Cal...
294,261
Super User 2025 Season 1
Martin Dráb
232,996
Most Valuable Professional
nmaenpaa
101,158
Moderator