private static IEnumerable SelectWithExternalParameters(PXView view, ref int startRow, ref int totalRows, object [] pars = null) { IEnumerable list = view.Select( PXView.Currents, pars ?? PXView.Parameters, PXView.Searches, view.GetExternalSorts(), view.GetExternalDescendings(), view.GetExternalFilters(), ref startRow, PXView.MaximumRows, ref totalRows); return(list); }