Skip Headers
Oracle® Application Integration Architecture Oracle Financial Management Integration Pack for Oracle Transportation Management and Oracle E-Business Suite Implementation Guide
Release 3.1

Part Number E23563-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

4 Process Integration for Payable Invoices

This chapter provides an overview of the Financial Management process integration pack and includes the following sections:

4.1 Overview

The payables invoice integration flow allows Oracle Transportation Management (OTM) to pay its service providers, carriers, and other parties by sending its invoice (vouchers) transactions to the Oracle E-Business Payables application. Oracle E-Business Payables generates the payment and create the proper accounting for the payment transactions.

4.2 Business Process Flows

The process integration for payable invoices supports these integration flows:

OTM receives an invoice for multiple payments from a service provider:

Figure 4-1 shows the process integration for payable invoices:

Figure 4-1 OTM (Logistics) to Oracle E-business Suite Payable Invoice Flow

This image is described in surrounding text.

4.2.1 Sending Payable Invoices to Oracle E-Business Suite Account Payables

The payable invoices integration flow creates the invoice in Oracle E-Business AP based on the voucher sent from OTM.

Figure 4-2 shows the payable invoice flow from OTM to Oracle E-Business Suite:

Figure 4-2 OTM (Logistics) to Oracle E-business Suite Payable Invoice Flow

This image is described in surrounding text.

When you initiate the process, these events occur:

  1. OTM enqueues the messages into the AIA_PAYABLEINVOICE_AQ queue. The CreatePayableInvoiceListLogisticsAQConsumer service dequeues the messages and invokes the CreatePayableInvoiceListLogisticsReqABCSImpl service.

  2. The CreatePayableInvoiceListLogisticsReqABCSImpl service transforms the OTM PayableInvoiceListLogisticsABM into the CreatePayableInvoiceListEBM, populates the enterprise business message (EBM) Header, updates the cross-reference data, and invokes the PayableInvoiceEBS with the CreatePayableInvoiceList operation in fire and forget mode.

  3. The PayableInvoiceEBS service with the CreatePayableInvoiceList operation routes the messages based on the Composite Application Validation Service (CAVS) flag to either the CreatePayableInvoiceListEbizProvABCSImpl service or the CAVS simulator in an synchronized fire and forget mode.

  4. The CreatePayableInvoiceListEbizProvABCSImpl transforms the CreatePayableInvoiceListEBM into the Oracle E-Business Suite PayableInvoiceListEbizABM, and invokes the CreatePayableInvoiceListEbizDBAdapter.

  5. The CreatePayableInvoiceListEbizDBAdapter service receives the PayableInvoiceListEbizABM and makes insert calls to the Oracle E-Business Suite accounts payable interface table.

4.3 Assumptions and Constraints

These are the solution assumptions and constraints:

4.4 Oracle E-Business Suite Interfaces

These are the Oracle E-Business Suite interfaces for the payable invoices integration flow. The schema is based on these Oracle E-Business Suite tables:

For more information about Oracle E-Business Suite web services and documentation prior to Release 12.1.3, see the library on Oracle Technology Network: http://www.oracle.com/technetwork/documentation/applications-167706.html?. For Oracle E-Business Suite documentation for R12.1.3 and beyond, see this library: http://download.oracle.com/docs/cd/E18727_01/index.htm.

4.5 Oracle Transportation Management Interfaces

Oracle Transportation Management (OTM) uses PayableInvoiceListOTMABM to send approved vouchers for payment to accounts payable financials system. GLogXML.xsd, element - Transmission, subelement - Voucher

For more information about the logistics service, see Oracle Transportation Management Integration Guide.

4.6 Core Application Integration Architecture Components

The integration flow uses these components:

The core enterprise business object (EBO) and enterprise business message (EBM) XSD files can be located by EBO within the $AIA_HOME/AIAMetaData/AIAComponents/EnterpriseObjectLibrary/Core/EBO/ parent folder.

The core enterprise business services (EBS) web services definition language (WSDL) files can be located by EBO within the $AIA_HOME/AIAMetaData/AIAComponents/EnterpriseBusinessServiceLibrary/Core/EBO/ parent folder.

For detailed documentation of individual EBOs and EBMs, click AIA Reference Doc link on EBO and EBM detail pages in the Oracle Enterprise Repository.

For more information about using the Oracle Enterprise Repository and configuring it to provide the AIA Reference Doc link, see Oracle Fusion Middleware Developer's Guide for Oracle Application Integration Architecture Foundation Pack, "Configuring and Using Oracle Enterprise Repository as the Oracle AIA SOA Repository."

EBOs can be extended, for instance, to add new data elements. These extensions are protected, and remain intact after a patch or an upgrade.

For more information, see Oracle Fusion Middleware Developer's Guide for Oracle Application Integration Architecture Foundation Pack, "Extensibility for AIA Artifacts".

4.7 Integration Services

These are the services delivered with this integration:

4.7.1 CreatePayableInvoiceListLogisticsAQConsumer

This mediator service dequeues the InvoiceListLogisticsABM message whenever OTM enqueues a message into AIA_INVOICE_AQ queue. This service takes the PayableInvoiceListLogisticsABM from the wrapper AQ xsd, which contains the entire transmission element as CLOB. This service invokes the CreateInvoiceListLogisticsReqABCSImpl service.

4.7.2 CreatePayableInvoiceListLogisticsReqABCSImpl

The CreatePayableInvoiceListLogisticsReqABCSImpl is a Business Process Execution Language (BPEL) process and a single operations service that has the PayableInvoiceEBS as a partner service. This service receives the PayableInvoiceListLogisticsABM message as a request and does not return a response to the calling service.

This service performs these actions:

  • Accepts the PayableInvoiceListLogisticsABM message from OTM.

  • Transforms the PayableInvoiceListLogisticsABM into the CreatePayableInvoiceListEBM. While it is transforming from the application business message (ABM) to the enterprise business message (EBM), cross-references are populated for the: PAYABLEINVOICE_PAYABLEINVOICEID.

  • Sends the CreatePayableInvoiceListEBM message as an input to the CreatePayableInvoiceList operation in the PayableInvoiceEBS service.

These DVM lookups are used by this service:

  • PAYMENTMETHOD_CODE: domain value mapping for the payment method codes.

  • PAYABLEINVOICE_PAYABLEINVOICELINETYPE: domain value mapping for the payable invoice line types.

4.7.3 PayableInvoiceEBS

The PayableInvoiceEBS is an enterprise business service that exposes all the enterprise operations related to the payable invoice like create payable-invoice, update payable-invoice, and so on. This integration uses only the CreatePayableInvoiceList operation. This service routes the request to the appropriate provider like the CreatePayableInvoiceListEbizProvABCSImpl or the Composite Application Validation System (CAVS) based on the filter condition and operations. No transformations are done in this service.

For more information about this enterprise business service (EBS), see Oracle Fusion Middleware Developer's Guide for Oracle Application Integration Architecture Foundation Pack, "Designing and Developing Enterprise Business Services" and Oracle Fusion Middleware Concepts and Technologies Guide for Oracle Application Integration Architecture Foundation Pack, "Understanding Enterprise Business Services".

4.7.4 CreatePayableInvoiceListEbizProvABCSImpl

The CreatePayableInvoiceListEbizProvABCSImpl is a BPEL process, which receives the CreatePayableInvoiceListEBM, transforms the message into the PayableInvoiceEbizABM, and invokes the CreatePayableInvoiceListEbizDBAdapter service.

These DVM lookups are used by this service:

  • PAYABLEINVOICE_PAYABLEINVOICETYPE: domain value mapping for the invoice type (that is standard, credit memo).

  • PAYMENTMETHOD_CODE: domain value mapping for the payment method codes.

  • PAYABLEINVOICE_PAYABLEINVOICELINETYPE: domain value mapping for the payable invoice line types.

4.7.5 CreatePayableInvoiceListEbizDBAdapter

This service accepts the PayableInvoiceListEbizABM message from the CreatePaybleInvoiceListEbizProvABCSImpl and inserts the data into the Oracle E-Business Suite AP interface tables.

4.7.6 UpdatePayableInvoiceListEbizXref

The UpdatePayableInvoiceListEbizXref service is a Business Process Execution Language (BPEL) process. When the payables open interface program successfully imports an invoice, it raises the business event oracle.apps.ap.invoice.import. The subscription to this event calls the UpdatePayableInvoiceListEbizXref service. This service using the UpdatePayableInvoiceListEbizXrefAdapter, fetches the invoice IDs and corresponding AIA global unique identifier (GUID), and updates to the PAYABLEINVOICE_PAYABLEINVOICEID cross-reference table.

If you choose not to use this service, you can disable the event subscription in the Oracle E-Business Suite application.

4.7.7 PayableInvoiceResponseEBS

The PayableInvoiceResponseEBS is the enterprise business service (EBS) used to route all payable invoice response related actions to the requesting application like create payable-invoice response, update payable-invoice response, delete payable-invoice response, and synchronize payable-invoice response. CreatePayableInvoiceListResponse is implemented as a part of this integration.