Edit

Share via


An exception occurs during vendor invoice posting

Symptoms

You receive the following exception when posting a vendor invoice:

Exception has been thrown by the target of an invocation

Cause

This issue can occur because of inconsistency in purchase order distributions.

Resolution

To unblock this issue and reset the purchase order to a Draft state, go to Procurement and sourcing > Periodic tasks > Clean up > Purchase order distribution reset. For more information, see Resolve PO distribution errors in Dynamics 365 Supply Chain Management.