@Transactional public class ElectronicInvoiceMappingServiceImpl extends Object implements 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 and Description |
|---|
ElectronicInvoiceMappingServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public ElectronicInvoiceMappingServiceImpl()
public void setElectronicInvoicingDao(ElectronicInvoicingDao electronicInvoicingDao)
public Map getDefaultItemMappingMap()
getDefaultItemMappingMap in interface ElectronicInvoiceMappingServicepublic Map getItemMappingMap(Integer vendorHeaderId, Integer vendorDetailId)
getItemMappingMap in interface ElectronicInvoiceMappingServicepublic boolean acceptAmountType(String cxmlAmountType)
acceptAmountType in interface ElectronicInvoiceMappingServicepublic String getInvoicePurchaseOrderID(ElectronicInvoiceOrder invoiceOrder)
getInvoicePurchaseOrderID in interface ElectronicInvoiceMappingServiceinvoiceOrder - ElectronicInvoiceOrder we need to get the PO ID frompublic String getCatalogNumber(ElectronicInvoiceItem item)
getCatalogNumber in interface ElectronicInvoiceMappingServiceeii - ElectronicInvoiceItem we need to get the catalog number frompublic String getInvoiceCustomerNumber(ElectronicInvoice ei)
getInvoiceCustomerNumber in interface ElectronicInvoiceMappingServiceei - ElectronicInvoice we need to get the customer number frompublic String checkCodeForValidCurrency(String code)
checkCodeForValidCurrency in interface ElectronicInvoiceMappingServicepublic boolean isCodeValidCurrency(String code)
isCodeValidCurrency in interface ElectronicInvoiceMappingServiceCopyright © 2004–2015 The Kuali Foundation. All rights reserved.