org.kuali.kfs.fp.document.service
Interface YearEndPendingEntryService

All Known Implementing Classes:
YearEndPendingEntryServiceImpl

public interface YearEndPendingEntryService

Methods needed to update pending entries on FP year end documents


Method Summary
 void customizeExplicitGeneralLedgerPendingEntry(org.kuali.rice.kns.document.TransactionalDocument transactionalDocument, AccountingLine accountingLine, GeneralLedgerPendingEntry explicitEntry)
          populates a GeneralLedgerPendingEntry populated with common year end document data into the explicit general ledger pending entry.
 boolean customizeOffsetGeneralLedgerPendingEntry(org.kuali.rice.kns.document.TransactionalDocument transactionalDocument, GeneralLedgerPendingEntrySourceDetail accountingLine, GeneralLedgerPendingEntry explicitEntry, GeneralLedgerPendingEntry offsetEntry)
          Populates an offset GeneralLedgerPendingEntry such that it uses the Offset Definition from the previous year
 String getFinalAccountingPeriod()
           
 Integer getPreviousFiscalYear()
           
 

Method Detail

getPreviousFiscalYear

Integer getPreviousFiscalYear()
Returns:
the previous fiscal year used with all GLPE

getFinalAccountingPeriod

String getFinalAccountingPeriod()
Returns:
the accounting period code used with all GLPE

customizeExplicitGeneralLedgerPendingEntry

void customizeExplicitGeneralLedgerPendingEntry(org.kuali.rice.kns.document.TransactionalDocument transactionalDocument,
                                                AccountingLine accountingLine,
                                                GeneralLedgerPendingEntry explicitEntry)
populates a GeneralLedgerPendingEntry populated with common year end document data into the explicit general ledger pending entry. currently is the following:
  1. fiscal period code = final accounting period code
  2. fiscal year= previous fiscal year

Parameters:
transactionalDocument -
accountingLine -
explicitEntry -

customizeOffsetGeneralLedgerPendingEntry

boolean customizeOffsetGeneralLedgerPendingEntry(org.kuali.rice.kns.document.TransactionalDocument transactionalDocument,
                                                 GeneralLedgerPendingEntrySourceDetail accountingLine,
                                                 GeneralLedgerPendingEntry explicitEntry,
                                                 GeneralLedgerPendingEntry offsetEntry)
Populates an offset GeneralLedgerPendingEntry such that it uses the Offset Definition from the previous year

Parameters:
transactionalDocument - the transactional document with general ledger pending entries on it
accountingLine - the general ledger pending entry source which generated the explicit and offset entry
explicitEntry - the explicit entry requiring this offset entry
offsetEntry - the offset entry which is being customized
Returns:
whether the offset could be successfully customized for year end or not


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