Loading ...

Debug Executeselect In Extentsion Graph Of Acumatica

Hello everybody,

today I want to share how to debug method ExecuteSelect from Base in extension class:

public delegate IEnumerable exSelectDelegate(string viewName, 
object[] parameters,

object[] searches, string[] sortcolumns, bool[] descendings,
PXFilterRow[] filters, ref int startRow, int maximumRows, ref int totalRows); [PXOverride] public IEnumerable ExecuteSelect(string viewName, object[] parameters,
object[] searches, string[]
sortcolumns, bool[] descendings,
PXFilterRow[] filters, ref int startRow, int maximumRows, ref int totalRows,
exSelectDelegate f ) { IEnumerable result = null; try { result = f(viewName, parameters, searches, sortcolumns, descendings, filters, ref startRow, maximumRows, ref totalRows); } catch (Exception ex) { // analyze exception in some way } return result; }