“Exception has been thrown by the target of an invocation” - “Exception has been thrown by the target of an invocation”
Error message when we generate a Sales Order Invoice. This only happen when we generate an ECOM (Internet Order). but for the Sales Order Manually created in AX and process an Invoice this will not happen.
The error means that a .NET library threw an exception. You should find the call stack (to see where it occurred) and get the inner exception (to know what actually happened). Knowing that you have some exception somewhere isn’t enough.