public class YearEndPendingEntryServiceImpl extends Object implements YearEndPendingEntryService
Modifier and Type | Field and Description |
---|---|
protected static String |
FINAL_ACCOUNTING_PERIOD |
protected OffsetDefinitionService |
offsetDefinitionService |
protected SufficientFundsService |
sufficientFundsService |
protected UniversityDateService |
universityDateService |
Constructor and Description |
---|
YearEndPendingEntryServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
customizeExplicitGeneralLedgerPendingEntry(org.kuali.rice.krad.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.krad.document.TransactionalDocument transactionalDocument,
GeneralLedgerPendingEntrySourceDetail accountingLine,
GeneralLedgerPendingEntry explicitEntry,
GeneralLedgerPendingEntry offsetEntry)
Populates an offset GeneralLedgerPendingEntry such that it uses the Offset Definition from the previous year
|
protected String |
getAccountingPeriodForYearEndEntry() |
String |
getFinalAccountingPeriod() |
protected String |
getOffsetFinancialObjectCode(OffsetDefinition offsetDefinition)
Helper method that determines the offset entry's financial object code.
|
protected String |
getOffsetFinancialObjectTypeCode(OffsetDefinition offsetDefinition)
Helper method that determines the offset entry's financial object type code.
|
Integer |
getPreviousFiscalYear() |
void |
setOffsetDefinitionService(OffsetDefinitionService offsetDefinitionService) |
void |
setSufficientFundsService(SufficientFundsService sufficientFundsService) |
void |
setUniversityDateService(UniversityDateService universityDateService) |
protected static final String FINAL_ACCOUNTING_PERIOD
protected UniversityDateService universityDateService
protected SufficientFundsService sufficientFundsService
protected OffsetDefinitionService offsetDefinitionService
public YearEndPendingEntryServiceImpl()
public void customizeExplicitGeneralLedgerPendingEntry(org.kuali.rice.krad.document.TransactionalDocument transactionalDocument, AccountingLine accountingLine, GeneralLedgerPendingEntry explicitEntry)
YearEndPendingEntryService
GeneralLedgerPendingEntry
populated with common year end document data into the explicit general
ledger pending entry. currently is the following:
customizeExplicitGeneralLedgerPendingEntry
in interface YearEndPendingEntryService
YearEndPendingEntryService.customizeExplicitGeneralLedgerPendingEntry(org.kuali.rice.krad.document.TransactionalDocument, org.kuali.ole.sys.businessobject.AccountingLine, org.kuali.ole.sys.businessobject.GeneralLedgerPendingEntry)
public boolean customizeOffsetGeneralLedgerPendingEntry(org.kuali.rice.krad.document.TransactionalDocument transactionalDocument, GeneralLedgerPendingEntrySourceDetail accountingLine, GeneralLedgerPendingEntry explicitEntry, GeneralLedgerPendingEntry offsetEntry)
YearEndPendingEntryService
customizeOffsetGeneralLedgerPendingEntry
in interface YearEndPendingEntryService
transactionalDocument
- the transactional document with general ledger pending entries on itaccountingLine
- the general ledger pending entry source which generated the explicit and offset entryexplicitEntry
- the explicit entry requiring this offset entryoffsetEntry
- the offset entry which is being customizedYearEndPendingEntryService.customizeOffsetGeneralLedgerPendingEntry(org.kuali.rice.krad.document.TransactionalDocument, org.kuali.ole.sys.businessobject.GeneralLedgerPendingEntrySourceDetail, org.kuali.ole.sys.businessobject.GeneralLedgerPendingEntry, org.kuali.ole.sys.businessobject.GeneralLedgerPendingEntry)
public String getFinalAccountingPeriod()
getFinalAccountingPeriod
in interface YearEndPendingEntryService
YearEndPendingEntryService.getFinalAccountingPeriod()
protected String getAccountingPeriodForYearEndEntry()
public Integer getPreviousFiscalYear()
getPreviousFiscalYear
in interface YearEndPendingEntryService
YearEndPendingEntryService.getPreviousFiscalYear()
protected String getOffsetFinancialObjectCode(OffsetDefinition offsetDefinition)
offsetDefinition
- protected String getOffsetFinancialObjectTypeCode(OffsetDefinition offsetDefinition)
offsetDefinition
- public void setUniversityDateService(UniversityDateService universityDateService)
public void setSufficientFundsService(SufficientFundsService sufficientFundsService)
public void setOffsetDefinitionService(OffsetDefinitionService offsetDefinitionService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.