Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / No CoC next method found.
Finance forum
Unanswered

No CoC next method found.

Posted on by 56

Hello, Everyone!

I needed to create some custom implementation, so I deciced to use CoC.

But I got an error and can't figure out what the problem. Any help appreciated.

Error message: "No chain of command next method found in method 'approveline' of class 'PRMOrderLineAction_Hire_Extension'. The model being extended may be out of date, please recompile the model containing the element being extended."

Extentsion of class:

5706.pastedimage1646908394204v1.png

Already tried full build and full sync. 

Kind regards,

Maris

  • Maris Sausins Profile Picture
    Maris Sausins 56 on at
    RE: No CoC next method found.

    Thanks for your time ;)

    I guess I just needed to post it online, to figure it out.

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,417 on at
    RE: No CoC next method found.

    That would have been my next question - if you had a screenshot of the original method signature. Glad you figured out the issue.

  • Maris Sausins Profile Picture
    Maris Sausins 56 on at
    RE: No CoC next method found.

    Hi, Gunjan!

    Thank you for your response.

    Yes, you are right class belongs to ISV model.

    And I found out the reason why error was given, stupid mistake on my part incorrect method name: should be 'approveLine' instead of 'approveline'.

    Thanks for your time.

    We can close this. ticket.

    Kind regards,

    Maris

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,417 on at
    RE: No CoC next method found.

    Hi Maris,

    This class being extended doesn't look like a standard class. Are you extending it as it belongs to an ISV model?

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