org.kuali.kfs.module.purap.service.impl
Class ElectronicInvoiceOrderHolder

java.lang.Object
  extended by org.kuali.kfs.module.purap.service.impl.ElectronicInvoiceOrderHolder

public class ElectronicInvoiceOrderHolder
extends Object

This is a holder class which can be passed to the matching service to validate einvoice or reject doc data against the po document.


Nested Class Summary
protected  class ElectronicInvoiceOrderHolder.FieldErrorHelper
           
 
Constructor Summary
ElectronicInvoiceOrderHolder(ElectronicInvoice eInvoice, ElectronicInvoiceOrder invoiceOrder, PurchaseOrderDocument poDocument, Map itemTypeMappings, Map itemTypes, boolean validateHeader)
           
ElectronicInvoiceOrderHolder(ElectronicInvoiceRejectDocument rejectDocument, Map itemTypeMappings, Map itemTypes)
           
 
Method Summary
 void addInvoiceHeaderRejectReason(ElectronicInvoiceRejectReason rejectReason)
           
 void addInvoiceHeaderRejectReason(ElectronicInvoiceRejectReason rejectReason, String fieldName, String applnResourceKey)
           
 void addInvoiceOrderRejectReason(ElectronicInvoiceRejectReason rejectReason)
           
 void addInvoiceOrderRejectReason(ElectronicInvoiceRejectReason rejectReason, String fieldName)
           
 void addInvoiceOrderRejectReason(ElectronicInvoiceRejectReason rejectReason, String fieldName, String applnResourceKey)
           
 Integer getAccountsPayablePurchasingDocumentLinkIdentifier()
           
 String getCustomerNumber()
           
 String getDunsNumber()
           
 ElectronicInvoice getElectronicInvoice()
           
 String getFileName()
           
 String getInvoiceBillToAddressAsString()
           
 Date getInvoiceDate()
           
 String getInvoiceDateString()
           
 BigDecimal getInvoiceDepositAmount()
           
 BigDecimal getInvoiceDiscountAmount()
           
 BigDecimal getInvoiceDueAmount()
           
 ElectronicInvoiceItemMapping getInvoiceItemMapping(String invoiceItemTypeCode)
           
 ElectronicInvoiceItemMapping[] getInvoiceItemTypeMappings()
           
 BigDecimal getInvoiceNetAmount()
           
 String getInvoiceNumber()
           
 Date getInvoiceProcessedDate()
           
 String getInvoicePurchaseOrderID()
           
 BigDecimal getInvoiceShippingAmount()
           
 String getInvoiceShippingDescription()
           
 String getInvoiceShipToAddressAsString()
           
 BigDecimal getInvoiceSpecialHandlingAmount()
           
 String getInvoiceSpecialHandlingDescription()
           
 ElectronicInvoiceItemHolder getItemByLineNumber(int lineNumber)
           
 ElectronicInvoiceItemHolder[] getItems()
           
 String getKualiItemTypeCodeFromMappings(String invoiceItemTypeCode)
           
 PurchaseOrderDocument getPurchaseOrderDocument()
           
 BigDecimal getTaxAmount()
           
 String getTaxDescription()
           
 Integer getVendorDetailId()
           
 Integer getVendorHeaderId()
           
 String getVendorName()
           
 boolean isDiscountInLine()
           
 boolean isInformationOnly()
           
 boolean isInvoiceNumberAcceptIndicatorEnabled()
           
 boolean isInvoiceRejected()
           
 boolean isItemTypeAvailableInItemMapping(String invoiceItemTypeCode)
           
 boolean isRejectDocumentHolder()
           
 boolean isShippingInLine()
           
 boolean isSpecialHandlingInLine()
           
 boolean isTaxInLine()
           
 boolean isValidateHeaderInformation()
           
protected  void retainSummaryRejects(ElectronicInvoiceRejectDocument rejectDocument)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElectronicInvoiceOrderHolder

public ElectronicInvoiceOrderHolder(ElectronicInvoiceRejectDocument rejectDocument,
                                    Map itemTypeMappings,
                                    Map itemTypes)

ElectronicInvoiceOrderHolder

public ElectronicInvoiceOrderHolder(ElectronicInvoice eInvoice,
                                    ElectronicInvoiceOrder invoiceOrder,
                                    PurchaseOrderDocument poDocument,
                                    Map itemTypeMappings,
                                    Map itemTypes,
                                    boolean validateHeader)
Method Detail

retainSummaryRejects

protected void retainSummaryRejects(ElectronicInvoiceRejectDocument rejectDocument)

getFileName

public String getFileName()

getDunsNumber

public String getDunsNumber()

getCustomerNumber

public String getCustomerNumber()

getVendorHeaderId

public Integer getVendorHeaderId()

getVendorDetailId

public Integer getVendorDetailId()

getVendorName

public String getVendorName()

getInvoiceNumber

public String getInvoiceNumber()

getInvoiceDate

public Date getInvoiceDate()

getInvoiceDateString

public String getInvoiceDateString()

isInformationOnly

public boolean isInformationOnly()

getInvoicePurchaseOrderID

public String getInvoicePurchaseOrderID()

isTaxInLine

public boolean isTaxInLine()

getTaxAmount

public BigDecimal getTaxAmount()

getTaxDescription

public String getTaxDescription()

isSpecialHandlingInLine

public boolean isSpecialHandlingInLine()

getInvoiceSpecialHandlingAmount

public BigDecimal getInvoiceSpecialHandlingAmount()

getInvoiceSpecialHandlingDescription

public String getInvoiceSpecialHandlingDescription()

isShippingInLine

public boolean isShippingInLine()

getInvoiceShippingAmount

public BigDecimal getInvoiceShippingAmount()

getInvoiceShippingDescription

public String getInvoiceShippingDescription()

isDiscountInLine

public boolean isDiscountInLine()

getInvoiceDiscountAmount

public BigDecimal getInvoiceDiscountAmount()

getInvoiceDepositAmount

public BigDecimal getInvoiceDepositAmount()

getInvoiceDueAmount

public BigDecimal getInvoiceDueAmount()

getPurchaseOrderDocument

public PurchaseOrderDocument getPurchaseOrderDocument()

getItems

public ElectronicInvoiceItemHolder[] getItems()

getItemByLineNumber

public ElectronicInvoiceItemHolder getItemByLineNumber(int lineNumber)

addInvoiceHeaderRejectReason

public void addInvoiceHeaderRejectReason(ElectronicInvoiceRejectReason rejectReason)

addInvoiceHeaderRejectReason

public void addInvoiceHeaderRejectReason(ElectronicInvoiceRejectReason rejectReason,
                                         String fieldName,
                                         String applnResourceKey)

addInvoiceOrderRejectReason

public void addInvoiceOrderRejectReason(ElectronicInvoiceRejectReason rejectReason,
                                        String fieldName)

addInvoiceOrderRejectReason

public void addInvoiceOrderRejectReason(ElectronicInvoiceRejectReason rejectReason,
                                        String fieldName,
                                        String applnResourceKey)

addInvoiceOrderRejectReason

public void addInvoiceOrderRejectReason(ElectronicInvoiceRejectReason rejectReason)

isValidateHeaderInformation

public boolean isValidateHeaderInformation()

isRejectDocumentHolder

public boolean isRejectDocumentHolder()

getInvoiceItemMapping

public ElectronicInvoiceItemMapping getInvoiceItemMapping(String invoiceItemTypeCode)

isItemTypeAvailableInItemMapping

public boolean isItemTypeAvailableInItemMapping(String invoiceItemTypeCode)

isInvoiceRejected

public boolean isInvoiceRejected()

getKualiItemTypeCodeFromMappings

public String getKualiItemTypeCodeFromMappings(String invoiceItemTypeCode)

getInvoiceItemTypeMappings

public ElectronicInvoiceItemMapping[] getInvoiceItemTypeMappings()

isInvoiceNumberAcceptIndicatorEnabled

public boolean isInvoiceNumberAcceptIndicatorEnabled()

getElectronicInvoice

public ElectronicInvoice getElectronicInvoice()

getInvoiceNetAmount

public BigDecimal getInvoiceNetAmount()

getInvoiceProcessedDate

public Date getInvoiceProcessedDate()

getInvoiceShipToAddressAsString

public String getInvoiceShipToAddressAsString()

getInvoiceBillToAddressAsString

public String getInvoiceBillToAddressAsString()

getAccountsPayablePurchasingDocumentLinkIdentifier

public Integer getAccountsPayablePurchasingDocumentLinkIdentifier()


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