Hello wonderful community!
Got a puzzeling issue here. I’m trying to void packs via async BPM and the void method just does not do anything in async. When I switch the code to sync, it works like a charm. Any ideas?
myPackageControlPackVoidDataSet = new Erp.Tablesets.PackageControlPackVoidTableset();
using (CallContext.Current.TemporarySessionCreator.SetPlantID(myPlant).Create())
{
using (var customerShipSvc = Ice.Assemblies.ServiceRenderer.GetService<Erp.Contracts.CustShipSvcContract>(Db))
{
customerShipSvc.VoidPackSlip(myPackNum, ref myPackageControlPackVoidDataSet);
}
}