This line
InvoiceService.GetNewAPInvDtlMiscellaneous(ref apInvTS, nVendorNum, strInvoiceNum);
is killing my kinetic function. Not sure why. Have any of you seen this before? Variable declarations are below followed by the line again as it resides in my function.
var InvoiceService = Ice.Assemblies.ServiceRenderer.GetService<Erp.Contracts.APInvoiceSvcContract>(context);
InvoiceService = Ice.Assemblies.ServiceRenderer.GetService<Erp.Contracts.APInvoiceSvcContract>(context);
var apInvTS = new Erp.Tablesets.APInvoiceTableset();
string strInvoiceNum = 6455903790;
int nVendorNum = 221067;
InvoiceService.GetNewAPInvDtlMiscellaneous(ref apInvTS, nVendorNum, strInvoiceNum);