public class InvoiceDocument extends AccountsPayableDocumentBase
accountsPayableApprovalTimestamp, accountsPayableProcessorIdentifier, bank, bankCode, chartOfAccountsCode, closePurchaseOrderIndicator, continuationAccountIndicator, debitCreditCodeForGLEntries, extractedTimestamp, generateEncumbranceEntries, holdIndicator, lastActionPerformedByPersonId, noteLine1Text, noteLine2Text, noteLine3Text, offsetUseTax, organizationCode, processingCampus, processingCampusCode, purchaseOrderDocument, purchaseOrderIdentifier, reopenPurchaseOrderIndicator, unmatchedOverride
accountDistributionMethod, accountsForRouting, accountsPayablePurchasingDocumentLinkIdentifier, allowDeleteAwareCollection, belowTheLineTypes, calculated, items, licenseReqmt, orderType, overrideWorkflowButtons, purapDocumentIdentifier, purchaseOrderTypeId, relatedViews, sensitive, statusCode, useTaxIndicator, vendorAddressGeneratedIdentifier, vendorAddressInternationalProvinceName, vendorAttentionName, vendorCityName, vendorCountry, vendorCountryCode, vendorCustomerNumber, vendorDetail, vendorDetailAssignedIdentifier, vendorHeaderGeneratedIdentifier, vendorLine1Address, vendorLine2Address, vendorName, vendorNumber, vendorPostalCode, vendorStateCode
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 |
---|
InvoiceDocument()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
answerSplitNodeQuestion(String nodeName)
Provides answers to the following splits: PurchaseWasReceived VendorIsEmployeeOrNonResidentAlien
|
void |
clearInitFields()
Perform logic needed to clear the initial fields on a PRQS Document
|
protected void |
closePurchaseOrder() |
void |
customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable,
GeneralLedgerPendingEntry explicitEntry)
Forces general ledger entries to be approved, does not wait for payment request document final approval.
|
void |
doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent event)
Generates correcting entries to the GL if accounts are modified.
|
boolean |
documentHasNoImagesAttached()
Checks all documents notes for attachments.
|
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.
|
Date |
getAccountsPayableApprovalDateForSearching() |
String |
getAccountsPayableRequestCancelIdentifier() |
String |
getAccountsPayableRequestCancelPersonName()
Returns the name of who requested cancel.
|
Integer |
getAlternateVendorDetailAssignedIdentifier() |
Integer |
getAlternateVendorHeaderGeneratedIdentifier() |
protected List<String> |
getCurrentRouteLevels(org.kuali.rice.kew.api.WorkflowDocument workflowDocument)
Determinines the route levels for a given document.
|
protected String |
getCustomDocumentTitle()
Returns a custom document title based on the workflow document title.
|
AccountsPayableDocumentSpecificService |
getDocumentSpecificService() |
String |
getDocumentTitle() |
PurApAccountingLine |
getFirstAccount()
Returns the first payment item's first account (assuming the item list is sequentially ordered).
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getGrandPreTaxTotal() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getGrandPreTaxTotalExcludingDiscount() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getGrandTaxAmount() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getGrandTaxAmountExcludingDiscount() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getGrandTotal()
Retrieves grand total amount for document.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getGrandTotalExcludingDiscount() |
boolean |
getImmediatePaymentIndicator() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getInitialAmount()
Returns the amount entered on the initial screen.
|
boolean |
getInvoiceCancelIndicator() |
PurchaseOrderCostSource |
getInvoiceCostSource() |
String |
getInvoiceCostSourceCode() |
Date |
getInvoiceDate() |
boolean |
getInvoiceElectronicInvoiceIndicator() |
String |
getInvoiceNumber() |
Date |
getInvoicePayDate() |
boolean |
getInvoicePositiveApprovalIndicatorForSearching() |
PurApItem |
getItem(int pos)
Gets the item at the specified index.
|
Class |
getItemClass()
Returns the Item Class.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getItemTotalPoEncumbranceAmount()
Returns the total encumbered amount from the purchase order excluding below the line.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getItemTotalPoEncumbranceAmountRelieved() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getItemTotalPoEncumbranceAmountRelieved(boolean includeBelowTheLine) |
org.kuali.rice.core.api.util.type.KualiDecimal |
getItemTotalPoPaidAmount()
The total that was paid on the po excluding below the line
|
Class |
getItemUseTaxClass() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getLineItemPreTaxTotal() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getLineItemTaxAmount() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getLineItemTotal() |
Integer |
getOriginalVendorDetailAssignedIdentifier() |
Integer |
getOriginalVendorHeaderGeneratedIdentifier() |
String |
getPaidIndicatorForResult() |
boolean |
getPaymentAttachmentIndicator() |
Timestamp |
getPaymentPaidTimestamp() |
String |
getPoDocumentTypeForAccountsPayableDocumentCancel()
Helper method to be called from custom prepare for save and to be overriden by sub class.
|
Integer |
getPostingYearPriorOrCurrent() |
String |
getPrimaryVendorName() |
PurchaseOrderDocument |
getPurApSourceDocumentIfPossible()
Returns the source of this Purchasing Accounts Payable Document if exists.
|
String |
getPurApSourceDocumentLabelIfPossible()
Returns the label of the source of this Purchasing Accounts Payable Document if exists.
|
PurchaseOrderDocument |
getPurchaseOrderDocument() |
PurchaseOrderDocument |
getPurchaseOrderDocument(Integer poID) |
List<OlePurchaseOrderDocument> |
getPurchaseOrderDocuments() |
Date |
getPurchaseOrderEndDate() |
String |
getPurchaseOrderNotes() |
boolean |
getReceivingDocumentRequiredIndicatorForSearching() |
RecurringPaymentType |
getRecurringPaymentType() |
String |
getRecurringPaymentTypeCode() |
String |
getRequestCancelIndicatorForResult() |
Integer |
getRequisitionIdentifier() |
String |
getSpecialHandlingInstructionLine1Text() |
String |
getSpecialHandlingInstructionLine2Text() |
String |
getSpecialHandlingInstructionLine3Text() |
String |
getTaxClassificationCode() |
String |
getTaxCountryCode() |
Boolean |
getTaxExemptTreatyIndicator() |
BigDecimal |
getTaxFederalPercent() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getTaxFederalPercentShort() |
Boolean |
getTaxForeignSourceIndicator() |
Boolean |
getTaxGrossUpIndicator() |
String |
getTaxNQIId() |
Boolean |
getTaxOtherExemptIndicator() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getTaxSpecialW4Amount() |
BigDecimal |
getTaxStatePercent() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getTaxStatePercentShort() |
Boolean |
getTaxUSAIDPerDiemIndicator() |
protected String |
getTitleIndicator()
Determines the indicator text that will appear in the workflow document title
|
Date |
getTransactionTaxDate() |
org.kuali.rice.core.api.util.type.KualiDecimal |
getVendorInvoiceAmount() |
PaymentTermType |
getVendorPaymentTerms() |
String |
getVendorPaymentTermsCode() |
ShippingPaymentTerms |
getVendorShippingPaymentTerms() |
String |
getVendorShippingPaymentTermsCode() |
String |
getVendorShippingTitleCode() |
void |
initiateDocument()
Perform logic needed to initiate PRQS Document
|
protected boolean |
isAttachmentRequired()
Checks whether an attachment is required
|
boolean |
isBoNotesSupport() |
boolean |
isDiscount() |
boolean |
isEnableInvoicePositiveApprovalIndicator()
Decides whether invoicePositiveApprovalIndicator functionality shall be enabled according to the controlling parameter.
|
boolean |
isEnableReceivingDocumentRequiredIndicator()
Decides whether receivingDocumentRequiredIndicator functionality shall be enabled according to the controlling parameter.
|
boolean |
isInquiryRendered()
Overrides the method in PurchasingAccountsPayableDocumentBase to add the criteria specific to Payment Request Document.
|
boolean |
isInvoiceCancelIndicator() |
boolean |
isInvoiceCancelIndicatorForSearching() |
boolean |
isInvoicePositiveApprovalIndicator()
Gets the invoicePositiveApprovalIndicator attribute.
|
boolean |
isReceivingDocumentRequiredIndicator()
Gets the receivingDocumentRequiredIndicator attribute.
|
boolean |
isReceivingRequirementMet()
Determine if the receiving requirement has been met for all items on the payment request.
|
protected boolean |
isVendorEmployeeOrNonResidentAlien() |
void |
populateInvoiceFromPurchaseOrder(PurchaseOrderDocument po)
Populates a preq from a PO - delegate method
|
void |
populateInvoiceFromPurchaseOrder(PurchaseOrderDocument po,
HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
Populates a preq from a PO
|
void |
prepareForSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event)
Populates the payment request document, then continues with preparing for save.
|
boolean |
processNodeChange(String newNodeName,
String oldNodeName)
Hook to allow processing after a route level is passed.
|
void |
saveDocumentFromPostProcessing()
Hook point to allow processing after a save.
|
void |
setAccountsPayableRequestCancelIdentifier(String accountsPayableRequestCancelIdentifier) |
void |
setAlternateVendorDetailAssignedIdentifier(Integer alternateVendorDetailAssignedIdentifier) |
void |
setAlternateVendorHeaderGeneratedIdentifier(Integer alternateVendorHeaderGeneratedIdentifier) |
void |
setGrandTotalExcludingDiscount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
This method is here due to a setter requirement by the htmlControlAttribute
|
void |
setImmediatePaymentIndicator(boolean immediatePaymentIndicator) |
void |
setInvoiceCancelIndicator(boolean invoiceCancelIndicator) |
void |
setInvoiceCostSource(PurchaseOrderCostSource invoiceCostSource) |
void |
setInvoiceCostSourceCode(String invoiceCostSourceCode) |
void |
setInvoiceDate(Date invoiceDate) |
void |
setInvoiceElectronicInvoiceIndicator(boolean invoiceElectronicInvoiceIndicator) |
void |
setInvoiceNumber(String invoiceNumber) |
void |
setInvoicePayDate(Date invoicePayDate) |
void |
setInvoicePositiveApprovalIndicator(boolean invoicePositiveApprovalIndicator)
Sets the invoicePositiveApprovalIndicator attribute value.
|
void |
setItemTotalPoEncumbranceAmount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
Exists due to a setter requirement by the htmlControlAttribute
|
void |
setItemTotalPoEncumbranceAmountRelieved(org.kuali.rice.core.api.util.type.KualiDecimal amount)
Exists due to a setter requirement by the htmlControlAttribute
|
void |
setItemTotalPoPaidAmount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
Exists due to a setter requirement by the htmlControlAttribute
|
void |
setOriginalVendorDetailAssignedIdentifier(Integer originalVendorDetailAssignedIdentifier) |
void |
setOriginalVendorHeaderGeneratedIdentifier(Integer originalVendorHeaderGeneratedIdentifier) |
void |
setPaymentAttachmentIndicator(boolean paymentAttachmentIndicator) |
void |
setPaymentPaidTimestamp(Timestamp paymentPaidTimestamp) |
void |
setPrimaryVendorName(String primaryVendorName)
Deprecated.
|
void |
setPurchaseOrderDocuments(List<OlePurchaseOrderDocument> purchaseOrderDocuments) |
void |
setPurchaseOrderEndDate(Date purchaseOrderEndDate) |
void |
setPurchaseOrderNotes(String purchaseOrderNotes) |
void |
setReceivingDocumentRequiredIndicator(boolean receivingDocumentRequiredIndicator)
Sets the receivingDocumentRequiredIndicator attribute value.
|
void |
setRecurringPaymentType(RecurringPaymentType recurringPaymentType) |
void |
setRecurringPaymentTypeCode(String recurringPaymentTypeCode) |
void |
setRequisitionIdentifier(Integer requisitionIdentifier) |
void |
setSpecialHandlingInstructionLine1Text(String specialHandlingInstructionLine1Text) |
void |
setSpecialHandlingInstructionLine2Text(String specialHandlingInstructionLine2Text) |
void |
setSpecialHandlingInstructionLine3Text(String specialHandlingInstructionLine3Text) |
void |
setTaxClassificationCode(String taxClassificationCode) |
void |
setTaxCountryCode(String taxCountryCode) |
void |
setTaxExemptTreatyIndicator(Boolean taxExemptTreatyIndicator) |
void |
setTaxFederalPercent(BigDecimal taxFederalPercent) |
void |
setTaxForeignSourceIndicator(Boolean taxForeignSourceIndicator) |
void |
setTaxGrossUpIndicator(Boolean taxGrossUpIndicator) |
void |
setTaxNQIId(String taxNQIId) |
void |
setTaxOtherExemptIndicator(Boolean taxOtherExemptIndicator) |
void |
setTaxSpecialW4Amount(org.kuali.rice.core.api.util.type.KualiDecimal taxSpecialW4Amount) |
void |
setTaxStatePercent(BigDecimal taxStatePercent) |
void |
setTaxUSAIDPerDiemIndicator(Boolean taxUSAIDPerDiemIndicator) |
void |
setVendorInvoiceAmount(org.kuali.rice.core.api.util.type.KualiDecimal vendorInvoiceAmount) |
void |
setVendorPaymentTerms(PaymentTermType vendorPaymentTerms) |
void |
setVendorPaymentTermsCode(String vendorPaymentTermsCode) |
void |
setVendorShippingPaymentTerms(ShippingPaymentTerms vendorShippingPaymentTerms) |
void |
setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode) |
void |
setVendorShippingTitleCode(String vendorShippingTitleCode) |
protected boolean |
shouldWaitForReceiving()
Payment Request needs to wait for receiving if the receiving requirements have NOT been met.
|
approvalAtAccountsPayableReviewAllowed, customizeOffsetGeneralLedgerPendingEntry, doRouteLevelChange, generateGeneralLedgerPendingEntries, getAccountsPayableApprovalTimestamp, getAccountsPayableProcessorIdentifier, getAPItemFromPOItem, getBank, getBankCode, getChartOfAccountsCode, getDebitCreditCodeForGLEntries, getDocumentChartOfAccountsCodeForSearching, getDocumentOrganizationCodeForSearching, getDocumentType, getExtractedIndicatorForSearching, getExtractedTimestamp, getHoldIndicatorForResult, getLastActionPerformedByPersonId, getLastActionPerformedByPersonName, getLastActionPerformedByUser, getNoteLine1Text, getNoteLine2Text, getNoteLine3Text, getOrganizationCode, getProcessingCampus, getProcessingCampusCode, getProcessingCampusCodeForSearch, getPurchaseOrderIdentifier, getTotalRemitTax, isClosePurchaseOrderIndicator, isContinuationAccountIndicator, isExtracted, isGenerateEncumbranceEntries, isHoldIndicator, isHoldIndicatorForSearching, isReopenPurchaseOrderIndicator, isUnmatchedOverride, populateDocumentForRouting, removeGeneralLedgerPendingEntries, requiresAccountsPayableReviewRouting, setAccountsPayableApprovalTimestamp, setAccountsPayableProcessorIdentifier, setBank, setBankCode, setChartOfAccountsCode, setClosePurchaseOrderIndicator, setContinuationAccountIndicator, setDebitCreditCodeForGLEntries, setExtractedTimestamp, setGenerateEncumbranceEntries, setGrandTotal, setHoldIndicator, setLastActionPerformedByPersonId, setLineItemTotal, setNoteLine1Text, setNoteLine2Text, setNoteLine3Text, setOrganizationCode, setProcessingCampus, setProcessingCampusCode, setPurchaseOrderDocument, setPurchaseOrderIdentifier, setReopenPurchaseOrderIndicator, setUnmatchedOverride, shouldGiveErrorForEmptyAccountsProration, updateExtendedPriceOnItems
addItem, buildDocumentTitle, buildListOfDeletionAwareLists, customPrepareForSave, deleteItem, documentPerformsSufficientFundsCheck, fixItemReferences, getAccountDistributionMethod, getAccountsForRouting, getAccountsPayablePurchasingDocumentLinkIdentifier, getAccountTotalGLEntryAmount, getBelowTheLineTypes, getDeletionAwareAccountingLines, getFirstPendingGLEntry, getIsATypeOfPODoc, getIsATypeOfPurAPRecDoc, getIsATypeOfPurDoc, getIsPODoc, getIsReqsDoc, getItemByItemIdentifier, getItemByLineNumber, getItemByStringIdentifier, getItemLinePosition, getItems, getLicenseURL, getNeedWarningRelatedPOs, getNoteType, getOrderType, getOverrideWorkflowButtons, getPersistedSourceAccountingLinesForComparison, getPostingPeriodCodeFromPendingGLEntries, getPostingYearFromPendingGLEntries, getPostingYearNextOrCurrent, getPurapDocumentIdentifier, getPurchaseOrderTypeId, getRelatedViews, getSourceAccountingLines, getSourceAccountingLinesForComparison, getStatusCode, getTotalDollarAmount, getTotalDollarAmountAboveLineItems, getTotalDollarAmountAboveLineItems, getTotalDollarAmountAllItems, getTotalDollarAmountForTradeIn, getTotalDollarAmountWithExclusions, getTotalDollarAmountWithExclusionsSubsetItems, getTotalPreTaxDollarAmount, getTotalPreTaxDollarAmountAboveLineItems, getTotalPreTaxDollarAmountAboveLineItems, getTotalPreTaxDollarAmountAllItems, getTotalPreTaxDollarAmountWithExclusions, getTotalTaxAmount, getTotalTaxAmountAboveLineItems, getTotalTaxAmountAboveLineItems, getTotalTaxAmountAllItems, getTotalTaxAmountWithExclusions, getTradeInItem, getTradeInItems, getVendorAddressGeneratedIdentifier, getVendorAddressInternationalProvinceName, getVendorAttentionName, getVendorCityName, getVendorCountry, getVendorCountryCode, getVendorCustomerNumber, getVendorDetail, getVendorDetailAssignedIdentifier, getVendorHeaderGeneratedIdentifier, getVendorLine1Address, getVendorLine2Address, getVendorName, getVendorNumber, getVendorPostalCode, getVendorStateCode, isAccountSummaryFlag, isAdditionalInstitutionalInfoFlag, isAdHocRecipientsFlag, isCalculated, isCreditMemoInfoFlag, isDebit, isDeliveryFlag, isDocumentStoppedInRouteNode, isDuplicateAccountingLine, isGeneralEntriesFlag, isInvoiceInfoFlag, isNotesAndAttachmentFlag, isOverviewFlag, isPaymentHistoryFlag, isPaymentInfoFlag, isPostingYearNext, isPostingYearPrior, isProcessItemsFlag, isRelatedDocumentsFlag, isRouteLogFlag, isSensitive, isTitlesFlag, isUseTaxIndicator, isVendorFlag, itemSwap, logAndThrowRuntimeException, logAndThrowRuntimeException, populateAccountsForRouting, processAfterRetrieve, refreshNonUpdateableReferences, renumberItems, setAccountDistributionMethod, setAccountsForRouting, setAccountsPayablePurchasingDocumentLinkIdentifier, setAccountSummaryFlag, setAdditionalInstitutionalInfoFlag, setAdHocRecipientsFlag, setCalculated, setCreditMemoInfoFlag, setDeliveryFlag, setGeneralEntriesFlag, setInvoiceInfoFlag, setItems, setNotesAndAttachmentFlag, setOleUrlResolver, setOrderType, setOverrideWorkflowButtons, setOverviewFlag, setPaymentHistoryFlag, setPaymentInfoFlag, setPostingYear, setProcessItemsFlag, setPurapDocumentIdentifier, setPurchaseOrderTypeId, setPurchaseOrderTypeId, setRelatedDocumentsFlag, setRelatedViews, setRouteLogFlag, setStatusCode, setTitlesFlag, setTotalDollarAmount, setTotalPreTaxDollarAmount, setTotalTaxAmount, setUseTaxIndicator, setVendorAddressGeneratedIdentifier, setVendorAddressInternationalProvinceName, setVendorAttentionName, setVendorCityName, setVendorCountry, setVendorCountryCode, setVendorCustomerNumber, setVendorDetail, setVendorDetailAssignedIdentifier, setVendorFlag, setVendorHeaderGeneratedIdentifier, setVendorLine1Address, setVendorLine2Address, setVendorName, setVendorNumber, setVendorPostalCode, setVendorStateCode, templateVendorAddress
addSourceAccountingLine, addTargetAccountingLine, buildAccountingLineMap, copyAccountingLines, generateDocumentGeneralLedgerPendingEntries, generateEvents, generateGeneralLedgerPendingEntries, generateSaveEvents, getAccountingLineParser, getDataDictionaryEntry, getDocumentClassForAccountingLineValueAllowedValidation, getEntryValue, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getNextSourceLineNumber, getNextTargetLineNumber, getPersistedTargetAccountingLinesForComparison, getSourceAccountingLine, getSourceAccountingLineClass, getSourceAccountingLineEntryName, getSourceAccountingLinesSectionTitle, getSourceTotal, getTargetAccountingLine, getTargetAccountingLineClass, getTargetAccountingLineEntryName, getTargetAccountingLines, getTargetAccountingLinesForComparison, getTargetAccountingLinesSectionTitle, getTargetTotal, isDocumentFinalOrProcessed, processExplicitGeneralLedgerPendingEntry, processOffsetGeneralLedgerPendingEntry, setNextSourceLineNumber, setNextTargetLineNumber, setSourceAccountingLines, setTargetAccountingLines, toCopy, toErrorCorrection, updatePostingYearForAccountingLines
addPendingEntry, changeGeneralLedgerPendingEntriesApprovedStatusCode, checkSufficientFunds, clearAnyGeneralLedgerPendingEntries, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntries
createInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodCompositeString, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setAccountingPeriodCompositeString, setPostingPeriodCode
getApplicationDocumentStatus, getBusinessObjectService, getFinancialSystemDocumentHeader, getFinancialSystemDocumentService, getParameterService, prepareForSave, setApplicationDocumentStatus, setDocumentHeader, updateAndSaveAppDocStatus
getAllowsCopy, isSessionDocument
addCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getNoteTarget, 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, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addItem, deleteItem, fixItemReferences, getAccountsPayablePurchasingDocumentLinkIdentifier, getApplicationDocumentStatus, getBelowTheLineTypes, getIsATypeOfPODoc, getIsATypeOfPurAPRecDoc, getIsATypeOfPurDoc, getIsPODoc, getIsReqsDoc, getItemLinePosition, getItems, getPostingYearNextOrCurrent, getPurapDocumentIdentifier, getTotalDollarAmount, getTotalDollarAmountAboveLineItems, getTotalDollarAmountAllItems, getTotalDollarAmountForTradeIn, getTotalPreTaxDollarAmount, getTotalPreTaxDollarAmountAllItems, getTotalTaxAmount, getTotalTaxAmountAboveLineItems, getTotalTaxAmountAboveLineItems, getTotalTaxAmountAllItems, getTotalTaxAmountWithExclusions, getTradeInItem, getTradeInItems, getVendorAddressGeneratedIdentifier, getVendorAddressInternationalProvinceName, getVendorCityName, getVendorCountry, getVendorCountryCode, getVendorCustomerNumber, getVendorDetail, getVendorDetailAssignedIdentifier, getVendorHeaderGeneratedIdentifier, getVendorLine1Address, getVendorLine2Address, getVendorName, getVendorNumber, getVendorPostalCode, getVendorStateCode, isCalculated, isDocumentStoppedInRouteNode, isPostingYearNext, isPostingYearPrior, isUseTaxIndicator, itemSwap, renumberItems, setAccountsPayablePurchasingDocumentLinkIdentifier, setApplicationDocumentStatus, setCalculated, setItems, setPurapDocumentIdentifier, setTotalDollarAmount, setTotalPreTaxDollarAmount, setTotalTaxAmount, setUseTaxIndicator, setVendorAddressGeneratedIdentifier, setVendorAddressInternationalProvinceName, setVendorCityName, setVendorCountryCode, setVendorCustomerNumber, setVendorDetailAssignedIdentifier, setVendorHeaderGeneratedIdentifier, setVendorLine1Address, setVendorLine2Address, setVendorName, setVendorNumber, setVendorPostalCode, setVendorStateCode, templateVendorAddress
addSourceAccountingLine, addTargetAccountingLine, getAccountingLineParser, getDocumentClassForAccountingLineValueAllowedValidation, getNextSourceLineNumber, getNextTargetLineNumber, getSourceAccountingLine, getSourceAccountingLineClass, getSourceAccountingLineEntryName, getSourceAccountingLines, getSourceAccountingLinesSectionTitle, getSourceTotal, getTargetAccountingLine, getTargetAccountingLineClass, getTargetAccountingLineEntryName, getTargetAccountingLines, getTargetAccountingLinesSectionTitle, getTargetTotal, isDocumentFinalOrProcessed, setNextSourceLineNumber, setNextTargetLineNumber, setSourceAccountingLines, setTargetAccountingLines
checkSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntries
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear
getFinancialSystemDocumentHeader
addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, postProcessSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
buildListOfDeletionAwareLists, getExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
addPendingEntry, clearAnyGeneralLedgerPendingEntries, generateDocumentGeneralLedgerPendingEntries, generateGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getFinancialSystemDocumentHeader, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getPostingYear, isDebit
protected static org.apache.log4j.Logger LOG
protected Date invoiceDate
protected String invoiceNumber
protected org.kuali.rice.core.api.util.type.KualiDecimal vendorInvoiceAmount
protected String vendorPaymentTermsCode
protected String vendorShippingPaymentTermsCode
protected Date invoicePayDate
protected String invoiceCostSourceCode
protected boolean invoiceCancelIndicator
protected boolean paymentAttachmentIndicator
protected boolean immediatePaymentIndicator
protected String specialHandlingInstructionLine1Text
protected String specialHandlingInstructionLine2Text
protected String specialHandlingInstructionLine3Text
protected Timestamp paymentPaidTimestamp
protected boolean invoiceElectronicInvoiceIndicator
protected String accountsPayableRequestCancelIdentifier
protected Integer originalVendorHeaderGeneratedIdentifier
protected Integer originalVendorDetailAssignedIdentifier
protected Integer alternateVendorHeaderGeneratedIdentifier
protected Integer alternateVendorDetailAssignedIdentifier
protected String purchaseOrderNotes
protected String recurringPaymentTypeCode
protected boolean receivingDocumentRequiredIndicator
protected boolean invoicePositiveApprovalIndicator
protected String taxClassificationCode
protected String taxCountryCode
protected BigDecimal taxFederalPercent
protected BigDecimal taxStatePercent
protected org.kuali.rice.core.api.util.type.KualiDecimal taxSpecialW4Amount
protected Boolean taxGrossUpIndicator
protected Boolean taxExemptTreatyIndicator
protected Boolean taxForeignSourceIndicator
protected Boolean taxUSAIDPerDiemIndicator
protected Boolean taxOtherExemptIndicator
protected String vendorShippingTitleCode
protected Date purchaseOrderEndDate
protected String primaryVendorName
protected Integer requisitionIdentifier
protected PaymentTermType vendorPaymentTerms
protected ShippingPaymentTerms vendorShippingPaymentTerms
protected PurchaseOrderCostSource invoiceCostSource
protected RecurringPaymentType recurringPaymentType
public InvoiceDocument()
public List<OlePurchaseOrderDocument> getPurchaseOrderDocuments()
public void setPurchaseOrderDocuments(List<OlePurchaseOrderDocument> purchaseOrderDocuments)
public boolean isBoNotesSupport()
org.kuali.rice.krad.bo.PersistableBusinessObjectBase#isBoNotesSupport()
public Integer getPostingYearPriorOrCurrent()
public boolean isInquiryRendered()
isInquiryRendered
in interface PurchasingAccountsPayableDocument
isInquiryRendered
in class PurchasingAccountsPayableDocumentBase
PurchasingAccountsPayableDocumentBase.isInquiryRendered()
public Integer getRequisitionIdentifier()
public void setRequisitionIdentifier(Integer requisitionIdentifier)
public boolean isEnableReceivingDocumentRequiredIndicator()
public boolean isEnableInvoicePositiveApprovalIndicator()
public Date getInvoiceDate()
public void setInvoiceDate(Date invoiceDate)
public String getInvoiceNumber()
public void setInvoiceNumber(String invoiceNumber)
public org.kuali.rice.core.api.util.type.KualiDecimal getVendorInvoiceAmount()
public void setVendorInvoiceAmount(org.kuali.rice.core.api.util.type.KualiDecimal vendorInvoiceAmount)
public String getVendorPaymentTermsCode()
public void setVendorPaymentTermsCode(String vendorPaymentTermsCode)
public PaymentTermType getVendorPaymentTerms()
public void setVendorPaymentTerms(PaymentTermType vendorPaymentTerms)
public String getVendorShippingPaymentTermsCode()
public void setVendorShippingPaymentTermsCode(String vendorShippingPaymentTermsCode)
public Date getInvoicePayDate()
public void setInvoicePayDate(Date invoicePayDate)
public String getInvoiceCostSourceCode()
public void setInvoiceCostSourceCode(String invoiceCostSourceCode)
public boolean getInvoiceCancelIndicator()
public boolean isInvoiceCancelIndicator()
public void setInvoiceCancelIndicator(boolean invoiceCancelIndicator)
public boolean getPaymentAttachmentIndicator()
public void setPaymentAttachmentIndicator(boolean paymentAttachmentIndicator)
public boolean getImmediatePaymentIndicator()
public void setImmediatePaymentIndicator(boolean immediatePaymentIndicator)
public String getSpecialHandlingInstructionLine1Text()
public void setSpecialHandlingInstructionLine1Text(String specialHandlingInstructionLine1Text)
public String getSpecialHandlingInstructionLine2Text()
public void setSpecialHandlingInstructionLine2Text(String specialHandlingInstructionLine2Text)
public String getSpecialHandlingInstructionLine3Text()
public void setSpecialHandlingInstructionLine3Text(String specialHandlingInstructionLine3Text)
public Timestamp getPaymentPaidTimestamp()
public void setPaymentPaidTimestamp(Timestamp paymentPaidTimestamp)
public boolean getInvoiceElectronicInvoiceIndicator()
public void setInvoiceElectronicInvoiceIndicator(boolean invoiceElectronicInvoiceIndicator)
public String getAccountsPayableRequestCancelIdentifier()
public void setAccountsPayableRequestCancelIdentifier(String accountsPayableRequestCancelIdentifier)
public Integer getOriginalVendorHeaderGeneratedIdentifier()
public void setOriginalVendorHeaderGeneratedIdentifier(Integer originalVendorHeaderGeneratedIdentifier)
public Integer getOriginalVendorDetailAssignedIdentifier()
public void setOriginalVendorDetailAssignedIdentifier(Integer originalVendorDetailAssignedIdentifier)
public Integer getAlternateVendorHeaderGeneratedIdentifier()
public void setAlternateVendorHeaderGeneratedIdentifier(Integer alternateVendorHeaderGeneratedIdentifier)
public Integer getAlternateVendorDetailAssignedIdentifier()
public void setAlternateVendorDetailAssignedIdentifier(Integer alternateVendorDetailAssignedIdentifier)
public ShippingPaymentTerms getVendorShippingPaymentTerms()
public void setVendorShippingPaymentTerms(ShippingPaymentTerms vendorShippingPaymentTerms)
public String getVendorShippingTitleCode()
public void setVendorShippingTitleCode(String vendorShippingTitleCode)
public Date getPurchaseOrderEndDate()
public void setPurchaseOrderEndDate(Date purchaseOrderEndDate)
public boolean isInvoicePositiveApprovalIndicator()
public void setInvoicePositiveApprovalIndicator(boolean invoicePositiveApprovalIndicator)
invoicePositiveApprovalIndicator
- The invoicePositiveApprovalIndicator to set.public boolean isReceivingDocumentRequiredIndicator()
public void setReceivingDocumentRequiredIndicator(boolean receivingDocumentRequiredIndicator)
receivingDocumentRequiredIndicator
- The receivingDocumentRequiredIndicator to set.public void initiateDocument() throws org.kuali.rice.kew.api.exception.WorkflowException
org.kuali.rice.kew.api.exception.WorkflowException
public void clearInitFields()
public void populateInvoiceFromPurchaseOrder(PurchaseOrderDocument po)
po
- -public void populateInvoiceFromPurchaseOrder(PurchaseOrderDocument po, HashMap<String,ExpiredOrClosedAccountEntry> expiredOrClosedAccountList)
po
- Purchase Order Document used for populating the PRQSexpiredOrClosedAccountList
- a list of closed or expired accountspublic String getDocumentTitle()
getDocumentTitle
in interface org.kuali.rice.krad.document.Document
getDocumentTitle
in class org.kuali.rice.krad.document.DocumentBase
DocumentBase.getDocumentTitle()
protected String getCustomDocumentTitle()
public PurApAccountingLine getFirstAccount()
protected String getTitleIndicator()
public void doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
GeneralLedgerPostingDocumentBase
doRouteStatusChange
in interface org.kuali.rice.krad.document.Document
doRouteStatusChange
in class GeneralLedgerPostingDocumentBase
DocumentBase.doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange)
public void doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent event)
doActionTaken
in interface org.kuali.rice.krad.document.Document
doActionTaken
in class org.kuali.rice.krad.document.DocumentBase
Document.doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
public boolean processNodeChange(String newNodeName, String oldNodeName)
AccountsPayableDocumentBase
processNodeChange
in class AccountsPayableDocumentBase
newNodeName
- - current route leveloldNodeName
- - previous route levelAccountsPayableDocumentBase.processNodeChange(String, String)
public void saveDocumentFromPostProcessing()
AccountsPayableDocumentBase
saveDocumentFromPostProcessing
in class AccountsPayableDocumentBase
AccountsPayableDocumentBase.saveDocumentFromPostProcessing()
public Class getItemClass()
PurchasingAccountsPayableDocument
getItemClass
in interface PurapItemOperations
getItemClass
in interface PurchasingAccountsPayableDocument
getItemClass
in class AccountsPayableDocumentBase
PurchasingAccountsPayableDocumentBase.getItemClass()
public Class getItemUseTaxClass()
getItemUseTaxClass
in class PurchasingAccountsPayableDocumentBase
public PurchaseOrderDocument getPurApSourceDocumentIfPossible()
PurchasingAccountsPayableDocument
getPurApSourceDocumentIfPossible
in interface PurchasingAccountsPayableDocument
getPurApSourceDocumentIfPossible
in class AccountsPayableDocumentBase
PurchasingAccountsPayableDocumentBase.getPurApSourceDocumentIfPossible()
public String getPurApSourceDocumentLabelIfPossible()
PurchasingAccountsPayableDocument
getPurApSourceDocumentLabelIfPossible
in interface PurchasingAccountsPayableDocument
getPurApSourceDocumentLabelIfPossible
in class AccountsPayableDocumentBase
PurchasingAccountsPayableDocumentBase.getPurApSourceDocumentLabelIfPossible()
public String getPurchaseOrderNotes()
public void setPurchaseOrderNotes(String purchaseOrderNotes)
public String getRecurringPaymentTypeCode()
public void setRecurringPaymentTypeCode(String recurringPaymentTypeCode)
public org.kuali.rice.core.api.util.type.KualiDecimal getItemTotalPoEncumbranceAmount()
public org.kuali.rice.core.api.util.type.KualiDecimal getItemTotalPoEncumbranceAmountRelieved()
public org.kuali.rice.core.api.util.type.KualiDecimal getItemTotalPoEncumbranceAmountRelieved(boolean includeBelowTheLine)
public org.kuali.rice.core.api.util.type.KualiDecimal getLineItemTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getLineItemPreTaxTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getLineItemTaxAmount()
public org.kuali.rice.core.api.util.type.KualiDecimal getGrandTotal()
AccountsPayableDocument
getGrandTotal
in interface AccountsPayableDocument
getGrandTotal
in class AccountsPayableDocumentBase
AccountsPayableDocument.getGrandTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getGrandTotalExcludingDiscount()
public void setGrandTotalExcludingDiscount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
amount
- - Grand total for document, excluding discountpublic org.kuali.rice.core.api.util.type.KualiDecimal getGrandPreTaxTotal()
public org.kuali.rice.core.api.util.type.KualiDecimal getGrandPreTaxTotalExcludingDiscount()
public org.kuali.rice.core.api.util.type.KualiDecimal getGrandTaxAmount()
public org.kuali.rice.core.api.util.type.KualiDecimal getGrandTaxAmountExcludingDiscount()
public boolean isDiscount()
public org.kuali.rice.core.api.util.type.KualiDecimal getItemTotalPoPaidAmount()
public String getAccountsPayableRequestCancelPersonName()
public void setItemTotalPoPaidAmount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
amount
- - total po amount paidpublic void setItemTotalPoEncumbranceAmount(org.kuali.rice.core.api.util.type.KualiDecimal amount)
amount
- - total po encumbrancepublic void setItemTotalPoEncumbranceAmountRelieved(org.kuali.rice.core.api.util.type.KualiDecimal amount)
amount
- - total po encumbrance amount relievedprotected List<String> getCurrentRouteLevels(org.kuali.rice.kew.api.WorkflowDocument workflowDocument)
workflowDocument
- - work flow documentpublic RecurringPaymentType getRecurringPaymentType()
public void setRecurringPaymentType(RecurringPaymentType recurringPaymentType)
public PurchaseOrderCostSource getInvoiceCostSource()
public void setInvoiceCostSource(PurchaseOrderCostSource invoiceCostSource)
public String getPoDocumentTypeForAccountsPayableDocumentCancel()
AccountsPayableDocumentBase
getPoDocumentTypeForAccountsPayableDocumentCancel
in class AccountsPayableDocumentBase
AccountsPayableDocumentBase.getPoDocumentTypeForAccountsPayableDocumentCancel()
public org.kuali.rice.core.api.util.type.KualiDecimal getInitialAmount()
AccountsPayableDocument
getInitialAmount
in interface AccountsPayableDocument
getInitialAmount
in class AccountsPayableDocumentBase
AccountsPayableDocumentBase.getInitialAmount()
public void prepareForSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event)
prepareForSave
in interface org.kuali.rice.krad.document.Document
prepareForSave
in class AccountsPayableDocumentBase
Document.prepareForSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent)
protected boolean isAttachmentRequired()
AccountsPayableDocumentBase
isAttachmentRequired
in class AccountsPayableDocumentBase
AccountsPayableDocumentBase.isAttachmentRequired()
public AccountsPayableDocumentSpecificService getDocumentSpecificService()
getDocumentSpecificService
in interface AccountsPayableDocument
getDocumentSpecificService
in class AccountsPayableDocumentBase
AccountsPayableDocument.getDocumentSpecificService()
public PurApItem getItem(int pos)
PurchasingAccountsPayableDocument
getItem
in interface PurapItemOperations
getItem
in interface PurchasingAccountsPayableDocument
getItem
in class PurchasingAccountsPayableDocumentBase
pos
- the specified index.PurchasingAccountsPayableDocumentBase.getItem(int)
public String getPrimaryVendorName()
@Deprecated public void setPrimaryVendorName(String primaryVendorName)
public void customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable, GeneralLedgerPendingEntry explicitEntry)
customizeExplicitGeneralLedgerPendingEntry
in class AccountingDocumentBase
org.kuali.module.purap.rules.PurapAccountingDocumentRuleBase#customizeExplicitGeneralLedgerPendingEntry(org.kuali.ole.sys.document.AccountingDocument,
org.kuali.ole.sys.businessobject.AccountingLine, org.kuali.ole.sys.businessobject.GeneralLedgerPendingEntry)
public boolean answerSplitNodeQuestion(String nodeName) throws UnsupportedOperationException
answerSplitNodeQuestion
in interface FinancialSystemDocument
answerSplitNodeQuestion
in class FinancialSystemTransactionalDocumentBase
UnsupportedOperationException
FinancialSystemTransactionalDocumentBase.answerSplitNodeQuestion(String)
protected boolean isVendorEmployeeOrNonResidentAlien()
protected boolean shouldWaitForReceiving()
public boolean isReceivingRequirementMet()
public Date getTransactionTaxDate()
public String getTaxClassificationCode()
public void setTaxClassificationCode(String taxClassificationCode)
public org.kuali.rice.core.api.util.type.KualiDecimal getTaxFederalPercentShort()
public BigDecimal getTaxFederalPercent()
public void setTaxFederalPercent(BigDecimal taxFederalPercent)
public org.kuali.rice.core.api.util.type.KualiDecimal getTaxStatePercentShort()
public BigDecimal getTaxStatePercent()
public void setTaxStatePercent(BigDecimal taxStatePercent)
public String getTaxCountryCode()
public void setTaxCountryCode(String taxCountryCode)
public Boolean getTaxGrossUpIndicator()
public void setTaxGrossUpIndicator(Boolean taxGrossUpIndicator)
public Boolean getTaxExemptTreatyIndicator()
public void setTaxExemptTreatyIndicator(Boolean taxExemptTreatyIndicator)
public Boolean getTaxForeignSourceIndicator()
public void setTaxForeignSourceIndicator(Boolean taxForeignSourceIndicator)
public org.kuali.rice.core.api.util.type.KualiDecimal getTaxSpecialW4Amount()
public void setTaxSpecialW4Amount(org.kuali.rice.core.api.util.type.KualiDecimal taxSpecialW4Amount)
public Boolean getTaxUSAIDPerDiemIndicator()
public void setTaxUSAIDPerDiemIndicator(Boolean taxUSAIDPerDiemIndicator)
public Boolean getTaxOtherExemptIndicator()
public void setTaxOtherExemptIndicator(Boolean taxOtherExemptIndicator)
public String getTaxNQIId()
public void setTaxNQIId(String taxNQIId)
public boolean isInvoiceCancelIndicatorForSearching()
public boolean getInvoicePositiveApprovalIndicatorForSearching()
public boolean getReceivingDocumentRequiredIndicatorForSearching()
public String getRequestCancelIndicatorForResult()
public String getPaidIndicatorForResult()
public Date getAccountsPayableApprovalDateForSearching()
public boolean documentHasNoImagesAttached()
documentHasNoImagesAttached
in class AccountsPayableDocumentBase
protected void closePurchaseOrder()
public PurchaseOrderDocument getPurchaseOrderDocument()
getPurchaseOrderDocument
in interface AccountsPayableDocument
getPurchaseOrderDocument
in class AccountsPayableDocumentBase
AccountsPayableDocument.getPurchaseOrderDocument()
public PurchaseOrderDocument getPurchaseOrderDocument(Integer poID)
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.