We are using sage 100 2019 and developing c# code for creating invoice in sage.i am able to create sales orders in sage with BOI but whenever i am creating invoice it is throwing error
{"Exception has been thrown by the target of an invocation."}
code retVal = so_order.InvokeMethod("nAddLine");