public interface EncumbranceClosingOriginEntryGenerationService
| Modifier and Type | Method and Description | 
|---|---|
| OriginEntryOffsetPair | createBeginningBalanceEntryOffsetPair(Encumbrance encumbrance,
                                                                          Integer closingFiscalYear,
                                                                          Date transactionDate)Create a pair of OriginEntries, one explicit and one offset to carry forward an encumbrance. | 
| OriginEntryOffsetPair | createCostShareBeginningBalanceEntryOffsetPair(Encumbrance encumbrance,
                                                                                            Date transactionDate)Create a pair of cost share entries, one explicit and one offset to carry forward an encumbrance after validating the
 encumbrance. | 
| boolean | isEncumbranceClosed(Encumbrance encumbrance)Determine whether or not the encumbrance has been fully relieved. | 
| boolean | shouldForwardCostShareForEncumbrance(OriginEntryFull entry,
                                                                        OriginEntryFull offset,
                                                                        Encumbrance encumbrance,
                                                                        String objectTypeCode)Do some validation and make sure that the encumbrance A21SubAccount is a cost share sub-account. | 
| boolean | shouldForwardEncumbrance(Encumbrance encumbrance)Determine whether or not an encumbrance should be carried forward from one fiscal year to the next. | 
OriginEntryOffsetPair createCostShareBeginningBalanceEntryOffsetPair(Encumbrance encumbrance, Date transactionDate)
encumbrance - the encumbrance to create origin entry and offset fortransactionDate - the date all origin entries should have as their transaction dateOriginEntryOffsetPair createBeginningBalanceEntryOffsetPair(Encumbrance encumbrance, Integer closingFiscalYear, Date transactionDate)
encumbrance - the encumbrance to create origin entries forclosingFiscalYear - the fiscal year that's closingtransactionDate - the transaction date these entries should haveboolean shouldForwardEncumbrance(Encumbrance encumbrance)
encumbrance - the encumbrance to qualifyboolean shouldForwardCostShareForEncumbrance(OriginEntryFull entry, OriginEntryFull offset, Encumbrance encumbrance, String objectTypeCode) throws FatalErrorException
entry - not used in this implementationoffset - not used in this implementationencumbrance - the encumbrance whose A21SubAccount must be qualifiedobjectTypeCode - the object type code of the generated entriesFatalErrorException - thrown if a given A21SubAccount, SubFundGroup, or PriorYearAccount record is not found in the databaseboolean isEncumbranceClosed(Encumbrance encumbrance)
encumbrance - the encumbrance to qualifyCopyright © 2004–2015 The Kuali Foundation. All rights reserved.