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, ...
Answered

What is the main difference between Coc and Event Handlers and drawback of using coc and event handlers

(0) ShareShare
ReportReport
Posted on by

I try to find out but i not get where to use coc and where to use event handlers.

I have the same question (0)
  • Martin Dráb Profile Picture
    235,243 Most Valuable Professional on at
    RE: What is the main difference between Coc and Event Handlers and drawback of using coc and event handlers

    Yagnik, please create a separate thread about your scenario about discAmount variable. The topic of this thread is different.

    Note that I don't know what you mean by "we not create new method in event handler".

  • Yagnik Profile Picture
    on at
    RE: What is the main difference between Coc and Event Handlers and drawback of using coc and event handlers

    Yes I read that but that is not clear my doubts that saying that we not create new method in event handler mean, we not create new event handler right? and what if I have this condition that,

    salestable form contain global variable called disc Amount

    amount is calculate based on provided disc percentage on salesline datasource insert method

    want to change logic using event handler

  • Verified answer
    André Arnaud de Calavon Profile Picture
    296,568 Super User 2025 Season 2 on at
    RE: What is the main difference between Coc and Event Handlers and drawback of using coc and event handlers

    Hi Yagnik,

    I can remember a similar question with valuable replies. You may find your answer here. Event handler vs Chain of command - Dynamics 365 Finance Forum Community Forum

  • Suggested answer
    Komi Siabi Profile Picture
    12,993 Most Valuable Professional on at
    RE: What is the main difference between Coc and Event Handlers and drawback of using coc and event handlers

    Hello,

    Same question has been answered here. Please check.

    community.dynamics.com/.../difference-between-coc-and-event-handler-in-d365

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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 261 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 253 Most Valuable Professional

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 210 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans