Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : fjU7fT8V2lCxgD9eOOB6Zr
Microsoft Dynamics AX (Archived)

Pre and Post event handlers not getting triggered in Ops while doing an integration from Dynamics 365 for Sales to CDS (Common Data Services) to Dynamics 365 for Finance and Operations

Like (0) ShareShare
ReportReport
Posted on 26 Nov 2017 22:46:47 by

Greetings!

 I'm helping a customer do an integration between Sales > CDS > Ops. We are dealing with custom data entities here. Now, the integration works well and whenever I create a record in Sales, it will synchronize with CDS and Ops. All good.

The problem comes, when in Ops, i have some additional logic written in pre and post event handlers and the code written in those event handlers doesn't trigger. Is this a limitation or a bug with CDS that it doesn't understand or respects the event handlers in Ops? Has anyone faced thiss issue? I though this should have been taken care of as part of the out of the box integration.

Also, I have delved into the Propsect to Cash templates, supplied by Microsoft and have found that in Ops in AOT, I can see CDS related specific data entities for e.g. say smmContactPerson and also there is a Test Class for each of the entity used in Prospect to Cash. However, I'm not able to see the code for the class in VS (AOT). Do we have to do anything special when we are writing custom entities for the intergration between Sales > CDS > Ops

Please note when I use Flow, the event handlers work perfectly and I can also debug through the whole code. Even, with Excel add-in, there's no issues with the event handlers in ops. It's just with CDS they don't get triggered.

Also, lastly , i want to know is there a release date for the bi-directional integration between Sales and Ops via CDS?

Cheers,

Dilip

*This post is locked for comments

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,289 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,064 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete