APInvGrpSvcContract no longer has UnlockGroup(<group>) method in 10.2.400

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);
            }
        }

Hi,
Appreciate this is an old post - but just in case someone else comes across this - the new method is UnlockAPGroup - parameters of group name and the TableSet:

APInvGrp.UnlockAPGroup(GroupName,ref APInvGrpTS);

Mark