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

java.lang.Object
  extended by org.kuali.kfs.module.purap.service.impl.ElectronicInvoiceMappingServiceImpl
All Implemented Interfaces:
ElectronicInvoiceMappingService

@Transactional
public class ElectronicInvoiceMappingServiceImpl
extends Object
implements ElectronicInvoiceMappingService


Field Summary
 
Fields inherited from interface org.kuali.kfs.module.purap.service.ElectronicInvoiceMappingService
CXML_ADDRESS_BILL_TO_NAME, CXML_ADDRESS_BILL_TO_ROLE_ID, CXML_ADDRESS_REMIT_TO_NAME, CXML_ADDRESS_REMIT_TO_ROLE_ID, CXML_ADDRESS_SHIP_TO_NAME, CXML_ADDRESS_SHIP_TO_ROLE_ID, CXML_VALID_CURRENCY_CODES, CXML_VALID_OPERATION_CODES, CXML_VALID_PURPOSE_CODES, DEFAULT_BELOW_LINE_ITEM_DESCRIPTION, E_INVOICE_SHIPPING_DESCRIPTION, ITEM_TYPE_RETURN_VALUE_UNACCEPTED
 
Constructor Summary
ElectronicInvoiceMappingServiceImpl()
           
 
Method Summary
 boolean acceptAmountType(String cxmlAmountType)
           
 String checkCodeForValidCurrency(String code)
          This method contains the mapping check for valid Currency Code(s)
 String getCatalogNumber(ElectronicInvoiceItem item)
          This method defines which field out of the ElectronicInvoiceItem that the catalog number is coming in as
 Map getDefaultItemMappingMap()
           
 String getInvoiceCustomerNumber(ElectronicInvoice ei)
          This method defines which field out of the ElectronicInvoice that the customer number field is coming in as
 String getInvoicePurchaseOrderID(ElectronicInvoiceOrder invoiceOrder)
          This method defines which field out of the ElectronicInvoiceOrder that the purchase order number is coming in as
 Map getItemMappingMap(Integer vendorHeaderId, Integer vendorDetailId)
           
 boolean isCodeValidCurrency(String code)
          This method contains the mapping check for valid Currency Code(s)
 void setElectronicInvoicingDao(ElectronicInvoicingDao electronicInvoicingDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElectronicInvoiceMappingServiceImpl

public ElectronicInvoiceMappingServiceImpl()
Method Detail

setElectronicInvoicingDao

public void setElectronicInvoicingDao(ElectronicInvoicingDao electronicInvoicingDao)

getDefaultItemMappingMap

public Map getDefaultItemMappingMap()
Specified by:
getDefaultItemMappingMap in interface ElectronicInvoiceMappingService

getItemMappingMap

public Map getItemMappingMap(Integer vendorHeaderId,
                             Integer vendorDetailId)
Specified by:
getItemMappingMap in interface ElectronicInvoiceMappingService

acceptAmountType

public boolean acceptAmountType(String cxmlAmountType)
Specified by:
acceptAmountType in interface ElectronicInvoiceMappingService

getInvoicePurchaseOrderID

public String getInvoicePurchaseOrderID(ElectronicInvoiceOrder invoiceOrder)
This method defines which field out of the ElectronicInvoiceOrder that the purchase order number is coming in as

Specified by:
getInvoicePurchaseOrderID in interface ElectronicInvoiceMappingService
Parameters:
invoiceOrder - ElectronicInvoiceOrder we need to get the PO ID from
Returns:
the String value of the purchase order id

getCatalogNumber

public String getCatalogNumber(ElectronicInvoiceItem item)
This method defines which field out of the ElectronicInvoiceItem that the catalog number is coming in as

Specified by:
getCatalogNumber in interface ElectronicInvoiceMappingService
Parameters:
eii - ElectronicInvoiceItem we need to get the catalog number from
Returns:
catalog number value

getInvoiceCustomerNumber

public String getInvoiceCustomerNumber(ElectronicInvoice ei)
This method defines which field out of the ElectronicInvoice that the customer number field is coming in as

Specified by:
getInvoiceCustomerNumber in interface ElectronicInvoiceMappingService
Parameters:
ei - ElectronicInvoice we need to get the customer number from
Returns:
customer number value

checkCodeForValidCurrency

public String checkCodeForValidCurrency(String code)
This method contains the mapping check for valid Currency Code(s)

Specified by:
checkCodeForValidCurrency in interface ElectronicInvoiceMappingService

isCodeValidCurrency

public boolean isCodeValidCurrency(String code)
This method contains the mapping check for valid Currency Code(s)

Specified by:
isCodeValidCurrency in interface ElectronicInvoiceMappingService


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