public class NonCheckDisbursementDocument extends AccountingDocumentBase implements org.kuali.rice.krad.document.Copyable, Correctable, AmountTotaling
| Modifier and Type | Field and Description |
|---|---|
protected Bank |
bank |
protected String |
financialDocumentBankCode |
dataDictionaryEntry, LOG, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLinesgeneralLedgerPendingEntriesaccountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYearUPDATE_TOTAL_AMOUNT_IN_POST_PROCESSING_PARAMETER_NAME| Constructor and Description |
|---|
NonCheckDisbursementDocument()
Constructs a NonCheckDisbursementDocument instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildTransactionLedgerEntryDescriptionUsingRefOriginAndRefDocNumber(GeneralLedgerPendingEntrySourceDetail postable)
Builds an appropriately formatted string to be used for the
transactionLedgerEntryDescription. |
void |
customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable,
GeneralLedgerPendingEntry explicitEntry)
This method sets attributes on the explicitly general ledger pending entry specific to NonCheckDisbursement documents.
|
boolean |
generateDocumentGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
Most accounting documents don't need to generate document level GLPE's, so don't do anything in the default implementation
|
Bank |
getBank()
Gets the bank attribute.
|
String |
getFinancialDocumentBankCode()
Gets the financialDocumentBankCode attribute.
|
String |
getSourceAccountingLinesSectionTitle()
Overrides the base implementation to return "From".
|
boolean |
isDebit(GeneralLedgerPendingEntrySourceDetail postable)
This method determines if a given accounting line is a debit accounting line.
|
void |
setBank(Bank bank)
Sets the bank attribute value.
|
void |
setDefaultBankCode()
Sets the bank code for a new document to the setup default for the Non Check Disbursement document.
|
void |
setFinancialDocumentBankCode(String financialDocumentBankCode)
Sets the financialDocumentBankCode attribute value.
|
addSourceAccountingLine, addTargetAccountingLine, buildAccountingLineMap, buildListOfDeletionAwareLists, copyAccountingLines, customizeOffsetGeneralLedgerPendingEntry, generateEvents, generateGeneralLedgerPendingEntries, generateSaveEvents, getAccountingLineParser, getDataDictionaryEntry, getDocumentClassForAccountingLineValueAllowedValidation, getEntryValue, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getNextSourceLineNumber, getNextTargetLineNumber, getPersistedSourceAccountingLinesForComparison, getPersistedTargetAccountingLinesForComparison, getSourceAccountingLine, getSourceAccountingLineClass, getSourceAccountingLineEntryName, getSourceAccountingLines, getSourceAccountingLinesForComparison, getSourceTotal, getTargetAccountingLine, getTargetAccountingLineClass, getTargetAccountingLineEntryName, getTargetAccountingLines, getTargetAccountingLinesForComparison, getTargetAccountingLinesSectionTitle, getTargetTotal, getTotalDollarAmount, isDocumentFinalOrProcessed, prepareForSave, processExplicitGeneralLedgerPendingEntry, processOffsetGeneralLedgerPendingEntry, setNextSourceLineNumber, setNextTargetLineNumber, setSourceAccountingLines, setTargetAccountingLines, toCopy, toErrorCorrection, updatePostingYearForAccountingLinesaddPendingEntry, changeGeneralLedgerPendingEntriesApprovedStatusCode, checkSufficientFunds, clearAnyGeneralLedgerPendingEntries, documentPerformsSufficientFundsCheck, doRouteStatusChange, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, removeGeneralLedgerPendingEntries, setGeneralLedgerPendingEntriescreateInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodCompositeString, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setAccountingPeriodCompositeString, setPostingPeriodCode, setPostingYearanswerSplitNodeQuestion, doRouteLevelChange, getApplicationDocumentStatus, getBusinessObjectService, getFinancialSystemDocumentHeader, getFinancialSystemDocumentService, getParameterService, prepareForSave, processAfterRetrieve, setApplicationDocumentStatus, setDocumentHeader, updateAndSaveAppDocStatusgetAllowsCopy, isSessionDocumentaddCopyErrorDocumentNote, 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, wrapDocumentWithMetadataForXmlSerializationafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoErrorCorrectiongetTotalDollarAmountcheckSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntriesgetAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYearanswerSplitNodeQuestion, getFinancialSystemDocumentHeaderaddNote, 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, wrapDocumentWithMetadataForXmlSerializationgetExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberaddPendingEntry, clearAnyGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getFinancialSystemDocumentHeader, getPostingYearprotected String financialDocumentBankCode
public NonCheckDisbursementDocument()
public void setDefaultBankCode()
public String getFinancialDocumentBankCode()
public void setFinancialDocumentBankCode(String financialDocumentBankCode)
financialDocumentBankCode - The financialDocumentBankCode to set.public void setBank(Bank bank)
bank - The bank to set.public String getSourceAccountingLinesSectionTitle()
getSourceAccountingLinesSectionTitle in interface AccountingDocumentgetSourceAccountingLinesSectionTitle in class AccountingDocumentBaseAccountingDocument.getSourceAccountingLinesSectionTitle()public boolean isDebit(GeneralLedgerPendingEntrySourceDetail postable) throws IllegalStateException
isDebit in interface GeneralLedgerPendingEntrySourceisDebit in class AccountingDocumentBasetransactionalDocument - The document the accounting line being checked is located in.accountingLine - The accounting line being analyzed.IllegalStateException - Thrown if accounting line attributes are invalid.IsDebitUtils#isDebitConsideringNothingPositiveOnly(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 AccountingDocumentBasefinancialDocument - The document which contains the general ledger pending entry being modified.accountingLine - The accounting line the explicit entry was generated from.explicitEntry - The explicit entry being updated.FinancialDocumentRuleBase#customizeExplicitGeneralLedgerPendingEntry(FinancialDocument, AccountingLine,
GeneralLedgerPendingEntry)public boolean generateDocumentGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
AccountingDocumentBasegenerateDocumentGeneralLedgerPendingEntries in interface GeneralLedgerPendingEntrySourcegenerateDocumentGeneralLedgerPendingEntries in class AccountingDocumentBasesequenceHelper - a sequence helper for the method to create more general ledger pending entriesAccountingDocumentBase.generateDocumentGeneralLedgerPendingEntries(org.kuali.ole.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)protected String buildTransactionLedgerEntryDescriptionUsingRefOriginAndRefDocNumber(GeneralLedgerPendingEntrySourceDetail postable)
transactionLedgerEntryDescription. It is built
using information from the AccountingLine. Format is "01-12345: blah blah blah".financialDocument - The document the description will be pulled from, if the accounting line description is blank.line - The accounting line that will be used for populating the transaction ledger entry description.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.