• Read line items for a specific Invoice order without using a loop for every order.

    using (DispatchObject soObject = new DispatchObject(pvx.InvokeMethod("NewObject", "SO_Invoice_bus", oSS.GetObject()))) { soObject.InvokeMethod("nSetKeyValue", new object[] { "InvoiceNo$", strRefNumber }); int rt = (int)soObject.InvokeMethod("nFind…