public class OleDisbursementVoucherDocument extends DisbursementVoucherDocument
| Modifier and Type | Field and Description |
|---|---|
protected OleDisbursementVoucherPayeeDetail |
dvPayeeDetail |
protected static String |
HAS_CLEARING_ACCOUNT_TYPE_SPLIT |
bank, businessObjectService, campusCode, cancelDate, dateTimeService, DEFAULT_EMPLOYEE_ADDRESS_TYPE_PARAMETER_NAME, disbExcptAttachedIndicator, DISBURSEMENT_VOUCHER_TYPE, disbursementVoucherCheckDate, disbursementVoucherCheckNbr, disbursementVoucherDocumentationLocationCode, disbursementVoucherDueDate, disbursementVoucherExtractService, disbVchrAttachmentCode, disbVchrBankCode, disbVchrCheckStubText, disbVchrCheckTotalAmount, disbVchrContactEmailId, disbVchrContactPersonName, disbVchrContactPhoneNumber, disbVchrDocumentationLoc, disbVchrForeignCurrencyInd, disbVchrPayeeChangedInd, disbVchrPayeeTaxControlCode, disbVchrPayeeW9CompleteCode, disbVchrPaymentMethodCode, disbVchrPdpBankCode, disbVchrSpecialHandlingCode, DOCUMENT_REQUIRES_SEPARATION_OF_DUTIES, DOCUMENT_REQUIRES_TAX_REVIEW_SPLIT, DOCUMENT_REQUIRES_TRAVEL_REVIEW_SPLIT, dvCheckStubOverflowCode, dvNonEmployeeTravel, dvNonResidentAlienTax, dvPreConferenceDetail, dvPymentReasonService, dvWireTransfer, editW9W8BENbox, exceptionIndicator, extractDate, financialDocument, finDocNextRegistrantLineNbr, identityManagementService, immediatePaymentIndicator, LOG, paidDate, parameterService, PAYEE_IS_PURCHASE_ORDER_VENDOR_SPLIT, payeeAssigned, PAYMENT_REASONS_REQUIRING_TAX_REVIEW_PARAMETER_NAME, paymentMethodId, personService, PURCHASE_ORDER_VENDOR_TYPE, SEPARATION_OF_DUTIES_PARAMETER_NAME, TAX_CONTROL_BACKUP_HOLDING, TAX_CONTROL_HOLD_PAYMENTS, USE_DEFAULT_EMPLOYEE_ADDRESS_PARAMETER_NAME, vendorServicedataDictionaryEntry, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLinesgeneralLedgerPendingEntriesaccountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, postingPeriodCode, postingYearUPDATE_TOTAL_AMOUNT_IN_POST_PROCESSING_PARAMETER_NAME| Constructor and Description |
|---|
OleDisbursementVoucherDocument()
Default no-arg constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSourceAccountingLine(SourceAccountingLine line)
This implementation sets the sequence number appropriately for the passed in source accounting line using the value that has
been stored in the nextSourceLineNumber variable, adds the accounting line to the list that is aggregated by this object, and
then handles incrementing the nextSourceLineNumber variable for you.
|
boolean |
answerSplitNodeQuestion(String nodeName)
Provides answers to the following splits: PayeeIsPurchaseOrderVendor
RequiresTaxReview
RequiresTravelReview
HasClearingAccountType
HasPaymentMethod
|
protected String |
buildDocumentTitle(String title)
build document title based on the properties of current document
|
protected void |
cleanDocumentData()
Clears information that might have been entered for sub tables, but because of changes to the document is longer needed and
should not be persisted.
|
protected void |
clearSpecialHandling()
Clears all set special handling fields
|
OleDisbursementVoucherPayeeDetail |
getDvPayeeDetail() |
String |
getInvoiceNumber() |
OleDisbursementVoucherAccountingLine |
getSourceAccountingLine(int index)
This implementation is coupled tightly with some underlying issues that the Struts PojoProcessor plugin has with how objects
get instantiated within lists.
|
Class |
getSourceAccountingLineClass()
Returns the default Source accounting line class.Dollar
|
List<OleDisbursementVoucherAccountingLine> |
getSourceAccountingLines()
This method returns a list of target accounting lines.
|
String |
getVendorAliasName() |
void |
initiateDocument()
generic, shared logic used to initiate a dv document
|
void |
populateDocumentForRouting()
This method is overridden to populate some local variables that are not persisted to the database.
|
void |
prepareForSave()
If the document has a total amount, call method on document to get the total and set in doc header.
|
void |
setDvPayeeDetail(DisbursementVoucherPayeeDetail dvPayeeDetail) |
void |
setInvoiceNumber(String invoiceNumber) |
void |
setSourceAccountingLines(List sourceLines)
This method sets the list of source accounting lines for this document.
|
void |
setVendorAliasName(String vendorAliasName) |
void |
templateVendor(VendorDetail vendor,
VendorAddress vendorAddress)
Convenience method to set dv payee detail fields based on a given vendor.
|
addDvPrePaidRegistrantLine, buildListOfDeletionAwareLists, customizeExplicitGeneralLedgerPendingEntry, doRouteStatusChange, findAddressByType, generateDocumentBankOffsetEntries, generateDocumentGeneralLedgerPendingEntries, getAllPriorApprovers, getBank, getCampusCode, getCancelDate, getDisbursementVoucherCheckDate, getDisbursementVoucherCheckNbr, getDisbursementVoucherDocumentationLocationCode, getDisbursementVoucherDocumentationLocationName, getDisbursementVoucherDueDate, getDisbursementVoucherExtractService, getDisbursementVoucherPdpStatus, getDisbVchrBankCode, getDisbVchrCheckStubText, getDisbVchrCheckTotalAmount, getDisbVchrContactEmailId, getDisbVchrContactPersonName, getDisbVchrContactPhoneNumber, getDisbVchrDocumentationLoc, getDisbVchrPayeeTaxControlCode, getDisbVchrPayeeW9CompleteCode, getDisbVchrPaymentMethodCode, getDisbVchrPaymentMethodName, getDisbVchrPdpBankCode, getDocumentTitle, getDvCheckStubOverflowCode, getDvNonEmployeeTravel, getDvNonResidentAlienTax, getDvPreConferenceDetail, getDvPymentReasonService, getDvWireTransfer, getExtractDate, getFinancialDocument, getFinDocNextRegistrantLineNbr, getIdentityManagementService, getNonDefaultAddress, getPaidDate, getParameterService, getPaymentDetailDocumentType, getPaymentMethod, getPaymentMethodId, getPendingLedgerEntriesForSufficientFundsChecking, getPersonEntityEntityType, getPersonService, getTotalDollarAmount, getVendorService, isDebit, isDisbExcptAttachedIndicator, isDisbVchrAttachmentCode, isDisbVchrForeignCurrencyInd, isDisbVchrPayeeChangedInd, isDisbVchrSpecialHandlingCode, isEditW9W8BENbox, isExceptionIndicator, isImmediatePaymentIndicator, isPayeeAssigned, isPayeePurchaseOrderVendor, isPayeePurchaseOrderVendorHasWithholding, isSeparationOfDutiesReviewRequired, isTaxReviewRequired, isTravelReviewRequired, processWireChargeCreditEntries, processWireChargeDebitEntries, retrieveWireCharge, setBank, setCampusCode, setCancelDate, setDisbExcptAttachedIndicator, setDisbursementVoucherCheckDate, setDisbursementVoucherCheckNbr, setDisbursementVoucherDocumentationLocationCode, setDisbursementVoucherDocumentationLocationName, setDisbursementVoucherDueDate, setDisbursementVoucherPdpStatus, setDisbVchrAttachmentCode, setDisbVchrBankCode, setDisbVchrCheckStubText, setDisbVchrCheckTotalAmount, setDisbVchrContactEmailId, setDisbVchrContactPersonName, setDisbVchrContactPhoneNumber, setDisbVchrDocumentationLoc, setDisbVchrForeignCurrencyInd, setDisbVchrPayeeChangedInd, setDisbVchrPayeeTaxControlCode, setDisbVchrPayeeW9CompleteCode, setDisbVchrPaymentMethodCode, setDisbVchrPaymentMethodName, setDisbVchrPdpBankCode, setDisbVchrSpecialHandlingCode, setDvCheckStubOverflowCode, setDvNonEmployeeTravel, setDvNonResidentAlienTax, setDvPreConferenceDetail, setDvWireTransfer, setEditW9W8BENbox, setExceptionIndicator, setExtractDate, setFinancialDocument, setFinDocNextRegistrantLineNbr, setIdentityManagementService, setImmediatePaymentIndicator, setPaidDate, setPayeeAssigned, setPaymentMethod, setPaymentMethodId, shouldClearSpecialHandling, templateEmployee, toCopyaddTargetAccountingLine, buildAccountingLineMap, copyAccountingLines, customizeOffsetGeneralLedgerPendingEntry, generateEvents, generateGeneralLedgerPendingEntries, generateSaveEvents, getAccountingLineParser, getDataDictionaryEntry, getDocumentClassForAccountingLineValueAllowedValidation, getEntryValue, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getNextSourceLineNumber, getNextTargetLineNumber, getPersistedSourceAccountingLinesForComparison, getPersistedTargetAccountingLinesForComparison, getSourceAccountingLineEntryName, getSourceAccountingLinesForComparison, getSourceAccountingLinesSectionTitle, getSourceTotal, getTargetAccountingLine, getTargetAccountingLineClass, getTargetAccountingLineEntryName, getTargetAccountingLines, getTargetAccountingLinesForComparison, getTargetAccountingLinesSectionTitle, getTargetTotal, isDocumentFinalOrProcessed, prepareForSave, processExplicitGeneralLedgerPendingEntry, processOffsetGeneralLedgerPendingEntry, setNextSourceLineNumber, setNextTargetLineNumber, setTargetAccountingLines, toErrorCorrection, updatePostingYearForAccountingLinesaddPendingEntry, changeGeneralLedgerPendingEntriesApprovedStatusCode, checkSufficientFunds, clearAnyGeneralLedgerPendingEntries, documentPerformsSufficientFundsCheck, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, removeGeneralLedgerPendingEntries, setGeneralLedgerPendingEntriescreateInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodCompositeString, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setAccountingPeriodCompositeString, setPostingPeriodCode, setPostingYeardoRouteLevelChange, getApplicationDocumentStatus, getBusinessObjectService, getFinancialSystemDocumentHeader, getFinancialSystemDocumentService, processAfterRetrieve, setApplicationDocumentStatus, setDocumentHeader, updateAndSaveAppDocStatusgetAllowsCopy, isSessionDocumentaddCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, 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, waitcheckSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, setGeneralLedgerPendingEntriesgetAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYeargetFinancialSystemDocumentHeaderaddNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, postProcessSave, 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 static final String HAS_CLEARING_ACCOUNT_TYPE_SPLIT
protected OleDisbursementVoucherPayeeDetail dvPayeeDetail
public OleDisbursementVoucherDocument()
public String getVendorAliasName()
public void setVendorAliasName(String vendorAliasName)
public String getInvoiceNumber()
public void setInvoiceNumber(String invoiceNumber)
public OleDisbursementVoucherPayeeDetail getDvPayeeDetail()
getDvPayeeDetail in class DisbursementVoucherDocumentpublic void setDvPayeeDetail(DisbursementVoucherPayeeDetail dvPayeeDetail)
setDvPayeeDetail in class DisbursementVoucherDocumentdvPayeeDetail - The dvPayeeDetail to set.public void prepareForSave()
FinancialSystemTransactionalDocumentBaseprepareForSave in interface org.kuali.rice.krad.document.DocumentprepareForSave in class DisbursementVoucherDocumentorg.kuali.rice.kns.document.Document#prepareForSave()protected void clearSpecialHandling()
clearSpecialHandling in class DisbursementVoucherDocumentprotected void cleanDocumentData()
cleanDocumentData in class DisbursementVoucherDocumentprotected String buildDocumentTitle(String title)
buildDocumentTitle in class DisbursementVoucherDocumentthe - default document titlepublic void templateVendor(VendorDetail vendor, VendorAddress vendorAddress)
templateVendor in class DisbursementVoucherDocumentvendor - public void populateDocumentForRouting()
populateDocumentForRouting in interface org.kuali.rice.krad.document.DocumentpopulateDocumentForRouting in class DisbursementVoucherDocumentorg.kuali.rice.kns.document.DocumentBase#populateDocumentForRouting()public void initiateDocument()
initiateDocument in class DisbursementVoucherDocumentpublic void addSourceAccountingLine(SourceAccountingLine line)
addSourceAccountingLine in interface AccountingDocumentaddSourceAccountingLine in class AccountingDocumentBaseAccountingDocument.addSourceAccountingLine(org.kuali.ole.sys.businessobject.SourceAccountingLine)public OleDisbursementVoucherAccountingLine getSourceAccountingLine(int index)
getSourceAccountingLine in interface AccountingDocumentgetSourceAccountingLine in class AccountingDocumentBaseAccountingDocument.getSourceAccountingLine(int)public Class getSourceAccountingLineClass()
getSourceAccountingLineClass in interface AccountingDocumentgetSourceAccountingLineClass in class AccountingDocumentBaseAccountingDocument.getSourceAccountingLineClass()public List<OleDisbursementVoucherAccountingLine> getSourceAccountingLines()
AccountingDocumentgetSourceAccountingLines in interface AccountingDocumentgetSourceAccountingLines in class AccountingDocumentBaseAccountingDocument.getSourceAccountingLines()public void setSourceAccountingLines(List sourceLines)
AccountingDocumentsetSourceAccountingLines in interface AccountingDocumentsetSourceAccountingLines in class AccountingDocumentBaseAccountingDocument.setSourceAccountingLines(java.util.List)public boolean answerSplitNodeQuestion(String nodeName) throws UnsupportedOperationException
answerSplitNodeQuestion in interface FinancialSystemDocumentanswerSplitNodeQuestion in class DisbursementVoucherDocumentUnsupportedOperationExceptionFinancialSystemTransactionalDocumentBase.answerSplitNodeQuestion(String)Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.