org.kuali.kfs.module.purap.service
Interface ElectronicInvoiceMappingService

All Known Implementing Classes:
ElectronicInvoiceMappingServiceImpl

public interface ElectronicInvoiceMappingService


Field Summary
static String CXML_ADDRESS_BILL_TO_NAME
           
static String CXML_ADDRESS_BILL_TO_ROLE_ID
           
static String CXML_ADDRESS_REMIT_TO_NAME
           
static String CXML_ADDRESS_REMIT_TO_ROLE_ID
           
static String CXML_ADDRESS_SHIP_TO_NAME
           
static String CXML_ADDRESS_SHIP_TO_ROLE_ID
           
static String[] CXML_VALID_CURRENCY_CODES
           
static String[] CXML_VALID_OPERATION_CODES
           
static String[] CXML_VALID_PURPOSE_CODES
           
static String DEFAULT_BELOW_LINE_ITEM_DESCRIPTION
           
static String E_INVOICE_SHIPPING_DESCRIPTION
           
static String ITEM_TYPE_RETURN_VALUE_UNACCEPTED
           
 
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)
 

Field Detail

DEFAULT_BELOW_LINE_ITEM_DESCRIPTION

static final String DEFAULT_BELOW_LINE_ITEM_DESCRIPTION
See Also:
Constant Field Values

E_INVOICE_SHIPPING_DESCRIPTION

static final String E_INVOICE_SHIPPING_DESCRIPTION
See Also:
Constant Field Values

CXML_ADDRESS_SHIP_TO_ROLE_ID

static final String CXML_ADDRESS_SHIP_TO_ROLE_ID
See Also:
Constant Field Values

CXML_ADDRESS_BILL_TO_ROLE_ID

static final String CXML_ADDRESS_BILL_TO_ROLE_ID
See Also:
Constant Field Values

CXML_ADDRESS_REMIT_TO_ROLE_ID

static final String CXML_ADDRESS_REMIT_TO_ROLE_ID
See Also:
Constant Field Values

CXML_ADDRESS_SHIP_TO_NAME

static final String CXML_ADDRESS_SHIP_TO_NAME

CXML_ADDRESS_BILL_TO_NAME

static final String CXML_ADDRESS_BILL_TO_NAME

CXML_ADDRESS_REMIT_TO_NAME

static final String CXML_ADDRESS_REMIT_TO_NAME

ITEM_TYPE_RETURN_VALUE_UNACCEPTED

static final String ITEM_TYPE_RETURN_VALUE_UNACCEPTED
See Also:
Constant Field Values

CXML_VALID_CURRENCY_CODES

static final String[] CXML_VALID_CURRENCY_CODES

CXML_VALID_OPERATION_CODES

static final String[] CXML_VALID_OPERATION_CODES

CXML_VALID_PURPOSE_CODES

static final String[] CXML_VALID_PURPOSE_CODES
Method Detail

getDefaultItemMappingMap

Map getDefaultItemMappingMap()

getItemMappingMap

Map getItemMappingMap(Integer vendorHeaderId,
                      Integer vendorDetailId)

acceptAmountType

boolean acceptAmountType(String cxmlAmountType)

getInvoicePurchaseOrderID

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

Parameters:
invoiceOrder - ElectronicInvoiceOrder we need to get the PO ID from
Returns:
the String value of the purchase order id

getCatalogNumber

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

Parameters:
eii - ElectronicInvoiceItem we need to get the catalog number from
Returns:
catalog number value

getInvoiceCustomerNumber

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

Parameters:
ei - ElectronicInvoice we need to get the customer number from
Returns:
customer number value

checkCodeForValidCurrency

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


isCodeValidCurrency

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



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