Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

Method not found: Dynamics.Ax.Application.VendOutPaymAdviceDP_CHDTA.Getlistecoresproductcategoryinsert

Posted on by Microsoft Employee

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!

  • Ganriver1 Profile Picture
    Ganriver1 1,531 on at
    RE: Method not found: Dynamics.Ax.Application.VendOutPaymAdviceDP_CHDTA.Getlistecoresproductcategoryinsert

    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.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Method not found: Dynamics.Ax.Application.VendOutPaymAdviceDP_CHDTA.Getlistecoresproductcategoryinsert

    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

  • Suggested answer
    Lee Bailey Profile Picture
    Lee Bailey 340 on at
    RE: Method not found: Dynamics.Ax.Application.VendOutPaymAdviceDP_CHDTA.Getlistecoresproductcategoryinsert

    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?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans