public boolean beginningBalanceLoaded(Account account)(Code)
Returns whether or not the beginning budget is loaded for the given account. Of course, it doesn't
really check the account...just the options for the current year to see if all the beginning balances
have been loaded
Parameters: an - account to check whether the beginning balance is loaded for true if the beginning balance is loaded, false otherwise See Also:org.kuali.module.gl.service.BalanceService.beginningBalanceLoaded(org.kuali.module.chart.bo.Account)
countBalancesForFiscalYear
public int countBalancesForFiscalYear(Integer year)(Code)
Sums all the balances associated with a given account that would be considered "expense" balances
Parameters: account - an account to find expense balances for the sum of those balances
This method gets the size of balance entries according to input fields and values
Parameters: fieldValues - the input fields and values Parameters: isConsolidated - consolidation option is applied or not the size of balance entries See Also:org.kuali.module.gl.service.BalanceService.findBalance(java.util.Mapboolean)
This method finds the summary records of balance entries according to input fields an values, using the DAO
Parameters: fieldValues - the input fields an values Parameters: isConsolidated - consolidation option is applied or not the summary records of balance entries See Also:org.kuali.module.gl.service.BalanceService.findCashBalance(java.util.Mapboolean)
Returns all of the balances to be forwarded for the organization reversion process
Parameters: year - the year of balances to find Parameters: endOfYear - whether the organization reversion process is running end of year (before the fiscal year change over) or beginning of year (after the fiscal year change over) an iterator of balances to put through the strenuous organization reversion process See Also:org.kuali.module.gl.service.BalanceService.findOrganizationReversionBalancesForFiscalYear(java.lang.Integerboolean)
fundBalanceWillNetToZero
public boolean fundBalanceWillNetToZero(Account account)(Code)
This method finds the summary records of balance entries according to input fields and values
Parameters: fieldValues - the input fields and values Parameters: isConsolidated - consolidation option is applied or not the summary records of balance entries See Also:org.kuali.module.gl.service.BalanceService.getBalanceRecordCount(java.util.Mapboolean)
public boolean hasEncumbrancesOrBaseBudgets(Account account)(Code)
Finds all of the encumbrance balances for the given account, and figures out if those encumbrances will have a net impact on the budget
Parameters: account - an account to find balances for true if summed encumbrances for the account are not zero (meaning encumbrances will have a net impact on the budget), false if otherwise See Also:org.kuali.module.gl.service.BalanceService.hasEncumbrancesOrBaseBudgets(org.kuali.module.chart.bo.Account)
Returns the sum of balances considered as income for the given account
Parameters: account - the account to find income balances for the sum of income balances
purgeYearByChart
public void purgeYearByChart(String chart, int year)(Code)
Purge the balance table by year/chart
Parameters: chart - the chart of balances to purge Parameters: year - the year of balances to purge