Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

DYN365 FO VendEditInvoice PostInvoice fails after Post Event Handler

(0) ShareShare
ReportReport
Posted on by 105

It is my understanding that the post event handler will work in case you what to do something after the event, right? I have implemented other post event handlers in the past and if the event fails it did no hit the post event handler, which is what I would expect, except that in the VendEditInvoice Post postInvoice Event Handler it does not happen this way.

I want to update the status of a record in my table only if the invoice is posted, so I program this in the Post postInvoice Event Handler. As I debug, I discover that the post event handler is hit and then the invoice fails to post!

Is this really the expected behavior? If so, witch event should I use to update my record status?

Thanks in advance.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans