示例#1
0
 private List<BudgetDetail> populateCurrentYearBe() {
   BudgetDetail detail = new BudgetDetail();
   detail.copyFrom(budgetDetail);
   detail.setBudget(null);
   return budgetDetailService.searchByCriteriaWithTypeAndFY(
       budgetDetail.getBudget().getFinancialYear().getId(), "BE", detail);
 }
示例#2
0
 private List<BudgetDetail> populateNextYearBe(CFinancialYear finYear) {
   BudgetDetail detail = new BudgetDetail();
   detail.copyFrom(budgetDetail);
   detail.setBudget(null);
   Date nextYear = getNextYearFor(finYear.getStartingDate());
   return budgetDetailService.searchByCriteriaWithTypeAndFY(
       financialYearDAO.getFinYearByDate(nextYear).getId(), "BE", detail);
 }