Tuesday, February 7, 2023

Difference between Coc and Event Handler in D365

Event Handler                                                                                       coc

1.Post Event Handler is static, does not allow you to         1. allow all methods in coc

 have access to protected members of a class                 

                               

2.                                                                                         2.The advantage of chain of command is                                                                                                         you  can share the same method variables                                                                                                    in the pre and post (before/after next()                                                                                                        call) or share the same tts block inside                                                                                                           your COC method. 

No comments:

Post a Comment

Installing a New Package in D365 F&O Development Environment

  Introduction Installing and updating packages in the development environment is a common activity in Microsoft Dynamics 365 Finance . To ...