org.kuali.kfs.module.bc.document.dataaccess
Interface BudgetConstructionMonthlyBudgetsCreateDeleteDao

All Known Implementing Classes:
BudgetConstructionMonthlyBudgetsCreateDeleteDaoJdbc

public interface BudgetConstructionMonthlyBudgetsCreateDeleteDao

provides the data access methods to distribute a set of budget construction general ledger amounts among tweleve monthly periods in a budget construction monthly budget row with the same key. any rounding errors are added/subtracted from the first monthly period, so the total of the monthly periods equals the original amount distributed


Method Summary
 void deleteBudgetConstructionMonthlyBudgetsExpenditure(String documentNumber, Integer fiscalYear, String chartCode, String accountNumber, String subAccountNumber)
          remove the existing expenditure monthly budgets for this key
 void deleteBudgetConstructionMonthlyBudgetsRevenue(String documentNumber, Integer fiscalYear, String chartCode, String accountNumber, String subAccountNumber)
          remove the existing revenue monthly budgets for this key
 boolean spreadBudgetConstructionMonthlyBudgetsExpenditure(String documentNumber, Integer fiscalYear, String chartCode, String accountNumber, String subAccountNumber)
          spread the expenditures for this key evenly over 12 months, with any reaminder mod 12 added to the first month
 void spreadBudgetConstructionMonthlyBudgetsRevenue(String documentNumber, Integer fiscalYear, String chartCode, String accountNumber, String subAccountNumber)
          spread the revenue for this key evenly over 12 months, with any remainder mod 12 added to the first month
 

Method Detail

deleteBudgetConstructionMonthlyBudgetsRevenue

void deleteBudgetConstructionMonthlyBudgetsRevenue(String documentNumber,
                                                   Integer fiscalYear,
                                                   String chartCode,
                                                   String accountNumber,
                                                   String subAccountNumber)
remove the existing revenue monthly budgets for this key

Parameters:
documentNumber - the budget construction document number
fiscalYear - the fiscal year for which the budget is being built
chartCode -
accountNumber -
subAccountNumber -

deleteBudgetConstructionMonthlyBudgetsExpenditure

void deleteBudgetConstructionMonthlyBudgetsExpenditure(String documentNumber,
                                                       Integer fiscalYear,
                                                       String chartCode,
                                                       String accountNumber,
                                                       String subAccountNumber)
remove the existing expenditure monthly budgets for this key

Parameters:
documentNumber - the budget construction document number
fiscalYear - the fiscal year for which the budget is being built
chartCode -
accountNumber -
subAccountNumber -

spreadBudgetConstructionMonthlyBudgetsRevenue

void spreadBudgetConstructionMonthlyBudgetsRevenue(String documentNumber,
                                                   Integer fiscalYear,
                                                   String chartCode,
                                                   String accountNumber,
                                                   String subAccountNumber)
spread the revenue for this key evenly over 12 months, with any remainder mod 12 added to the first month

Parameters:
documentNumber - the budget construction document number
fiscalYear - the fiscal year for which the budget is being built
chartCode -
accountNumber -
subAccountNumber -

spreadBudgetConstructionMonthlyBudgetsExpenditure

boolean spreadBudgetConstructionMonthlyBudgetsExpenditure(String documentNumber,
                                                          Integer fiscalYear,
                                                          String chartCode,
                                                          String accountNumber,
                                                          String subAccountNumber)
spread the expenditures for this key evenly over 12 months, with any reaminder mod 12 added to the first month

Parameters:
documentNumber - the budget construction document number
fiscalYear - the fiscal year for which the budget is being built
chartCode -
accountNumber -
subAccountNumber -
Returns:
true benefits need to be recomputed, false otherwise


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.