public List <AccountsReceivableAgeingReport> GetAccountsReceivableAgeingReportForSA(ReportAccountsReceivableAgeingSearch AccountsReceivableAgeingSearchObj) { List <AccountsReceivableAgeingReport> accountsReceivableAgeingReportList = null; try { accountsReceivableAgeingReportList = _reportRepository.GetAccountsReceivableAgeingReport(AccountsReceivableAgeingSearchObj); } catch (Exception ex) { throw ex; } return(accountsReceivableAgeingReportList); }
public List <AccountsReceivableAgeingReport> GetAccountsReceivableAgeingReport(ReportAccountsReceivableAgeingSearch AccountsReceivableAgeingSearchObj) { List <AccountsReceivableAgeingReport> accountsReceivableAgeingReportList = null; try { accountsReceivableAgeingReportList = _reportRepository.GetAccountsReceivableAgeingReport(AccountsReceivableAgeingSearchObj); if (accountsReceivableAgeingReportList != null) { accountsReceivableAgeingReportList = accountsReceivableAgeingReportList.Where(C => C.InvoiceType == "RB").ToList(); } } catch (Exception ex) { throw ex; } return(accountsReceivableAgeingReportList); }