I am sure this is a basic question, but I need to add some steps when releasing from Risk Hold.
I copied my Release From Hold commands and changed it to ReleaseFromRiskHold. Visual Studio Acuminator message: The signature of a method with the PXOverride attribute must match the override method.
I went into the Customization Project Code to have the system create the extension code for me. I did not find ReleaseFromRiskHold as an option.
Code:
public delegate IEnumerable ReleaseFromRiskHoldDelegate(PXAdapter adapter);
[PXOverride()]
public IEnumerable ReleaseFromRiskHold(PXAdapter adapter, ReleaseFromRiskHoldDelegate BaseMethod)
{
// my code here
return BaseMethod.Invoke(adapter);
}
Thank-you.