public class PreEncumbranceDocument extends AccountingDocumentBase implements org.kuali.rice.krad.document.Copyable, Correctable, AmountTotaling
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
LOG |
protected Date |
reversalDate |
dataDictionaryEntry, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLines
generalLedgerPendingEntries
accountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYear
UPDATE_TOTAL_AMOUNT_IN_POST_PROCESSING_PARAMETER_NAME
Constructor and Description |
---|
PreEncumbranceDocument()
Initializes the array lists and some basic info.
|
Modifier and Type | Method and Description |
---|---|
List<SufficientFundsItem> |
checkSufficientFunds()
This method will check sufficient funds for the document
|
void |
customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable,
GeneralLedgerPendingEntry explicitEntry)
This method contains PreEncumbrance document specific general ledger pending entry explicit entry
attribute assignments.
|
Date |
getReversalDate() |
String |
getSourceAccountingLinesSectionTitle()
Overrides the base implementation to return "Encumbrance".
|
String |
getTargetAccountingLinesSectionTitle()
Overrides the base implementation to return "Disencumbrance".
|
boolean |
isDebit(GeneralLedgerPendingEntrySourceDetail postable)
This method limits valid debits to only expense object type codes.
|
protected boolean |
refreshReversalDate()
If the reversal date on this document is in need of refreshing, refreshes the reveral date.
|
void |
setReversalDate(Date reversalDate) |
void |
toCopy()
If we've copied, we need to update the posting period and year
|
addSourceAccountingLine, addTargetAccountingLine, buildAccountingLineMap, buildListOfDeletionAwareLists, copyAccountingLines, customizeOffsetGeneralLedgerPendingEntry, generateDocumentGeneralLedgerPendingEntries, generateEvents, generateGeneralLedgerPendingEntries, generateSaveEvents, getAccountingLineParser, getDataDictionaryEntry, getDocumentClassForAccountingLineValueAllowedValidation, getEntryValue, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getNextSourceLineNumber, getNextTargetLineNumber, getPersistedSourceAccountingLinesForComparison, getPersistedTargetAccountingLinesForComparison, getSourceAccountingLine, getSourceAccountingLineClass, getSourceAccountingLineEntryName, getSourceAccountingLines, getSourceAccountingLinesForComparison, getSourceTotal, getTargetAccountingLine, getTargetAccountingLineClass, getTargetAccountingLineEntryName, getTargetAccountingLines, getTargetAccountingLinesForComparison, getTargetTotal, getTotalDollarAmount, isDocumentFinalOrProcessed, prepareForSave, processExplicitGeneralLedgerPendingEntry, processOffsetGeneralLedgerPendingEntry, setNextSourceLineNumber, setNextTargetLineNumber, setSourceAccountingLines, setTargetAccountingLines, toErrorCorrection, updatePostingYearForAccountingLines
addPendingEntry, changeGeneralLedgerPendingEntriesApprovedStatusCode, clearAnyGeneralLedgerPendingEntries, documentPerformsSufficientFundsCheck, doRouteStatusChange, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, removeGeneralLedgerPendingEntries, setGeneralLedgerPendingEntries
createInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodCompositeString, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setAccountingPeriodCompositeString, setPostingPeriodCode, setPostingYear
answerSplitNodeQuestion, doRouteLevelChange, getApplicationDocumentStatus, getBusinessObjectService, getFinancialSystemDocumentHeader, getFinancialSystemDocumentService, getParameterService, prepareForSave, processAfterRetrieve, setApplicationDocumentStatus, setDocumentHeader, updateAndSaveAppDocStatus
getAllowsCopy, isSessionDocument
addCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, populateDocumentForRouting, postLoad, postProcessSave, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentNumber, setNewDocumentHeader, setNotes, setPessimisticLocks, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toErrorCorrection
getTotalDollarAmount
getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntries
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear
answerSplitNodeQuestion, getFinancialSystemDocumentHeader
addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
getExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
addPendingEntry, clearAnyGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getFinancialSystemDocumentHeader, getPostingYear
protected static org.apache.log4j.Logger LOG
protected Date reversalDate
public PreEncumbranceDocument()
public List<SufficientFundsItem> checkSufficientFunds()
GeneralLedgerPostingDocument
checkSufficientFunds
in interface GeneralLedgerPostingDocument
checkSufficientFunds
in class GeneralLedgerPostingDocumentBase
GeneralLedgerPostingDocumentBase.checkSufficientFunds()
public Date getReversalDate()
public void setReversalDate(Date reversalDate)
reversalDate
- public String getSourceAccountingLinesSectionTitle()
getSourceAccountingLinesSectionTitle
in interface AccountingDocument
getSourceAccountingLinesSectionTitle
in class AccountingDocumentBase
AccountingDocument.getSourceAccountingLinesSectionTitle()
public String getTargetAccountingLinesSectionTitle()
getTargetAccountingLinesSectionTitle
in interface AccountingDocument
getTargetAccountingLinesSectionTitle
in class AccountingDocumentBase
AccountingDocument.getTargetAccountingLinesSectionTitle()
public boolean isDebit(GeneralLedgerPendingEntrySourceDetail postable)
isDebit
in interface GeneralLedgerPendingEntrySource
isDebit
in class AccountingDocumentBase
transactionalDocument
- The document the accounting line being checked is located in.accountingLine
- The accounting line being analyzed.IsDebitUtils#isDebitConsideringSection(FinancialDocumentRuleBase, FinancialDocument, AccountingLine)
,
org.kuali.rice.krad.rule.AccountingLineRule#isDebit(org.kuali.rice.krad.document.FinancialDocument,
org.kuali.rice.krad.bo.AccountingLine)
public void customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable, GeneralLedgerPendingEntry explicitEntry)
customizeExplicitGeneralLedgerPendingEntry
in class AccountingDocumentBase
financialDocument
- The document which contains the explicit entry.accountingLine
- The accounting line the explicit entry is generated from.explicitEntry
- The explicit entry being updated.org.kuali.module.financial.rules.FinancialDocumentRuleBase#customizeExplicitGeneralLedgerPendingEntry(org.kuali.rice.krad.document.FinancialDocument,
org.kuali.rice.krad.bo.AccountingLine, org.kuali.module.gl.bo.GeneralLedgerPendingEntry)
public void toCopy() throws org.kuali.rice.kew.api.exception.WorkflowException
LedgerPostingDocumentBase
toCopy
in interface org.kuali.rice.krad.document.Copyable
toCopy
in class AccountingDocumentBase
org.kuali.rice.kew.api.exception.WorkflowException
AccountingDocumentBase.toCopy()
protected boolean refreshReversalDate()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.