public class GeneralLedgerPostingDocumentBase extends LedgerPostingDocumentBase implements GeneralLedgerPostingDocument
Modifier and Type | Field and Description |
---|---|
protected List<GeneralLedgerPendingEntry> |
generalLedgerPendingEntries |
protected static org.apache.log4j.Logger |
LOG |
accountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYear
UPDATE_TOTAL_AMOUNT_IN_POST_PROCESSING_PARAMETER_NAME
Constructor and Description |
---|
GeneralLedgerPostingDocumentBase()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addPendingEntry(GeneralLedgerPendingEntry pendingEntry)
Adds a GeneralLedgerPendingEntry to this document's list of pending entries
|
protected void |
changeGeneralLedgerPendingEntriesApprovedStatusCode()
This method iterates over all of the GLPEs for a document and sets their approved status code to APPROVED "A".
|
List<SufficientFundsItem> |
checkSufficientFunds()
This method will check sufficient funds for the document
|
void |
clearAnyGeneralLedgerPendingEntries()
This resets this document's list of general ledger pending etnries, though it does not delete those entries (however, the GeneralLedgerPendingEntryService will in most cases when this method is called).
|
boolean |
documentPerformsSufficientFundsCheck()
This method checks to see if SF checking should be done for this document.
|
void |
doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
Override to call super and then iterate over all GLPEs and update the approved code appropriately.
|
List<GeneralLedgerPendingEntry> |
getGeneralLedgerPendingEntries()
This method retrieves the list of GLPEs for the document.
|
GeneralLedgerPendingEntry |
getGeneralLedgerPendingEntry(int index)
This method retrieves a particular pending entry instance, automatically instantiating any missing intervening instances.
|
List<GeneralLedgerPendingEntry> |
getPendingLedgerEntriesForSufficientFundsChecking()
This method will return only PLEs that should be checked for SF.
|
void |
prepareForSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event) |
protected void |
removeGeneralLedgerPendingEntries()
This method calls the service to remove all of the GLPE's associated with this document
|
void |
setGeneralLedgerPendingEntries(List<GeneralLedgerPendingEntry> generalLedgerPendingEntries)
This method sets the list of pending entries for this document.
|
void |
toCopy()
If we've copied, we need to update the posting period and year
|
void |
toErrorCorrection() |
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, generateSaveEvents, 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, buildListOfDeletionAwareLists, 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
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear
answerSplitNodeQuestion, getFinancialSystemDocumentHeader
addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, generateSaveEvents, 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
protected static org.apache.log4j.Logger LOG
protected List<GeneralLedgerPendingEntry> generalLedgerPendingEntries
public GeneralLedgerPostingDocumentBase()
public List<GeneralLedgerPendingEntry> getGeneralLedgerPendingEntries()
GeneralLedgerPostingDocument
getGeneralLedgerPendingEntries
in interface GeneralLedgerPostingDocument
GeneralLedgerPostingDocument.getGeneralLedgerPendingEntries()
public GeneralLedgerPendingEntry getGeneralLedgerPendingEntry(int index)
GeneralLedgerPostingDocument
getGeneralLedgerPendingEntry
in interface GeneralLedgerPostingDocument
GeneralLedgerPostingDocument.getGeneralLedgerPendingEntry(int)
public void setGeneralLedgerPendingEntries(List<GeneralLedgerPendingEntry> generalLedgerPendingEntries)
GeneralLedgerPostingDocument
setGeneralLedgerPendingEntries
in interface GeneralLedgerPostingDocument
GeneralLedgerPostingDocument.setGeneralLedgerPendingEntries(java.util.List)
public List<SufficientFundsItem> checkSufficientFunds()
GeneralLedgerPostingDocument
checkSufficientFunds
in interface GeneralLedgerPostingDocument
GeneralLedgerPostingDocument.checkSufficientFunds()
public boolean documentPerformsSufficientFundsCheck()
public List<GeneralLedgerPendingEntry> getPendingLedgerEntriesForSufficientFundsChecking()
GeneralLedgerPostingDocument
getPendingLedgerEntriesForSufficientFundsChecking
in interface GeneralLedgerPostingDocument
GeneralLedgerPostingDocument.getPendingLedgerEntriesForSufficientFundsChecking()
public void doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
doRouteStatusChange
in interface org.kuali.rice.krad.document.Document
doRouteStatusChange
in class FinancialSystemTransactionalDocumentBase
Document#doRouteStatusChange()
protected void changeGeneralLedgerPendingEntriesApprovedStatusCode()
protected void removeGeneralLedgerPendingEntries()
public void toCopy() throws org.kuali.rice.kew.api.exception.WorkflowException
LedgerPostingDocumentBase
toCopy
in class LedgerPostingDocumentBase
org.kuali.rice.kew.api.exception.WorkflowException
DocumentBase.toCopy()
public void toErrorCorrection() throws org.kuali.rice.kew.api.exception.WorkflowException
toErrorCorrection
in class FinancialSystemTransactionalDocumentBase
org.kuali.rice.kew.api.exception.WorkflowException
org.kuali.rice.krad.document.TransactionalDocumentBase#toErrorCorrection()
public void prepareForSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event)
prepareForSave
in interface org.kuali.rice.krad.document.Document
prepareForSave
in class org.kuali.rice.krad.document.DocumentBase
public void addPendingEntry(GeneralLedgerPendingEntry pendingEntry)
pendingEntry
- a pending entry to addpublic void clearAnyGeneralLedgerPendingEntries()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.