my acumatica build: 22.215.0056
this is the original method to override:
public virtual void RefreshRates(RefreshFilter filter, List<RefreshRate> list)
this is the graph extended:
public class RefreshCurrencyRatesExt : PXGraphExtension<RefreshCurrencyRates>
{
public delegate void RefreshRatesDelegate(RefreshFilter filter, List<RefreshRate> list);
[PXOverride]
public void RefreshRates(RefreshFilter filter, List<RefreshRate> list, RefreshRatesDelegate baseMethod)
{
baseMethod(filter, list);
throw new Exception("");
}
}
here the error message:
Parameter count does not match passed in argument value count.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Parameter count does not match passed in argument value count.
any idea?