web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

No CoC next method found.

(0) ShareShare
ReportReport
Posted on by 21

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

I have the same question (0)
  • Maris Sausins Profile Picture
    21 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
    35,421 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
    21 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
    35,421 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?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 823 User Group Leader

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 673 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 491 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans