Hi,
I want to execute a custom logic when the user click the Release button, but only if the Release process completes successfully. How I can get the error message from the release process? This is my code.
[PXOverride]
public IEnumerable Release(PXAdapter adapter, ReleaseDelegate baseMethod)
{
baseMethod(adapter);
_inservice.UpdateItemLocation(Base, itemloc.Cache, AddOrSubstract.Add, Base.transactions.Cache);
Base.Save.PressButton();
return adapter.Get();
}
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/3dbd83b1-d8bd-4a92-8c97-649733c369b3.png)
Thanks,
EV
Best answer by edsonvelez64
View original