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, vendorService
dataDictionaryEntry, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLines
generalLedgerPendingEntries
accountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, postingPeriodCode, postingYear
UPDATE_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, toCopy
addTargetAccountingLine, 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, updatePostingYearForAccountingLines
addPendingEntry, changeGeneralLedgerPendingEntriesApprovedStatusCode, checkSufficientFunds, clearAnyGeneralLedgerPendingEntries, documentPerformsSufficientFundsCheck, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, removeGeneralLedgerPendingEntries, setGeneralLedgerPendingEntries
createInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodCompositeString, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setAccountingPeriodCompositeString, setPostingPeriodCode, setPostingYear
doRouteLevelChange, getApplicationDocumentStatus, getBusinessObjectService, getFinancialSystemDocumentHeader, getFinancialSystemDocumentService, processAfterRetrieve, setApplicationDocumentStatus, setDocumentHeader, updateAndSaveAppDocStatus
getAllowsCopy, isSessionDocument
addCopyErrorDocumentNote, 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, 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
checkSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, setGeneralLedgerPendingEntries
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear
getFinancialSystemDocumentHeader
addNote, 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, wrapDocumentWithMetadataForXmlSerialization
getExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
addPendingEntry, clearAnyGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getFinancialSystemDocumentHeader, getPostingYear
protected 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 DisbursementVoucherDocument
public void setDvPayeeDetail(DisbursementVoucherPayeeDetail dvPayeeDetail)
setDvPayeeDetail
in class DisbursementVoucherDocument
dvPayeeDetail
- The dvPayeeDetail to set.public void prepareForSave()
FinancialSystemTransactionalDocumentBase
prepareForSave
in interface org.kuali.rice.krad.document.Document
prepareForSave
in class DisbursementVoucherDocument
org.kuali.rice.kns.document.Document#prepareForSave()
protected void clearSpecialHandling()
clearSpecialHandling
in class DisbursementVoucherDocument
protected void cleanDocumentData()
cleanDocumentData
in class DisbursementVoucherDocument
protected String buildDocumentTitle(String title)
buildDocumentTitle
in class DisbursementVoucherDocument
the
- default document titlepublic void templateVendor(VendorDetail vendor, VendorAddress vendorAddress)
templateVendor
in class DisbursementVoucherDocument
vendor
- public void populateDocumentForRouting()
populateDocumentForRouting
in interface org.kuali.rice.krad.document.Document
populateDocumentForRouting
in class DisbursementVoucherDocument
org.kuali.rice.kns.document.DocumentBase#populateDocumentForRouting()
public void initiateDocument()
initiateDocument
in class DisbursementVoucherDocument
public void addSourceAccountingLine(SourceAccountingLine line)
addSourceAccountingLine
in interface AccountingDocument
addSourceAccountingLine
in class AccountingDocumentBase
AccountingDocument.addSourceAccountingLine(org.kuali.ole.sys.businessobject.SourceAccountingLine)
public OleDisbursementVoucherAccountingLine getSourceAccountingLine(int index)
getSourceAccountingLine
in interface AccountingDocument
getSourceAccountingLine
in class AccountingDocumentBase
AccountingDocument.getSourceAccountingLine(int)
public Class getSourceAccountingLineClass()
getSourceAccountingLineClass
in interface AccountingDocument
getSourceAccountingLineClass
in class AccountingDocumentBase
AccountingDocument.getSourceAccountingLineClass()
public List<OleDisbursementVoucherAccountingLine> getSourceAccountingLines()
AccountingDocument
getSourceAccountingLines
in interface AccountingDocument
getSourceAccountingLines
in class AccountingDocumentBase
AccountingDocument.getSourceAccountingLines()
public void setSourceAccountingLines(List sourceLines)
AccountingDocument
setSourceAccountingLines
in interface AccountingDocument
setSourceAccountingLines
in class AccountingDocumentBase
AccountingDocument.setSourceAccountingLines(java.util.List)
public boolean answerSplitNodeQuestion(String nodeName) throws UnsupportedOperationException
answerSplitNodeQuestion
in interface FinancialSystemDocument
answerSplitNodeQuestion
in class DisbursementVoucherDocument
UnsupportedOperationException
FinancialSystemTransactionalDocumentBase.answerSplitNodeQuestion(String)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.