|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EncumbranceClosingOriginEntryGenerationService
Service which generates encumbrance closing origin entries
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 date
OriginEntryOffsetPair 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 have
boolean shouldForwardEncumbrance(Encumbrance encumbrance)
encumbrance
- the encumbrance to qualify
boolean 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 entries
FatalErrorException
- thrown if a given A21SubAccount, SubFundGroup, or PriorYearAccount record is not found in the databaseboolean isEncumbranceClosed(Encumbrance encumbrance)
encumbrance
- the encumbrance to qualify
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |