Hi,
trying to upgrade 10.1.600 to 10.2.400.
We have a method call where we want to post groups as below and we used the UnlockGroup method as part of this but now it is longer part of the APInvGrp service in 10.2.400. I assume there is a new way to do this?
public void PostApGroup(string company, string groupId)
{
Session.SetCompany(company);
using (var service = ServiceRenderer.GetService<APInvGrpSvcContract>(Db))
{
service.UnlockGroup(groupId);
}
using (var service = ServiceRenderer.GetService<APInvoicePostSvcContract>(Db))
{
var invoice = new APInvoicePostTableset();
service.GetDefaults(ref invoice);
invoice.APInvoicePostParam[0].GroupID = groupId;
service.RunDirect(invoice);
}
}