@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 ElectronicInvoiceMappingService
public Map getItemMappingMap(Integer vendorHeaderId, Integer vendorDetailId)
getItemMappingMap
in interface ElectronicInvoiceMappingService
public boolean acceptAmountType(String cxmlAmountType)
acceptAmountType
in interface ElectronicInvoiceMappingService
public String getInvoicePurchaseOrderID(ElectronicInvoiceOrder invoiceOrder)
getInvoicePurchaseOrderID
in interface ElectronicInvoiceMappingService
invoiceOrder
- ElectronicInvoiceOrder we need to get the PO ID frompublic String getCatalogNumber(ElectronicInvoiceItem item)
getCatalogNumber
in interface ElectronicInvoiceMappingService
eii
- ElectronicInvoiceItem we need to get the catalog number frompublic String getInvoiceCustomerNumber(ElectronicInvoice ei)
getInvoiceCustomerNumber
in interface ElectronicInvoiceMappingService
ei
- ElectronicInvoice we need to get the customer number frompublic String checkCodeForValidCurrency(String code)
checkCodeForValidCurrency
in interface ElectronicInvoiceMappingService
public boolean isCodeValidCurrency(String code)
isCodeValidCurrency
in interface ElectronicInvoiceMappingService
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.