org.kuali.kfs.module.purap.document
Class PurchaseOrderDocument

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.kns.document.DocumentBase
              extended by org.kuali.rice.kns.document.TransactionalDocumentBase
                  extended by org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase
                      extended by org.kuali.kfs.sys.document.LedgerPostingDocumentBase
                          extended by org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase
                              extended by org.kuali.kfs.sys.document.AccountingDocumentBase
                                  extended by org.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocumentBase
                                      extended by org.kuali.kfs.module.purap.document.PurchasingDocumentBase
                                          extended by org.kuali.kfs.module.purap.document.PurchaseOrderDocument
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, PurapItemOperations, PurchasingAccountsPayableDocument, PurchasingDocument, AccountingDocument, AmountTotaling, FinancialSystemTransactionalDocument, GeneralLedgerPendingEntrySource, GeneralLedgerPostingDocument, LedgerPostingDocument, MultiselectableDocSearchConversion, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject, org.kuali.rice.kns.document.Document, org.kuali.rice.kns.document.SessionDocument, org.kuali.rice.kns.document.TransactionalDocument
Direct Known Subclasses:
PurchaseOrderAmendmentDocument, PurchaseOrderCloseDocument, PurchaseOrderPaymentHoldDocument, PurchaseOrderRemoveHoldDocument, PurchaseOrderReopenDocument, PurchaseOrderRetransmitDocument, PurchaseOrderSplitDocument, PurchaseOrderVoidDocument

public class PurchaseOrderDocument
extends PurchasingDocumentBase
implements MultiselectableDocSearchConversion

Purchase Order Document

See Also:
Serialized Form

Field Summary
protected  Integer alternateVendorDetailAssignedIdentifier
           
protected  Integer alternateVendorHeaderGeneratedIdentifier
           
protected  String alternateVendorName
           
protected  String alternateVendorNumber
           
protected  String assignedUserPrincipalId
           
protected  String assignedUserPrincipalName
           
protected  boolean assigningSensitiveData
           
protected  ContractManager contractManager
           
protected  Integer contractManagerCode
           
protected  boolean copyingNotesWhenSplitting
           
static String FIN_COA_CD_KEY
           
protected  org.kuali.rice.kns.util.KualiDecimal finalPaymentAmount
           
protected  Date finalPaymentDate
           
protected  List<SourceAccountingLine> glOnlySourceAccountingLines
           
protected  org.kuali.rice.kns.util.KualiDecimal initialPaymentAmount
           
protected  Date initialPaymentDate
           
protected  org.kuali.rice.kns.util.KualiDecimal internalPurchasingLimit
           
protected static org.apache.log4j.Logger LOG
           
protected  Integer newQuoteVendorDetailAssignedIdentifier
           
protected  Integer newQuoteVendorHeaderGeneratedIdentifier
           
protected  boolean pendingActionIndicator
           
protected  boolean pendingSplit
           
protected  String purchaseOrderCommodityDescription
           
protected  boolean purchaseOrderConfirmedIndicator
           
protected  Timestamp purchaseOrderCreateTimestamp
           
protected  boolean purchaseOrderCurrentIndicator
           
protected  Timestamp purchaseOrderFirstTransmissionTimestamp
           
protected  Timestamp purchaseOrderInitialOpenTimestamp
           
protected  Timestamp purchaseOrderLastTransmitTimestamp
           
protected  Integer purchaseOrderPreviousIdentifier
           
protected  Date purchaseOrderQuoteAwardedDate
           
protected  Date purchaseOrderQuoteDueDate
           
protected  Date purchaseOrderQuoteInitializationDate
           
protected  Integer purchaseOrderQuoteListIdentifier
           
protected  String purchaseOrderQuoteTypeCode
           
protected  String purchaseOrderQuoteVendorNoteText
           
protected  String purchaseOrderRetransmissionMethodCode
           
protected  List<PurchaseOrderSensitiveData> purchaseOrderSensitiveData
           
protected  PurchaseOrderVendorChoice purchaseOrderVendorChoice
           
protected  String purchaseOrderVendorChoiceCode
           
protected  List<PurchaseOrderVendorQuote> purchaseOrderVendorQuotes
           
protected  List<PurchaseOrderVendorStipulation> purchaseOrderVendorStipulations
           
protected  org.kuali.rice.kns.util.KualiDecimal recurringPaymentAmount
           
protected  Date recurringPaymentDate
           
protected  RecurringPaymentFrequency recurringPaymentFrequency
           
protected  String recurringPaymentFrequencyCode
           
protected  Integer requisitionIdentifier
           
protected  String retransmitHeader
           
protected  String statusChange
           
protected static String UNIVERSITY_FISCAL_YEAR_KEY
           
protected static String VENDOR_IS_EMPLOYEE
           
protected static String VENDOR_IS_FOREIGN
           
protected static String VENDOR_IS_FOREIGN_EMPLOYEE
           
protected  PaymentTermType vendorPaymentTerms
           
protected  ShippingPaymentTerms vendorShippingPaymentTerms
           
protected  ShippingTitle vendorShippingTitle
           
 
Fields inherited from class org.kuali.kfs.module.purap.document.PurchasingDocumentBase
addressToVendorIndicator, billingCityName, billingCountryCode, billingLine1Address, billingLine2Address, billingName, billingPhoneNumber, billingPostalCode, billingStateCode, capitalAssetSystemState, capitalAssetSystemStateCode, capitalAssetSystemType, capitalAssetSystemTypeCode, chartOfAccounts, chartOfAccountsCode, commodityCodesForRouting, deliveryBuildingCode, deliveryBuildingLine1Address, deliveryBuildingLine2Address, deliveryBuildingName, deliveryBuildingOtherIndicator, deliveryBuildingRoomNumber, deliveryCampus, deliveryCampusCode, deliveryCityName, deliveryCountryCode, deliveryInstructionText, deliveryPostalCode, deliveryRequiredDate, deliveryRequiredDateReason, deliveryRequiredDateReasonCode, deliveryStateCode, deliveryToEmailAddress, deliveryToName, deliveryToPhoneNumber, documentFundingSourceCode, externalOrganizationB2bSupplierIdentifier, fundingSource, institutionContactEmailAddress, institutionContactName, institutionContactPhoneNumber, nonInstitutionFundAccount, nonInstitutionFundAccountNumber, nonInstitutionFundChartOfAccounts, nonInstitutionFundChartOfAccountsCode, nonInstitutionFundOrganization, nonInstitutionFundOrganizationCode, nonInstitutionFundOrgChartOfAccounts, nonInstitutionFundOrgChartOfAccountsCode, organization, organizationCode, paymentRequestPositiveApprovalIndicator, purchaseOrderAutomaticIndicator, purchaseOrderBeginDate, purchaseOrderCostSource, purchaseOrderCostSourceCode, purchaseOrderEndDate, purchaseOrderTotalLimit, purchaseOrderTransmissionMethod, purchaseOrderTransmissionMethodCode, purchasingCapitalAssetItems, purchasingCapitalAssetSystems, receivingCityName, receivingCountryCode, receivingDocumentRequiredIndicator, receivingLine1Address, receivingLine2Address, receivingName, receivingPostalCode, receivingStateCode, recurringPaymentType, recurringPaymentTypeCode, requestorPersonEmailAddress, requestorPersonName, requestorPersonPhoneNumber, requisitionSource, requisitionSourceCode, supplierDiversityLabel, vendorContactsLabel, vendorContract, vendorContractGeneratedIdentifier, vendorFaxNumber, vendorNoteText, vendorPaymentTermsCode, vendorPhoneNumber, vendorRestrictedIndicator, vendorShippingPaymentTermsCode, vendorShippingTitleCode
 
Fields inherited from class org.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocumentBase
accountsForRouting, accountsPayablePurchasingDocumentLinkIdentifier, allowDeleteAwareCollection, belowTheLineTypes, items, overrideWorkflowButtons, purapDocumentIdentifier, relatedViews, sensitive, status, statusCode, useTaxIndicator, vendorAddressGeneratedIdentifier, vendorAddressInternationalProvinceName, vendorAttentionName, vendorCityName, vendorCountry, vendorCountryCode, vendorCustomerNumber, vendorDetail, vendorDetailAssignedIdentifier, vendorHeaderGeneratedIdentifier, vendorLine1Address, vendorLine2Address, vendorName, vendorNumber, vendorPostalCode, vendorStateCode
 
Fields inherited from class org.kuali.kfs.sys.document.AccountingDocumentBase
dataDictionaryEntry, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLines
 
Fields inherited from class org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase
generalLedgerPendingEntries
 
Fields inherited from class org.kuali.kfs.sys.document.LedgerPostingDocumentBase
accountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYear
 
Fields inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase
documentHeader
 
Fields inherited from class org.kuali.rice.kns.document.DocumentBase
documentBusinessObject, documentNumber
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
PurchaseOrderDocument()
          Default constructor.
 
Method Summary
 boolean answerSplitNodeQuestion(String nodeName)
          Provides answers to the following splits: RequiresContractManagementReview RequiresBudgetReview VendorIsEmployeeOrNonResidentAlien TransmissionMethodIsPrint
 void appSpecificRouteDocumentToUser(org.kuali.rice.kns.workflow.service.KualiWorkflowDocument workflowDocument, String userNetworkId, String annotation, String responsibility)
          Sends FYI workflow request to the given user on this document.
 List buildListOfDeletionAwareLists()
           
 boolean canClosePOForTradeIn()
          Validates whether we can indeed close the PO.
 org.kuali.rice.kew.docsearch.DocSearchCriteriaDTO convertSelections(org.kuali.rice.kew.docsearch.DocSearchCriteriaDTO searchCriteria)
           
 void customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable, GeneralLedgerPendingEntry explicitEntry)
           
 void customPrepareForSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
          Allows child PO classes to customize the prepareForSave method.
 void doActionTaken(org.kuali.rice.kew.dto.ActionTakenEventDTO event)
           
 void doRouteLevelChange(org.kuali.rice.kew.dto.DocumentRouteLevelChangeDTO levelChangeEvent)
           
 void doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
          Override to call super and then iterate over all GLPEs and update the approved code appropriately.
 List<Account> getAccountsForAwardRouting()
           
 boolean getAdditionalChargesExist()
           
 Integer getAlternateVendorDetailAssignedIdentifier()
           
 Integer getAlternateVendorHeaderGeneratedIdentifier()
           
 String getAlternateVendorName()
           
 String getAlternateVendorNumber()
          Gets the alternateVendorNumber attribute.
 String getAssignedUserPrincipalId()
           
 String getAssignedUserPrincipalName()
           
 boolean getAssigningSensitiveData()
           
 PurchaseOrderVendorQuote getAwardedVendorQuote()
          Returns the quote from the awarded vendor.
 boolean getContainsUnpaidPaymentRequestsOrCreditMemos()
          Returns true if this Purchase Order contains unpaid items in the Payment Request or Credit Memo.
 ContractManager getContractManager()
           
 Integer getContractManagerCode()
           
 String getContractManagerName()
          Deprecated.  
protected  String getCurrentRouteNodeName(org.kuali.rice.kns.workflow.service.KualiWorkflowDocument wd)
          Returns the name of the current route node.
protected  String getCustomDocumentTitle()
          Returns a custom document title based on the workflow document title.
 org.kuali.rice.kns.bo.PersistableBusinessObject getDocumentBusinessObject()
          Overriding this from the super class so that Note will use only the oldest PurchaseOrderDocument as the documentBusinessObject.
 PurchasingDocumentSpecificService getDocumentSpecificService()
           
 String getDocumentTitle()
           
 String getDocumentTitleForResult()
           
 org.kuali.rice.kns.util.KualiDecimal getFinalPaymentAmount()
           
 Date getFinalPaymentDate()
           
protected  PurApAccountingLine getFirstAccount()
          Returns the first PO item's first accounting line (assuming the item list is sequentially ordered).
 List<SourceAccountingLine> getGlOnlySourceAccountingLines()
           
 org.kuali.rice.kns.util.KualiDecimal getInitialPaymentAmount()
           
 Date getInitialPaymentDate()
           
 org.kuali.rice.kns.util.KualiDecimal getInternalPurchasingLimit()
           
 Class getItemClass()
          Returns the Item Class.
 List getItemsActiveOnly()
          Gets the active items in this Purchase Order.
 List getItemsActiveOnlySetupAlternateAmount()
          Gets the active items in this Purchase Order, and sets up the alternate amount for GL entry creation.
 Class getItemUseTaxClass()
           
 boolean getNeedWarning()
          Checks whether the purchase order needs a warning to be displayed, i.e.
 Integer getNewQuoteVendorDetailAssignedIdentifier()
           
 Integer getNewQuoteVendorHeaderGeneratedIdentifier()
           
 Boolean getOverrideWorkflowButtons()
           
 RequisitionDocument 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.
 String getPurchaseOrderCommodityDescription()
           
 Timestamp getPurchaseOrderCreateTimestamp()
           
 boolean getPurchaseOrderCurrentIndicatorForSearching()
           
 Timestamp getPurchaseOrderFirstTransmissionTimestamp()
           
 Timestamp getPurchaseOrderInitialOpenTimestamp()
           
 Timestamp getPurchaseOrderLastTransmitTimestamp()
           
 Integer getPurchaseOrderPreviousIdentifier()
           
 Date getPurchaseOrderQuoteAwardedDate()
          Gets the purchaseOrderQuoteAwardedDate attribute.
 Date getPurchaseOrderQuoteDueDate()
           
 Date getPurchaseOrderQuoteInitializationDate()
          Gets the purchaseOrderQuoteInitializationDate attribute.
 Integer getPurchaseOrderQuoteListIdentifier()
           
 String getPurchaseOrderQuoteTypeCode()
           
 String getPurchaseOrderQuoteTypeDescription()
           
 String getPurchaseOrderQuoteVendorNoteText()
           
 String getPurchaseOrderRetransmissionMethodCode()
           
 List<PurchaseOrderSensitiveData> getPurchaseOrderSensitiveData()
           
 PurchaseOrderVendorChoice getPurchaseOrderVendorChoice()
           
 String getPurchaseOrderVendorChoiceCode()
           
 PurchaseOrderVendorQuote getPurchaseOrderVendorQuote(int index)
           
 List<PurchaseOrderVendorQuote> getPurchaseOrderVendorQuotes()
           
 PurchaseOrderVendorStipulation getPurchaseOrderVendorStipulation(int index)
          Returns the Vendor Stipulation at the specified index in this Purchase Order.
 List getPurchaseOrderVendorStipulations()
           
 Class getPurchasingCapitalAssetItemClass()
           
 Class getPurchasingCapitalAssetSystemClass()
           
 org.kuali.rice.kns.util.KualiDecimal getRecurringPaymentAmount()
           
 Date getRecurringPaymentDate()
           
 RecurringPaymentFrequency getRecurringPaymentFrequency()
           
 String getRecurringPaymentFrequencyCode()
           
 Integer getRequisitionIdentifier()
           
 String getRetransmitHeader()
           
 Class getSourceAccountingLineClass()
          Returns the default Source accounting line class.
 String getStatusChange()
           
 String getStatusDescription()
          Deprecated.  
 org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmount()
          Since one side of the document should match the other and the document should balance, the total dollar amount for the document should either be the expense line or the income line.
 org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmount(boolean includeInactive, boolean includeBelowTheLine)
          Gets the total dollar amount for this Purchase Order.
 org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmountAboveLineItems()
          Computes the total dollar amount of all above the line items.
 org.kuali.rice.kns.util.KualiDecimal getTotalPreTaxDollarAmount()
          Computes the pre tax total dollar amount of all items.
 org.kuali.rice.kns.util.KualiDecimal getTotalPreTaxDollarAmount(boolean includeInactive, boolean includeBelowTheLine)
          Gets the pre tax total dollar amount for this Purchase Order.
 org.kuali.rice.kns.util.KualiDecimal getTotalPreTaxDollarAmountAboveLineItems()
          Computes the total dollar amount of all above the line items.
 org.kuali.rice.kns.util.KualiDecimal getTotalTaxAmount()
           
 org.kuali.rice.kns.util.KualiDecimal getTotalTaxAmount(boolean includeInactive, boolean includeBelowTheLine)
          Gets the tax total amount for this Purchase Order.
 org.kuali.rice.kns.util.KualiDecimal getTotalTaxAmountAboveLineItems()
           
 PaymentTermType getVendorPaymentTerms()
           
 ShippingPaymentTerms getVendorShippingPaymentTerms()
           
 ShippingTitle getVendorShippingTitle()
           
 List<Long> getWorkflowEngineDocumentIdsToLock()
           
protected  boolean isAwardReviewRequired()
           
 boolean isBoNotesSupport()
           
protected  boolean isBudgetReviewRequired()
           
protected  boolean isContractManagementReviewRequired()
           
 boolean isCopyingNotesWhenSplitting()
           
 boolean isInquiryRendered()
          Overrides the method in PurchasingAccountsPayableDocumentBase to add the criteria specific to Purchase Order Document.
protected  boolean isObjectCodeAllowedForAwardRouting(PurApAccountingLine accountingLine, org.kuali.rice.kns.service.ParameterService parameterService)
           
 boolean isPendingActionIndicator()
           
 boolean isPendingSplit()
           
 boolean isPurchaseOrderAwarded()
          Returns true if a vendor has been awarded for this Purchase Order.
 boolean isPurchaseOrderConfirmedIndicator()
           
 boolean isPurchaseOrderCurrentIndicator()
           
protected  boolean isVendorEmployeeOrNonResidentAlien()
           
 void populatePurchaseOrderFromRequisition(RequisitionDocument requisitionDocument)
          Populates this Purchase Order from the related Requisition Document.
 void prepareForSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
          Overrides the method in PurchasingAccountsPayableDocumentBase to remove the purchasingCapitalAssetSystem when the system type is either ONE or MULT.
protected  String printList(List<Long> docIds)
           
 void refreshDocumentBusinessObject()
           
 void setAlternateVendorDetailAssignedIdentifier(Integer alternateVendorDetailAssignedIdentifier)
           
 void setAlternateVendorHeaderGeneratedIdentifier(Integer alternateVendorHeaderGeneratedIdentifier)
           
 void setAlternateVendorName(String alternateVendorName)
           
 void setAlternateVendorNumber(String vendorNumber)
          Sets the alternateVendorNumber attribute value.
 void setAssignedUserPrincipalId(String assignedUserPrincipalId)
           
 void setAssignedUserPrincipalName(String assignedUserPrincipalName)
           
 void setAssigningSensitiveData(boolean assigningSensitiveData)
           
 void setContractManager(ContractManager contractManager)
           
 void setContractManagerCode(Integer contractManagerCode)
           
 void setContractManagerName(String contractManagerName)
          Deprecated.  
 void setCopyingNotesWhenSplitting(boolean copyingNotesWhenSplitting)
           
 void setDefaultValuesForAPO()
          Sets default values for APO.
 void setDocumentBusinessObject(PurchaseOrderDocument po)
           
 void setFinalPaymentAmount(org.kuali.rice.kns.util.KualiDecimal finalPaymentAmount)
           
 void setFinalPaymentDate(Date finalPaymentDate)
           
 void setGlOnlySourceAccountingLines(List<SourceAccountingLine> glOnlySourceAccountingLines)
           
 void setInitialPaymentAmount(org.kuali.rice.kns.util.KualiDecimal initialPaymentAmount)
           
 void setInitialPaymentDate(Date initialPaymentDate)
           
 void setInternalPurchasingLimit(org.kuali.rice.kns.util.KualiDecimal internalPurchasingLimit)
           
 void setNewQuoteVendorDetailAssignedIdentifier(Integer newQuoteVendorDetailAssignedIdentifier)
           
 void setNewQuoteVendorHeaderGeneratedIdentifier(Integer newQuoteVendorHeaderGeneratedIdentifier)
           
 void setPendingActionIndicator(boolean pendingActionIndicator)
           
 void setPendingSplit(boolean pendingSplit)
           
 void setPurchaseOrderCommodityDescription(String purchaseOrderCommodityDescription)
           
 void setPurchaseOrderConfirmedIndicator(boolean purchaseOrderConfirmedIndicator)
           
 void setPurchaseOrderCreateTimestamp(Timestamp purchaseOrderCreateTimestamp)
           
 void setPurchaseOrderCurrentIndicator(boolean purchaseOrderCurrentIndicator)
           
 void setPurchaseOrderFirstTransmissionTimestamp(Timestamp purchaseOrderFirstTransmissionTimestamp)
           
 void setPurchaseOrderInitialOpenTimestamp(Timestamp purchaseOrderInitialOpenDate)
           
 void setPurchaseOrderLastTransmitTimestamp(Timestamp PurchaseOrderLastTransmitTimestamp)
           
 void setPurchaseOrderPreviousIdentifier(Integer purchaseOrderPreviousIdentifier)
           
 void setPurchaseOrderQuoteAwardedDate(Date purchaseOrderQuoteAwardedDate)
          Sets the purchaseOrderQuoteAwardedDate attribute value.
 void setPurchaseOrderQuoteDueDate(Date purchaseOrderQuoteDueDate)
           
 void setPurchaseOrderQuoteInitializationDate(Date purchaseOrderQuoteInitializationDate)
          Sets the purchaseOrderQuoteInitializationDate attribute value.
 void setPurchaseOrderQuoteListIdentifier(Integer purchaseOrderQuoteListIdentifier)
           
 void setPurchaseOrderQuoteTypeCode(String purchaseOrderQuoteTypeCode)
           
 void setPurchaseOrderQuoteVendorNoteText(String purchaseOrderQuoteVendorNoteText)
           
 void setPurchaseOrderRetransmissionMethodCode(String purchaseOrderRetransmissionMethodCode)
           
 void setPurchaseOrderSensitiveData(List<PurchaseOrderSensitiveData> purchaseOrderSensitiveData)
           
 void setPurchaseOrderVendorChoice(PurchaseOrderVendorChoice purchaseOrderVendorChoice)
           
 void setPurchaseOrderVendorChoiceCode(String purchaseOrderVendorChoiceCode)
           
 void setPurchaseOrderVendorQuotes(List<PurchaseOrderVendorQuote> purchaseOrderVendorQuotes)
           
 void setPurchaseOrderVendorStipulations(List purchaseOrderVendorStipulations)
           
 void setRecurringPaymentAmount(org.kuali.rice.kns.util.KualiDecimal recurringPaymentAmount)
           
 void setRecurringPaymentDate(Date recurringPaymentDate)
           
 void setRecurringPaymentFrequency(RecurringPaymentFrequency recurringPaymentFrequency)
           
 void setRecurringPaymentFrequencyCode(String recurringPaymentFrequencyCode)
           
 void setRequisitionIdentifier(Integer requisitionIdentifier)
           
 void setRetransmitHeader(String retransmitHeader)
           
 void setStatusChange(String statusChange)
           
 void setStatusDescription(String statusDescription)
          Deprecated.  
 void setVendorPaymentTerms(PaymentTermType vendorPaymentTerms)
           
 void setVendorShippingPaymentTerms(ShippingPaymentTerms vendorShippingPaymentTerms)
           
 void setVendorShippingTitle(ShippingTitle vendorShippingTitle)
           
 void templateAlternateVendor(VendorDetail vendorDetail)
          Sets alternate vendor fields based on a given VendorDetail.
 
Methods inherited from class org.kuali.kfs.module.purap.document.PurchasingDocumentBase
addItem, clearCapitalAssetFields, getAddressToVendorIndicator, getBillingCityName, getBillingCountryCode, getBillingCountryName, getBillingLine1Address, getBillingLine2Address, getBillingName, getBillingPhoneNumber, getBillingPostalCode, getBillingStateCode, getCapitalAssetSystemState, getCapitalAssetSystemStateCode, getCapitalAssetSystemType, getCapitalAssetSystemTypeCode, getChartAndOrgCodeForResult, getChartOfAccounts, getChartOfAccountsCode, getCommodityCodesForRouting, getDeliveryBuildingCode, getDeliveryBuildingLine1Address, getDeliveryBuildingLine2Address, getDeliveryBuildingName, getDeliveryBuildingRoomNumber, getDeliveryCampus, getDeliveryCampusCode, getDeliveryCampusCodeForSearch, getDeliveryCityName, getDeliveryCountryCode, getDeliveryCountryName, getDeliveryInstructionText, getDeliveryPostalCode, getDeliveryRequiredDate, getDeliveryRequiredDateReason, getDeliveryRequiredDateReasonCode, getDeliveryStateCode, getDeliveryToEmailAddress, getDeliveryToName, getDeliveryToPhoneNumber, getDocumentChartOfAccountsCodeForSearching, getDocumentFundingSourceCode, getDocumentOrganizationCodeForSearching, getExternalOrganizationB2bSupplierIdentifier, getFundingSource, getHasB2BVendor, getInstitutionContactEmailAddress, getInstitutionContactName, getInstitutionContactPhoneNumber, getItemParser, getNonInstitutionFundAccount, getNonInstitutionFundAccountNumber, getNonInstitutionFundChartOfAccounts, getNonInstitutionFundChartOfAccountsCode, getNonInstitutionFundOrganization, getNonInstitutionFundOrganizationCode, getNonInstitutionFundOrgChartOfAccounts, getNonInstitutionFundOrgChartOfAccountsCode, getOrganization, getOrganizationCode, getPaymentRequestPositiveApprovalIndicatorForSearching, getPurchaseOrderAutomaticIndicator, getPurchaseOrderBeginDate, getPurchaseOrderCostSource, getPurchaseOrderCostSourceCode, getPurchaseOrderEndDate, getPurchaseOrderTotalLimit, getPurchaseOrderTransmissionMethod, getPurchaseOrderTransmissionMethodCode, getPurchasingCapitalAssetItem, getPurchasingCapitalAssetItemByItemIdentifier, getPurchasingCapitalAssetItems, getPurchasingCapitalAssetSystems, getPurchasingItem, getReceivingCityName, getReceivingCountryCode, getReceivingCountryName, getReceivingDocumentRequiredIndicatorForSearching, getReceivingLine1Address, getReceivingLine2Address, getReceivingName, getReceivingPostalCode, getReceivingStateCode, getRecurringPaymentType, getRecurringPaymentTypeCode, getRequestorPersonEmailAddress, getRequestorPersonName, getRequestorPersonPhoneNumber, getRequisitionSource, getRequisitionSourceCode, getSupplierDiversityLabel, getTransactionTaxDate, getVendorContactsLabel, getVendorContract, getVendorContractGeneratedIdentifier, getVendorContractName, getVendorFaxNumber, getVendorNoteText, getVendorPaymentTermsCode, getVendorPhoneNumber, getVendorRestrictedIndicator, getVendorShippingPaymentTermsCode, getVendorShippingTitleCode, isDeliveryBuildingOtherIndicator, isPaymentRequestPositiveApprovalIndicator, isReceivingDocumentRequiredIndicator, loadReceivingAddress, populateDocumentForRouting, setAddressToVendorIndicator, setBillingCityName, setBillingCountryCode, setBillingLine1Address, setBillingLine2Address, setBillingName, setBillingPhoneNumber, setBillingPostalCode, setBillingStateCode, setCapitalAssetSystemState, setCapitalAssetSystemStateCode, setCapitalAssetSystemType, setCapitalAssetSystemTypeCode, setChartOfAccounts, setChartOfAccountsCode, setCommodityCodesForRouting, setDeliveryBuildingCode, setDeliveryBuildingLine1Address, setDeliveryBuildingLine2Address, setDeliveryBuildingName, setDeliveryBuildingOtherIndicator, setDeliveryBuildingRoomNumber, setDeliveryCampus, setDeliveryCampusCode, setDeliveryCityName, setDeliveryCountryCode, setDeliveryInstructionText, setDeliveryPostalCode, setDeliveryRequiredDate, setDeliveryRequiredDateReason, setDeliveryRequiredDateReasonCode, setDeliveryStateCode, setDeliveryToEmailAddress, setDeliveryToName, setDeliveryToPhoneNumber, setDocumentFundingSourceCode, setExternalOrganizationB2bSupplierIdentifier, setFundingSource, setInstitutionContactEmailAddress, setInstitutionContactName, setInstitutionContactPhoneNumber, setNonInstitutionFundAccount, setNonInstitutionFundAccountNumber, setNonInstitutionFundChartOfAccounts, setNonInstitutionFundChartOfAccountsCode, setNonInstitutionFundOrganization, setNonInstitutionFundOrganizationCode, setNonInstitutionFundOrgChartOfAccounts, setNonInstitutionFundOrgChartOfAccountsCode, setOrganization, setOrganizationCode, setPaymentRequestPositiveApprovalIndicator, setPurchaseOrderAutomaticIndicator, setPurchaseOrderBeginDate, setPurchaseOrderCostSource, setPurchaseOrderCostSourceCode, setPurchaseOrderEndDate, setPurchaseOrderTotalLimit, setPurchaseOrderTransmissionMethod, setPurchaseOrderTransmissionMethodCode, setPurchasingCapitalAssetItems, setPurchasingCapitalAssetSystems, setReceivingCityName, setReceivingCountryCode, setReceivingDocumentRequiredIndicator, setReceivingLine1Address, setReceivingLine2Address, setReceivingName, setReceivingPostalCode, setReceivingStateCode, setRecurringPaymentType, setRecurringPaymentTypeCode, setRequestorPersonEmailAddress, setRequestorPersonName, setRequestorPersonPhoneNumber, setRequisitionSource, setRequisitionSourceCode, setVendorContactsLabel, setVendorContract, setVendorContractGeneratedIdentifier, setVendorFaxNumber, setVendorNoteText, setVendorPaymentTermsCode, setVendorPhoneNumber, setVendorRestrictedIndicator, setVendorShippingPaymentTermsCode, setVendorShippingTitleCode, shouldGiveErrorForEmptyAccountsProration, templateBillingAddress, templateReceivingAddress, templateVendorAddress, templateVendorContract, templateVendorDetail
 
Methods inherited from class org.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocumentBase
buildDocumentTitle, deleteItem, documentPerformsSufficientFundsCheck, fixItemReferences, getAccountsForRouting, getAccountsPayablePurchasingDocumentLinkIdentifier, getBelowTheLineTypes, getDeletionAwareAccountingLines, getFirstPendingGLEntry, getIsATypeOfPODoc, getIsATypeOfPurAPRecDoc, getIsATypeOfPurDoc, getIsPODoc, getIsReqsDoc, getItem, getItemByItemIdentifier, getItemByLineNumber, getItemByStringIdentifier, getItemLinePosition, getItems, getNeedWarningRelatedPOs, getPersistedSourceAccountingLinesForComparison, getPostingPeriodCodeFromPendingGLEntries, getPostingYearFromPendingGLEntries, getPostingYearNextOrCurrent, getPurapDocumentIdentifier, getRelatedViews, getSourceAccountingLines, getSourceAccountingLinesForComparison, getStatus, getStatusCode, getStatusCodeForMultiboxSearching, getTotalDollarAmountAboveLineItems, getTotalDollarAmountAllItems, getTotalDollarAmountForTradeIn, getTotalDollarAmountWithExclusions, getTotalDollarAmountWithExclusionsSubsetItems, getTotalPreTaxDollarAmountAboveLineItems, getTotalPreTaxDollarAmountAllItems, getTotalPreTaxDollarAmountWithExclusions, getTotalTaxAmountAboveLineItems, getTotalTaxAmountAllItems, getTotalTaxAmountWithExclusions, getTradeInItem, getTradeInItems, getVendorAddressGeneratedIdentifier, getVendorAddressInternationalProvinceName, getVendorAttentionName, getVendorCityName, getVendorCountry, getVendorCountryCode, getVendorCustomerNumber, getVendorDetail, getVendorDetailAssignedIdentifier, getVendorHeaderGeneratedIdentifier, getVendorLine1Address, getVendorLine2Address, getVendorName, getVendorNumber, getVendorPostalCode, getVendorStateCode, isDebit, isDocumentStoppedInRouteNode, isPostingYearNext, isPostingYearPrior, isSensitive, isUseTaxIndicator, itemSwap, logAndThrowRuntimeException, logAndThrowRuntimeException, populateAccountsForRouting, processAfterRetrieve, refreshNonUpdateableReferences, renumberItems, setAccountsForRouting, setAccountsPayablePurchasingDocumentLinkIdentifier, setItems, setOverrideWorkflowButtons, setPostingYear, setPurapDocumentIdentifier, setRelatedViews, setStatus, setStatusCode, setTotalDollarAmount, setTotalPreTaxDollarAmount, setTotalTaxAmount, setUseTaxIndicator, setVendorAddressGeneratedIdentifier, setVendorAddressInternationalProvinceName, setVendorAttentionName, setVendorCityName, setVendorCountry, setVendorCountryCode, setVendorCustomerNumber, setVendorDetail, setVendorDetailAssignedIdentifier, setVendorHeaderGeneratedIdentifier, setVendorLine1Address, setVendorLine2Address, setVendorName, setVendorNumber, setVendorPostalCode, setVendorStateCode, toStringMapper
 
Methods inherited from class org.kuali.kfs.sys.document.AccountingDocumentBase
addSourceAccountingLine, addTargetAccountingLine, buildAccountingLineMap, copyAccountingLines, customizeOffsetGeneralLedgerPendingEntry, generateDocumentGeneralLedgerPendingEntries, generateEvents, generateGeneralLedgerPendingEntries, generateSaveEvents, getAccountingLineParser, getDataDictionaryEntry, getDocumentClassForAccountingLineValueAllowedValidation, getEntryValue, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getNextSourceLineNumber, getNextTargetLineNumber, getPersistedTargetAccountingLinesForComparison, getSourceAccountingLine, getSourceAccountingLineEntryName, getSourceAccountingLinesSectionTitle, getSourceTotal, getTargetAccountingLine, getTargetAccountingLineClass, getTargetAccountingLineEntryName, getTargetAccountingLines, getTargetAccountingLinesForComparison, getTargetAccountingLinesSectionTitle, getTargetTotal, processExplicitGeneralLedgerPendingEntry, processOffsetGeneralLedgerPendingEntry, setNextSourceLineNumber, setNextTargetLineNumber, setSourceAccountingLines, setTargetAccountingLines, toCopy, toErrorCorrection, updatePostingYearForAccountingLines
 
Methods inherited from class org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase
addPendingEntry, changeGeneralLedgerPendingEntriesApprovedStatusCode, checkSufficientFunds, clearAnyGeneralLedgerPendingEntries, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, removeGeneralLedgerPendingEntries, setGeneralLedgerPendingEntries
 
Methods inherited from class org.kuali.kfs.sys.document.LedgerPostingDocumentBase
createInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setPostingPeriodCode
 
Methods inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase
getDocumentHeader, prepareForSave, setDocumentHeader
 
Methods inherited from class org.kuali.rice.kns.document.TransactionalDocumentBase
getAllowsCopy, isSessionDocument
 
Methods inherited from class org.kuali.rice.kns.document.DocumentBase
addCopyErrorDocumentNote, addPessimisticLock, afterLookup, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getLockClearningMethodNames, getNonLockingActionTakenCodes, getPessimisticLocks, getXmlForRouteReport, logErrors, postProcessSave, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentNumber, setNewDocumentHeader, setPessimisticLocks, toString, toStringBuilder, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isNewCollectionRecord, linkEditableUserFields, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.kfs.module.purap.document.PurchasingDocument
deleteItem, getItem, getItems, getVendorCityName, getVendorCountryCode, getVendorLine1Address, getVendorLine2Address, getVendorName, getVendorPostalCode, getVendorStateCode, setItems, setVendorCityName, setVendorCountryCode, setVendorLine1Address, setVendorLine2Address, setVendorName, setVendorPostalCode, setVendorStateCode
 
Methods inherited from interface org.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocument
fixItemReferences, getAccountsPayablePurchasingDocumentLinkIdentifier, getBelowTheLineTypes, getIsATypeOfPODoc, getIsATypeOfPurAPRecDoc, getIsATypeOfPurDoc, getIsPODoc, getIsReqsDoc, getItemLinePosition, getPostingYearNextOrCurrent, getPurapDocumentIdentifier, getStatus, getStatusCode, getTotalDollarAmountAllItems, getTotalDollarAmountForTradeIn, getTotalPreTaxDollarAmountAllItems, getTotalTaxAmountAboveLineItems, getTotalTaxAmountAllItems, getTotalTaxAmountWithExclusions, getTradeInItem, getTradeInItems, getVendorAddressGeneratedIdentifier, getVendorAddressInternationalProvinceName, getVendorCountry, getVendorCustomerNumber, getVendorDetail, getVendorDetailAssignedIdentifier, getVendorHeaderGeneratedIdentifier, getVendorNumber, isDocumentStoppedInRouteNode, isPostingYearNext, isPostingYearPrior, isUseTaxIndicator, itemSwap, renumberItems, setAccountsPayablePurchasingDocumentLinkIdentifier, setItems, setPurapDocumentIdentifier, setStatusCode, setTotalDollarAmount, setTotalPreTaxDollarAmount, setTotalTaxAmount, setUseTaxIndicator, setVendorAddressGeneratedIdentifier, setVendorAddressInternationalProvinceName, setVendorCustomerNumber, setVendorDetailAssignedIdentifier, setVendorHeaderGeneratedIdentifier, setVendorNumber
 
Methods inherited from interface org.kuali.kfs.sys.document.AccountingDocument
addSourceAccountingLine, addTargetAccountingLine, getAccountingLineParser, getDocumentClassForAccountingLineValueAllowedValidation, getNextSourceLineNumber, getNextTargetLineNumber, getSourceAccountingLine, getSourceAccountingLineEntryName, getSourceAccountingLines, getSourceAccountingLinesSectionTitle, getSourceTotal, getTargetAccountingLine, getTargetAccountingLineClass, getTargetAccountingLineEntryName, getTargetAccountingLines, getTargetAccountingLinesSectionTitle, getTargetTotal, setNextSourceLineNumber, setNextTargetLineNumber, setSourceAccountingLines, setTargetAccountingLines
 
Methods inherited from interface org.kuali.kfs.sys.document.GeneralLedgerPostingDocument
checkSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntries
 
Methods inherited from interface org.kuali.kfs.sys.document.LedgerPostingDocument
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear
 
Methods inherited from interface org.kuali.kfs.sys.document.FinancialSystemTransactionalDocument
getDocumentHeader
 
Methods inherited from interface org.kuali.rice.kns.document.Document
addPessimisticLock, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getLockClearningMethodNames, getPessimisticLocks, getXmlForRouteReport, postProcessSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
 
Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject
addNote, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow, refresh
 
Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate
 
Methods inherited from interface org.kuali.kfs.sys.document.GeneralLedgerPendingEntrySource
addPendingEntry, clearAnyGeneralLedgerPendingEntries, generateDocumentGeneralLedgerPendingEntries, generateGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getPostingYear, isDebit
 

Field Detail

LOG

protected static org.apache.log4j.Logger LOG

purchaseOrderCreateTimestamp

protected Timestamp purchaseOrderCreateTimestamp

requisitionIdentifier

protected Integer requisitionIdentifier

purchaseOrderVendorChoiceCode

protected String purchaseOrderVendorChoiceCode

recurringPaymentFrequencyCode

protected String recurringPaymentFrequencyCode

recurringPaymentAmount

protected org.kuali.rice.kns.util.KualiDecimal recurringPaymentAmount

recurringPaymentDate

protected Date recurringPaymentDate

initialPaymentAmount

protected org.kuali.rice.kns.util.KualiDecimal initialPaymentAmount

initialPaymentDate

protected Date initialPaymentDate

finalPaymentAmount

protected org.kuali.rice.kns.util.KualiDecimal finalPaymentAmount

finalPaymentDate

protected Date finalPaymentDate

purchaseOrderInitialOpenTimestamp

protected Timestamp purchaseOrderInitialOpenTimestamp

purchaseOrderLastTransmitTimestamp

protected Timestamp purchaseOrderLastTransmitTimestamp

purchaseOrderQuoteDueDate

protected Date purchaseOrderQuoteDueDate

purchaseOrderQuoteTypeCode

protected String purchaseOrderQuoteTypeCode

purchaseOrderQuoteVendorNoteText

protected String purchaseOrderQuoteVendorNoteText

purchaseOrderConfirmedIndicator

protected boolean purchaseOrderConfirmedIndicator

purchaseOrderCommodityDescription

protected String purchaseOrderCommodityDescription

purchaseOrderPreviousIdentifier

protected Integer purchaseOrderPreviousIdentifier

alternateVendorHeaderGeneratedIdentifier

protected Integer alternateVendorHeaderGeneratedIdentifier

alternateVendorDetailAssignedIdentifier

protected Integer alternateVendorDetailAssignedIdentifier

newQuoteVendorHeaderGeneratedIdentifier

protected Integer newQuoteVendorHeaderGeneratedIdentifier

newQuoteVendorDetailAssignedIdentifier

protected Integer newQuoteVendorDetailAssignedIdentifier

alternateVendorName

protected String alternateVendorName

purchaseOrderCurrentIndicator

protected boolean purchaseOrderCurrentIndicator

pendingActionIndicator

protected boolean pendingActionIndicator

purchaseOrderFirstTransmissionTimestamp

protected Timestamp purchaseOrderFirstTransmissionTimestamp

contractManagerCode

protected Integer contractManagerCode

purchaseOrderQuoteInitializationDate

protected Date purchaseOrderQuoteInitializationDate

purchaseOrderQuoteAwardedDate

protected Date purchaseOrderQuoteAwardedDate

assignedUserPrincipalId

protected String assignedUserPrincipalId

purchaseOrderVendorStipulations

protected List<PurchaseOrderVendorStipulation> purchaseOrderVendorStipulations

purchaseOrderVendorQuotes

protected List<PurchaseOrderVendorQuote> purchaseOrderVendorQuotes

statusChange

protected String statusChange

alternateVendorNumber

protected String alternateVendorNumber

purchaseOrderRetransmissionMethodCode

protected String purchaseOrderRetransmissionMethodCode

retransmitHeader

protected String retransmitHeader

purchaseOrderQuoteListIdentifier

protected Integer purchaseOrderQuoteListIdentifier

internalPurchasingLimit

protected org.kuali.rice.kns.util.KualiDecimal internalPurchasingLimit

pendingSplit

protected boolean pendingSplit

copyingNotesWhenSplitting

protected boolean copyingNotesWhenSplitting

assigningSensitiveData

protected boolean assigningSensitiveData

purchaseOrderSensitiveData

protected List<PurchaseOrderSensitiveData> purchaseOrderSensitiveData

assignedUserPrincipalName

protected String assignedUserPrincipalName

glOnlySourceAccountingLines

protected List<SourceAccountingLine> glOnlySourceAccountingLines

purchaseOrderVendorChoice

protected PurchaseOrderVendorChoice purchaseOrderVendorChoice

vendorPaymentTerms

protected PaymentTermType vendorPaymentTerms

vendorShippingTitle

protected ShippingTitle vendorShippingTitle

vendorShippingPaymentTerms

protected ShippingPaymentTerms vendorShippingPaymentTerms

recurringPaymentFrequency

protected RecurringPaymentFrequency recurringPaymentFrequency

contractManager

protected ContractManager contractManager

FIN_COA_CD_KEY

public static final String FIN_COA_CD_KEY
See Also:
Constant Field Values

UNIVERSITY_FISCAL_YEAR_KEY

protected static final String UNIVERSITY_FISCAL_YEAR_KEY
See Also:
Constant Field Values

VENDOR_IS_EMPLOYEE

protected static final String VENDOR_IS_EMPLOYEE
See Also:
Constant Field Values

VENDOR_IS_FOREIGN

protected static final String VENDOR_IS_FOREIGN
See Also:
Constant Field Values

VENDOR_IS_FOREIGN_EMPLOYEE

protected static final String VENDOR_IS_FOREIGN_EMPLOYEE
See Also:
Constant Field Values
Constructor Detail

PurchaseOrderDocument

public PurchaseOrderDocument()
Default constructor.

Method Detail

getDocumentSpecificService

public PurchasingDocumentSpecificService getDocumentSpecificService()
Specified by:
getDocumentSpecificService in interface PurchasingDocument
Specified by:
getDocumentSpecificService in class PurchasingDocumentBase

isInquiryRendered

public boolean isInquiryRendered()
Overrides the method in PurchasingAccountsPayableDocumentBase to add the criteria specific to Purchase Order Document.

Specified by:
isInquiryRendered in interface PurchasingAccountsPayableDocument
Overrides:
isInquiryRendered in class PurchasingAccountsPayableDocumentBase
Returns:
See Also:
PurchasingAccountsPayableDocumentBase.isInquiryRendered()

getDocumentTitle

public String getDocumentTitle()
Specified by:
getDocumentTitle in interface org.kuali.rice.kns.document.Document
Overrides:
getDocumentTitle in class org.kuali.rice.kns.document.DocumentBase
See Also:
DocumentBase.getDocumentTitle()

getCustomDocumentTitle

protected String getCustomDocumentTitle()
Returns a custom document title based on the workflow document title. Depending on what route level the document is currently in, various info may be added to the documents title.

Returns:
- Customized document title text dependent upon route level.

getSourceAccountingLineClass

public Class getSourceAccountingLineClass()
Description copied from class: AccountingDocumentBase
Returns the default Source accounting line class.

Specified by:
getSourceAccountingLineClass in interface AccountingDocument
Overrides:
getSourceAccountingLineClass in class AccountingDocumentBase
See Also:
AccountingDocument.getSourceAccountingLineClass()

getFirstAccount

protected PurApAccountingLine getFirstAccount()
Returns the first PO item's first accounting line (assuming the item list is sequentially ordered).

Returns:
- The first accounting line of the first PO item.

getAssignedUserPrincipalId

public String getAssignedUserPrincipalId()

setAssignedUserPrincipalId

public void setAssignedUserPrincipalId(String assignedUserPrincipalId)

getAssignedUserPrincipalName

public String getAssignedUserPrincipalName()

setAssignedUserPrincipalName

public void setAssignedUserPrincipalName(String assignedUserPrincipalName)

getAssigningSensitiveData

public boolean getAssigningSensitiveData()

setAssigningSensitiveData

public void setAssigningSensitiveData(boolean assigningSensitiveData)

getPurchaseOrderSensitiveData

public List<PurchaseOrderSensitiveData> getPurchaseOrderSensitiveData()

setPurchaseOrderSensitiveData

public void setPurchaseOrderSensitiveData(List<PurchaseOrderSensitiveData> purchaseOrderSensitiveData)

getContractManager

public ContractManager getContractManager()

setContractManager

public void setContractManager(ContractManager contractManager)

getContractManagerCode

public Integer getContractManagerCode()

setContractManagerCode

public void setContractManagerCode(Integer contractManagerCode)

buildListOfDeletionAwareLists

public List buildListOfDeletionAwareLists()
Specified by:
buildListOfDeletionAwareLists in interface org.kuali.rice.kns.bo.PersistableBusinessObject
Overrides:
buildListOfDeletionAwareLists in class PurchasingDocumentBase
See Also:
PurchasingDocumentBase.buildListOfDeletionAwareLists()

getOverrideWorkflowButtons

public Boolean getOverrideWorkflowButtons()
Overrides:
getOverrideWorkflowButtons in class PurchasingAccountsPayableDocumentBase
See Also:
PurchasingAccountsPayableDocumentBase.getOverrideWorkflowButtons()

isBoNotesSupport

public boolean isBoNotesSupport()
Specified by:
isBoNotesSupport in interface org.kuali.rice.kns.bo.PersistableBusinessObject
Overrides:
isBoNotesSupport in class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
See Also:
PersistableBusinessObjectBase.isBoNotesSupport()

customPrepareForSave

public void customPrepareForSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
Description copied from class: PurchasingAccountsPayableDocumentBase
Allows child PO classes to customize the prepareForSave method. Most of the subclasses need to call the super's method to get the GL entry creation, but they each need to do different things to prepare for those entries to be created. This is only for PO since it has children classes that need different prep work for GL creation.

Overrides:
customPrepareForSave in class PurchasingAccountsPayableDocumentBase
Parameters:
event - the event involved in this action.
See Also:
org.kuali.kfs.module.purap.document.PurchasingAccountsPayableDocumentBase#customPrepareForSave()

prepareForSave

public void prepareForSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
Description copied from class: PurchasingDocumentBase
Overrides the method in PurchasingAccountsPayableDocumentBase to remove the purchasingCapitalAssetSystem when the system type is either ONE or MULT.

Specified by:
prepareForSave in interface org.kuali.rice.kns.document.Document
Overrides:
prepareForSave in class PurchasingDocumentBase
See Also:
FinancialSystemTransactionalDocumentBase.prepareForSave()

setDefaultValuesForAPO

public void setDefaultValuesForAPO()
Sets default values for APO.


populatePurchaseOrderFromRequisition

public void populatePurchaseOrderFromRequisition(RequisitionDocument requisitionDocument)
Populates this Purchase Order from the related Requisition Document.

Parameters:
requisitionDocument - the Requisition Document from which field values are copied.

getPurchaseOrderVendorStipulation

public PurchaseOrderVendorStipulation getPurchaseOrderVendorStipulation(int index)
Returns the Vendor Stipulation at the specified index in this Purchase Order.

Parameters:
index - the specified index.
Returns:
the Vendor Stipulation at the specified index.

getWorkflowEngineDocumentIdsToLock

public List<Long> getWorkflowEngineDocumentIdsToLock()
Specified by:
getWorkflowEngineDocumentIdsToLock in interface org.kuali.rice.kns.document.Document
Overrides:
getWorkflowEngineDocumentIdsToLock in class org.kuali.rice.kns.document.DocumentBase

printList

protected String printList(List<Long> docIds)

doRouteStatusChange

public void doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
Description copied from class: GeneralLedgerPostingDocumentBase
Override to call super and then iterate over all GLPEs and update the approved code appropriately.

Specified by:
doRouteStatusChange in interface org.kuali.rice.kns.document.Document
Overrides:
doRouteStatusChange in class GeneralLedgerPostingDocumentBase
See Also:
org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase#doRouteStatusChange()

getCurrentRouteNodeName

protected String getCurrentRouteNodeName(org.kuali.rice.kns.workflow.service.KualiWorkflowDocument wd)
                                  throws org.kuali.rice.kew.exception.WorkflowException
Returns the name of the current route node.

Parameters:
wd - the current workflow document.
Returns:
the name of the current route node.
Throws:
org.kuali.rice.kew.exception.WorkflowException

appSpecificRouteDocumentToUser

public void appSpecificRouteDocumentToUser(org.kuali.rice.kns.workflow.service.KualiWorkflowDocument workflowDocument,
                                           String userNetworkId,
                                           String annotation,
                                           String responsibility)
                                    throws org.kuali.rice.kew.exception.WorkflowException
Sends FYI workflow request to the given user on this document.

Parameters:
workflowDocument - the associated workflow document.
userNetworkId - the network ID of the user to be sent to.
annotation - the annotation notes contained in this document.
responsibility - the responsibility specified in the request.
Throws:
org.kuali.rice.kew.exception.WorkflowException

doRouteLevelChange

public void doRouteLevelChange(org.kuali.rice.kew.dto.DocumentRouteLevelChangeDTO levelChangeEvent)
Specified by:
doRouteLevelChange in interface org.kuali.rice.kns.document.Document
Overrides:
doRouteLevelChange in class org.kuali.rice.kns.document.DocumentBase
See Also:
org.kuali.rice.kns.document.DocumentBase#handleRouteLevelChange(org.kuali.rice.kew.clientapp.vo.DocumentRouteLevelChangeDTO)

doActionTaken

public void doActionTaken(org.kuali.rice.kew.dto.ActionTakenEventDTO event)
Specified by:
doActionTaken in interface org.kuali.rice.kns.document.Document
Overrides:
doActionTaken in class org.kuali.rice.kns.document.DocumentBase
See Also:
org.kuali.rice.kns.document.DocumentBase#doActionTaken(org.kuali.rice.kew.clientapp.vo.ActionTakenEventDTO)

getItemsActiveOnly

public List getItemsActiveOnly()
Gets the active items in this Purchase Order.

Returns:
the list of all active items in this Purchase Order.

getItemsActiveOnlySetupAlternateAmount

public List getItemsActiveOnlySetupAlternateAmount()
Gets the active items in this Purchase Order, and sets up the alternate amount for GL entry creation.

Returns:
the list of all active items in this Purchase Order.

getAlternateVendorDetailAssignedIdentifier

public Integer getAlternateVendorDetailAssignedIdentifier()

setAlternateVendorDetailAssignedIdentifier

public void setAlternateVendorDetailAssignedIdentifier(Integer alternateVendorDetailAssignedIdentifier)

getAlternateVendorHeaderGeneratedIdentifier

public Integer getAlternateVendorHeaderGeneratedIdentifier()

setAlternateVendorHeaderGeneratedIdentifier

public void setAlternateVendorHeaderGeneratedIdentifier(Integer alternateVendorHeaderGeneratedIdentifier)

getAlternateVendorName

public String getAlternateVendorName()

setAlternateVendorName

public void setAlternateVendorName(String alternateVendorName)

getFinalPaymentAmount

public org.kuali.rice.kns.util.KualiDecimal getFinalPaymentAmount()

setFinalPaymentAmount

public void setFinalPaymentAmount(org.kuali.rice.kns.util.KualiDecimal finalPaymentAmount)

getFinalPaymentDate

public Date getFinalPaymentDate()

setFinalPaymentDate

public void setFinalPaymentDate(Date finalPaymentDate)

getInitialPaymentAmount

public org.kuali.rice.kns.util.KualiDecimal getInitialPaymentAmount()

setInitialPaymentAmount

public void setInitialPaymentAmount(org.kuali.rice.kns.util.KualiDecimal initialPaymentAmount)

getInitialPaymentDate

public Date getInitialPaymentDate()

setInitialPaymentDate

public void setInitialPaymentDate(Date initialPaymentDate)

getPurchaseOrderCommodityDescription

public String getPurchaseOrderCommodityDescription()

setPurchaseOrderCommodityDescription

public void setPurchaseOrderCommodityDescription(String purchaseOrderCommodityDescription)

isPurchaseOrderConfirmedIndicator

public boolean isPurchaseOrderConfirmedIndicator()

setPurchaseOrderConfirmedIndicator

public void setPurchaseOrderConfirmedIndicator(boolean purchaseOrderConfirmedIndicator)

getPurchaseOrderCreateTimestamp

public Timestamp getPurchaseOrderCreateTimestamp()

setPurchaseOrderCreateTimestamp

public void setPurchaseOrderCreateTimestamp(Timestamp purchaseOrderCreateTimestamp)

getPurchaseOrderInitialOpenTimestamp

public Timestamp getPurchaseOrderInitialOpenTimestamp()

setPurchaseOrderInitialOpenTimestamp

public void setPurchaseOrderInitialOpenTimestamp(Timestamp purchaseOrderInitialOpenDate)

getPurchaseOrderLastTransmitTimestamp

public Timestamp getPurchaseOrderLastTransmitTimestamp()

setPurchaseOrderLastTransmitTimestamp

public void setPurchaseOrderLastTransmitTimestamp(Timestamp PurchaseOrderLastTransmitTimestamp)

getPurchaseOrderPreviousIdentifier

public Integer getPurchaseOrderPreviousIdentifier()

setPurchaseOrderPreviousIdentifier

public void setPurchaseOrderPreviousIdentifier(Integer purchaseOrderPreviousIdentifier)

getPurchaseOrderQuoteDueDate

public Date getPurchaseOrderQuoteDueDate()

setPurchaseOrderQuoteDueDate

public void setPurchaseOrderQuoteDueDate(Date purchaseOrderQuoteDueDate)

getPurchaseOrderQuoteTypeDescription

public String getPurchaseOrderQuoteTypeDescription()

getPurchaseOrderQuoteTypeCode

public String getPurchaseOrderQuoteTypeCode()

setPurchaseOrderQuoteTypeCode

public void setPurchaseOrderQuoteTypeCode(String purchaseOrderQuoteTypeCode)

getPurchaseOrderQuoteVendorNoteText

public String getPurchaseOrderQuoteVendorNoteText()

setPurchaseOrderQuoteVendorNoteText

public void setPurchaseOrderQuoteVendorNoteText(String purchaseOrderQuoteVendorNoteText)

getPurchaseOrderVendorChoiceCode

public String getPurchaseOrderVendorChoiceCode()

setPurchaseOrderVendorChoiceCode

public void setPurchaseOrderVendorChoiceCode(String purchaseOrderVendorChoiceCode)

getRecurringPaymentAmount

public org.kuali.rice.kns.util.KualiDecimal getRecurringPaymentAmount()

setRecurringPaymentAmount

public void setRecurringPaymentAmount(org.kuali.rice.kns.util.KualiDecimal recurringPaymentAmount)

getRecurringPaymentDate

public Date getRecurringPaymentDate()

setRecurringPaymentDate

public void setRecurringPaymentDate(Date recurringPaymentDate)

getRecurringPaymentFrequencyCode

public String getRecurringPaymentFrequencyCode()

setRecurringPaymentFrequencyCode

public void setRecurringPaymentFrequencyCode(String recurringPaymentFrequencyCode)

getRequisitionIdentifier

public Integer getRequisitionIdentifier()

setRequisitionIdentifier

public void setRequisitionIdentifier(Integer requisitionIdentifier)

getPurchaseOrderVendorChoice

public PurchaseOrderVendorChoice getPurchaseOrderVendorChoice()

setPurchaseOrderVendorChoice

public void setPurchaseOrderVendorChoice(PurchaseOrderVendorChoice purchaseOrderVendorChoice)

getRecurringPaymentFrequency

public RecurringPaymentFrequency getRecurringPaymentFrequency()

setRecurringPaymentFrequency

public void setRecurringPaymentFrequency(RecurringPaymentFrequency recurringPaymentFrequency)

getVendorPaymentTerms

public PaymentTermType getVendorPaymentTerms()

setVendorPaymentTerms

public void setVendorPaymentTerms(PaymentTermType vendorPaymentTerms)

getVendorShippingPaymentTerms

public ShippingPaymentTerms getVendorShippingPaymentTerms()

setVendorShippingPaymentTerms

public void setVendorShippingPaymentTerms(ShippingPaymentTerms vendorShippingPaymentTerms)

getVendorShippingTitle

public ShippingTitle getVendorShippingTitle()

setVendorShippingTitle

public void setVendorShippingTitle(ShippingTitle vendorShippingTitle)

getPurchaseOrderVendorStipulations

public List getPurchaseOrderVendorStipulations()

getStatusChange

public String getStatusChange()

setPurchaseOrderVendorStipulations

public void setPurchaseOrderVendorStipulations(List purchaseOrderVendorStipulations)

getPurchaseOrderVendorQuotes

public List<PurchaseOrderVendorQuote> getPurchaseOrderVendorQuotes()

setPurchaseOrderVendorQuotes

public void setPurchaseOrderVendorQuotes(List<PurchaseOrderVendorQuote> purchaseOrderVendorQuotes)

getPurchaseOrderVendorQuote

public PurchaseOrderVendorQuote getPurchaseOrderVendorQuote(int index)

setStatusChange

public void setStatusChange(String statusChange)

getPurchaseOrderRetransmissionMethodCode

public String getPurchaseOrderRetransmissionMethodCode()

setPurchaseOrderRetransmissionMethodCode

public void setPurchaseOrderRetransmissionMethodCode(String purchaseOrderRetransmissionMethodCode)

getRetransmitHeader

public String getRetransmitHeader()

setRetransmitHeader

public void setRetransmitHeader(String retransmitHeader)

isPendingActionIndicator

public boolean isPendingActionIndicator()

setPendingActionIndicator

public void setPendingActionIndicator(boolean pendingActionIndicator)

isPurchaseOrderCurrentIndicator

public boolean isPurchaseOrderCurrentIndicator()

setPurchaseOrderCurrentIndicator

public void setPurchaseOrderCurrentIndicator(boolean purchaseOrderCurrentIndicator)

getPurchaseOrderFirstTransmissionTimestamp

public Timestamp getPurchaseOrderFirstTransmissionTimestamp()

setPurchaseOrderFirstTransmissionTimestamp

public void setPurchaseOrderFirstTransmissionTimestamp(Timestamp purchaseOrderFirstTransmissionTimestamp)

getPurchaseOrderQuoteAwardedDate

public Date getPurchaseOrderQuoteAwardedDate()
Gets the purchaseOrderQuoteAwardedDate attribute.

Returns:
Returns the purchaseOrderQuoteAwardedDate.

setPurchaseOrderQuoteAwardedDate

public void setPurchaseOrderQuoteAwardedDate(Date purchaseOrderQuoteAwardedDate)
Sets the purchaseOrderQuoteAwardedDate attribute value.

Parameters:
purchaseOrderQuoteAwardedDate - The purchaseOrderQuoteAwardedDate to set.

getPurchaseOrderQuoteInitializationDate

public Date getPurchaseOrderQuoteInitializationDate()
Gets the purchaseOrderQuoteInitializationDate attribute.

Returns:
Returns the purchaseOrderQuoteInitializationDate.

setPurchaseOrderQuoteInitializationDate

public void setPurchaseOrderQuoteInitializationDate(Date purchaseOrderQuoteInitializationDate)
Sets the purchaseOrderQuoteInitializationDate attribute value.

Parameters:
purchaseOrderQuoteInitializationDate - The purchaseOrderQuoteInitializationDate to set.

getAlternateVendorNumber

public String getAlternateVendorNumber()
Gets the alternateVendorNumber attribute.

Returns:
Returns the alternateVendorNumber.

setAlternateVendorNumber

public void setAlternateVendorNumber(String vendorNumber)
Sets the alternateVendorNumber attribute value.

Parameters:
alternateVendorNumber - The vendorNumber to set.

templateAlternateVendor

public void templateAlternateVendor(VendorDetail vendorDetail)
Sets alternate vendor fields based on a given VendorDetail.

Parameters:
vendorDetail - the vendor detail used to set vendor fields.

getDocumentBusinessObject

public org.kuali.rice.kns.bo.PersistableBusinessObject getDocumentBusinessObject()
Overriding this from the super class so that Note will use only the oldest PurchaseOrderDocument as the documentBusinessObject.

Specified by:
getDocumentBusinessObject in interface org.kuali.rice.kns.document.Document
Overrides:
getDocumentBusinessObject in class org.kuali.rice.kns.document.DocumentBase
See Also:
Document.getDocumentBusinessObject()

refreshDocumentBusinessObject

public void refreshDocumentBusinessObject()

setDocumentBusinessObject

public void setDocumentBusinessObject(PurchaseOrderDocument po)

getItemClass

public Class getItemClass()
Description copied from interface: PurchasingAccountsPayableDocument
Returns the Item Class.

Specified by:
getItemClass in interface PurapItemOperations
Specified by:
getItemClass in interface PurchasingAccountsPayableDocument
Specified by:
getItemClass in class PurchasingAccountsPayableDocumentBase
Returns:
the Item Class.
See Also:
PurchasingAccountsPayableDocumentBase.getItemClass()

getItemUseTaxClass

public Class getItemUseTaxClass()
Specified by:
getItemUseTaxClass in class PurchasingAccountsPayableDocumentBase

getPurApSourceDocumentIfPossible

public RequisitionDocument getPurApSourceDocumentIfPossible()
Description copied from interface: PurchasingAccountsPayableDocument
Returns the source of this Purchasing Accounts Payable Document if exists.

Specified by:
getPurApSourceDocumentIfPossible in interface PurchasingAccountsPayableDocument
Specified by:
getPurApSourceDocumentIfPossible in class PurchasingAccountsPayableDocumentBase
Returns:
the source of this document if exists, else null.
See Also:
PurchasingAccountsPayableDocumentBase.getPurApSourceDocumentIfPossible()

getPurApSourceDocumentLabelIfPossible

public String getPurApSourceDocumentLabelIfPossible()
Description copied from interface: PurchasingAccountsPayableDocument
Returns the label of the source of this Purchasing Accounts Payable Document if exists.

Specified by:
getPurApSourceDocumentLabelIfPossible in interface PurchasingAccountsPayableDocument
Specified by:
getPurApSourceDocumentLabelIfPossible in class PurchasingAccountsPayableDocumentBase
Returns:
the label of the document source if exists, else null.
See Also:
PurchasingAccountsPayableDocumentBase.getPurApSourceDocumentLabelIfPossible()

getNewQuoteVendorDetailAssignedIdentifier

public Integer getNewQuoteVendorDetailAssignedIdentifier()

setNewQuoteVendorDetailAssignedIdentifier

public void setNewQuoteVendorDetailAssignedIdentifier(Integer newQuoteVendorDetailAssignedIdentifier)

getNewQuoteVendorHeaderGeneratedIdentifier

public Integer getNewQuoteVendorHeaderGeneratedIdentifier()

setNewQuoteVendorHeaderGeneratedIdentifier

public void setNewQuoteVendorHeaderGeneratedIdentifier(Integer newQuoteVendorHeaderGeneratedIdentifier)

getPurchaseOrderQuoteListIdentifier

public Integer getPurchaseOrderQuoteListIdentifier()

setPurchaseOrderQuoteListIdentifier

public void setPurchaseOrderQuoteListIdentifier(Integer purchaseOrderQuoteListIdentifier)

isPurchaseOrderAwarded

public boolean isPurchaseOrderAwarded()
Returns true if a vendor has been awarded for this Purchase Order.

Returns:
true if a vendor has been awarded for this Purchase Order.

getAwardedVendorQuote

public PurchaseOrderVendorQuote getAwardedVendorQuote()
Returns the quote from the awarded vendor.

Returns:
the quote from the awarded vendor.

getTotalDollarAmount

public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmount()
Description copied from class: AccountingDocumentBase
Since one side of the document should match the other and the document should balance, the total dollar amount for the document should either be the expense line or the income line. This is the default implementation of this interface method so it should be overridden appropriately if your document cannot make this assumption.

Specified by:
getTotalDollarAmount in interface PurchasingAccountsPayableDocument
Specified by:
getTotalDollarAmount in interface PurchasingDocument
Specified by:
getTotalDollarAmount in interface AmountTotaling
Overrides:
getTotalDollarAmount in class PurchasingAccountsPayableDocumentBase
Returns:
if target total is zero, source total, otherwise target total
See Also:
PurchasingAccountsPayableDocumentBase.getTotalDollarAmount()

getTotalDollarAmountAboveLineItems

public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmountAboveLineItems()
Description copied from class: PurchasingAccountsPayableDocumentBase
Computes the total dollar amount of all above the line items.

Specified by:
getTotalDollarAmountAboveLineItems in interface PurchasingAccountsPayableDocument
Overrides:
getTotalDollarAmountAboveLineItems in class PurchasingAccountsPayableDocumentBase
Returns:
the total dollar amount of all above the line items.
See Also:
PurchasingAccountsPayableDocumentBase.getTotalDollarAmountAboveLineItems()

getTotalDollarAmount

public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmount(boolean includeInactive,
                                                                 boolean includeBelowTheLine)
Gets the total dollar amount for this Purchase Order.

Parameters:
includeInactive - indicates whether inactive items shall be included.
includeBelowTheLine - indicates whether below the line items shall be included.
Returns:
the total dollar amount for this Purchase Order.

getTotalPreTaxDollarAmount

public org.kuali.rice.kns.util.KualiDecimal getTotalPreTaxDollarAmount()
Description copied from interface: PurchasingAccountsPayableDocument
Computes the pre tax total dollar amount of all items.

Specified by:
getTotalPreTaxDollarAmount in interface PurchasingAccountsPayableDocument
Overrides:
getTotalPreTaxDollarAmount in class PurchasingAccountsPayableDocumentBase
Returns:
the pre tax total dollar amount of all items.
See Also:
PurchasingAccountsPayableDocumentBase.getTotalPreTaxDollarAmount()

getTotalPreTaxDollarAmountAboveLineItems

public org.kuali.rice.kns.util.KualiDecimal getTotalPreTaxDollarAmountAboveLineItems()
Description copied from class: PurchasingAccountsPayableDocumentBase
Computes the total dollar amount of all above the line items.

Overrides:
getTotalPreTaxDollarAmountAboveLineItems in class PurchasingAccountsPayableDocumentBase
Returns:
the total dollar amount of all above the line items.
See Also:
PurchasingAccountsPayableDocumentBase.getTotalPreTaxDollarAmountAboveLineItems()

getTotalPreTaxDollarAmount

public org.kuali.rice.kns.util.KualiDecimal getTotalPreTaxDollarAmount(boolean includeInactive,
                                                                       boolean includeBelowTheLine)
Gets the pre tax total dollar amount for this Purchase Order.

Parameters:
includeInactive - indicates whether inactive items shall be included.
includeBelowTheLine - indicates whether below the line items shall be included.
Returns:
the total dollar amount for this Purchase Order.

getTotalTaxAmount

public org.kuali.rice.kns.util.KualiDecimal getTotalTaxAmount()
Specified by:
getTotalTaxAmount in interface PurchasingAccountsPayableDocument
Overrides:
getTotalTaxAmount in class PurchasingAccountsPayableDocumentBase

getTotalTaxAmountAboveLineItems

public org.kuali.rice.kns.util.KualiDecimal getTotalTaxAmountAboveLineItems()
Specified by:
getTotalTaxAmountAboveLineItems in interface PurchasingAccountsPayableDocument
Overrides:
getTotalTaxAmountAboveLineItems in class PurchasingAccountsPayableDocumentBase

getTotalTaxAmount

public org.kuali.rice.kns.util.KualiDecimal getTotalTaxAmount(boolean includeInactive,
                                                              boolean includeBelowTheLine)
Gets the tax total amount for this Purchase Order.

Parameters:
includeInactive - indicates whether inactive items shall be included.
includeBelowTheLine - indicates whether below the line items shall be included.
Returns:
the total dollar amount for this Purchase Order.

getContainsUnpaidPaymentRequestsOrCreditMemos

public boolean getContainsUnpaidPaymentRequestsOrCreditMemos()
Returns true if this Purchase Order contains unpaid items in the Payment Request or Credit Memo.

Returns:
true if this Purchase Order contains unpaid items in the Payment Request or Credit Memo.

getAdditionalChargesExist

public boolean getAdditionalChargesExist()

getContractManagerName

public String getContractManagerName()
Deprecated. 

Used for routing only.


setContractManagerName

public void setContractManagerName(String contractManagerName)
Deprecated. 

Used for routing only.


getStatusDescription

public String getStatusDescription()
Deprecated. 

Used for routing only.


setStatusDescription

public void setStatusDescription(String statusDescription)
Deprecated. 

Used for routing only.


getInternalPurchasingLimit

public org.kuali.rice.kns.util.KualiDecimal getInternalPurchasingLimit()

setInternalPurchasingLimit

public void setInternalPurchasingLimit(org.kuali.rice.kns.util.KualiDecimal internalPurchasingLimit)

isPendingSplit

public boolean isPendingSplit()

setPendingSplit

public void setPendingSplit(boolean pendingSplit)

isCopyingNotesWhenSplitting

public boolean isCopyingNotesWhenSplitting()

setCopyingNotesWhenSplitting

public void setCopyingNotesWhenSplitting(boolean copyingNotesWhenSplitting)

customizeExplicitGeneralLedgerPendingEntry

public void customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable,
                                                       GeneralLedgerPendingEntry explicitEntry)
Overrides:
customizeExplicitGeneralLedgerPendingEntry in class AccountingDocumentBase
See Also:
org.kuali.module.purap.rules.PurapAccountingDocumentRuleBase#customizeExplicitGeneralLedgerPendingEntry(org.kuali.kfs.sys.document.AccountingDocument, org.kuali.kfs.sys.businessobject.AccountingLine, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntry)

getPurchasingCapitalAssetItemClass

public Class getPurchasingCapitalAssetItemClass()
Specified by:
getPurchasingCapitalAssetItemClass in interface PurchasingDocument
Specified by:
getPurchasingCapitalAssetItemClass in class PurchasingDocumentBase

getPurchasingCapitalAssetSystemClass

public Class getPurchasingCapitalAssetSystemClass()
Specified by:
getPurchasingCapitalAssetSystemClass in interface PurchasingDocument
Specified by:
getPurchasingCapitalAssetSystemClass in class PurchasingDocumentBase

canClosePOForTradeIn

public boolean canClosePOForTradeIn()
Validates whether we can indeed close the PO. Return false and give error if the outstanding encumbrance amount of the trade in item is less than 0.

Parameters:
po -
Returns:

answerSplitNodeQuestion

public boolean answerSplitNodeQuestion(String nodeName)
                                throws UnsupportedOperationException
Provides answers to the following splits: RequiresContractManagementReview RequiresBudgetReview VendorIsEmployeeOrNonResidentAlien TransmissionMethodIsPrint

Specified by:
answerSplitNodeQuestion in interface FinancialSystemTransactionalDocument
Overrides:
answerSplitNodeQuestion in class FinancialSystemTransactionalDocumentBase
Throws:
UnsupportedOperationException
See Also:
FinancialSystemTransactionalDocumentBase.answerSplitNodeQuestion(java.lang.String)

isContractManagementReviewRequired

protected boolean isContractManagementReviewRequired()

isAwardReviewRequired

protected boolean isAwardReviewRequired()

isObjectCodeAllowedForAwardRouting

protected boolean isObjectCodeAllowedForAwardRouting(PurApAccountingLine accountingLine,
                                                     org.kuali.rice.kns.service.ParameterService parameterService)

isBudgetReviewRequired

protected boolean isBudgetReviewRequired()

isVendorEmployeeOrNonResidentAlien

protected boolean isVendorEmployeeOrNonResidentAlien()

getAccountsForAwardRouting

public List<Account> getAccountsForAwardRouting()

convertSelections

public org.kuali.rice.kew.docsearch.DocSearchCriteriaDTO convertSelections(org.kuali.rice.kew.docsearch.DocSearchCriteriaDTO searchCriteria)
Specified by:
convertSelections in interface MultiselectableDocSearchConversion

getPurchaseOrderCurrentIndicatorForSearching

public boolean getPurchaseOrderCurrentIndicatorForSearching()
Returns:
the purchase order current indicator

getDocumentTitleForResult

public String getDocumentTitleForResult()
                                 throws org.kuali.rice.kew.exception.WorkflowException
Throws:
org.kuali.rice.kew.exception.WorkflowException

getNeedWarning

public boolean getNeedWarning()
Checks whether the purchase order needs a warning to be displayed, i.e. it never has been opened.

Returns:
true if the purchase order needs a warning; false otherwise.

getGlOnlySourceAccountingLines

public List<SourceAccountingLine> getGlOnlySourceAccountingLines()

setGlOnlySourceAccountingLines

public void setGlOnlySourceAccountingLines(List<SourceAccountingLine> glOnlySourceAccountingLines)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.