# HG changeset patch # User david.miguelez # Date 1597320445 -7200 # Node ID 549b862163904b16497464996bed1af5b4828dda # Parent 89b0b6a30dafefc278f33727a9bb2125ce2f1c7c Related to ISSUE-44780. Code Review Changes: * Prevents API change by overloading the existing method diff -r 89b0b6a30daf -r 549b86216390 src/org/openbravo/erpCommon/ad_reports/AgingDao.java --- a/src/org/openbravo/erpCommon/ad_reports/AgingDao.java Wed Aug 12 09:00:14 2020 +0200 +++ b/src/org/openbravo/erpCommon/ad_reports/AgingDao.java Thu Aug 13 14:07:25 2020 +0200 @@ -74,6 +74,16 @@ public FieldProvider[] getOpenReceivablesAgingSchedule(ConnectionProvider connectionProvider, String strcBpartnerId, String strAccSchema, Date currentDate, String strcolumn1, String strcolumn2, String strcolumn3, String strcolumn4, String strOrg, + Set organizations, String recOrPay, boolean showDoubtfulDebt, boolean excludeVoids) + throws IOException, ServletException { + return getOpenReceivablesAgingSchedule(connectionProvider, strcBpartnerId, strAccSchema, + currentDate, strcolumn1, strcolumn2, strcolumn3, strcolumn4, strOrg, organizations, + recOrPay, showDoubtfulDebt, excludeVoids, false); + } + + public FieldProvider[] getOpenReceivablesAgingSchedule(ConnectionProvider connectionProvider, + String strcBpartnerId, String strAccSchema, Date currentDate, String strcolumn1, + String strcolumn2, String strcolumn3, String strcolumn4, String strOrg, Set organizations, String recOrPay, boolean showDoubtfulDebt, boolean excludeVoids, boolean excludeReverseds) throws IOException, ServletException { @@ -214,6 +224,17 @@ * This method returns an array of fieldProviders with the necessary information to print the * Aging Schedule Details report. */ + + public FieldProvider[] getOpenReceivablesAgingScheduleDetails( + ConnectionProvider connectionProvider, Date currentDate, SimpleDateFormat dateFormat, + Currency convCurrency, Set organizations, String recOrPay, String strcolumn1, + String strcolumn2, String strcolumn3, String strcolumn4, String strcBpartnerId, + boolean showDoubtfulDebt, Boolean excludeVoid) throws IOException, ServletException { + return getOpenReceivablesAgingScheduleDetails(connectionProvider, currentDate, dateFormat, + convCurrency, organizations, recOrPay, strcolumn1, strcolumn2, strcolumn3, strcolumn4, + strcBpartnerId, showDoubtfulDebt, excludeVoid, false); + } + public FieldProvider[] getOpenReceivablesAgingScheduleDetails( ConnectionProvider connectionProvider, Date currentDate, SimpleDateFormat dateFormat, Currency convCurrency, Set organizations, String recOrPay, String strcolumn1,