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

Part Number E23563-06
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

5 Process Integration for Receivable Bills

This chapter provides an overview of the process integration for receivable bills and includes the following sections:

5.1 Overview

The receivable bills integration flow allows Oracle Transportation Management (OTM) to manage and bill the sell-side settlement process by approving bills and sending the transaction to the financial application for collection and management of uncollectibles.

5.2 Business Process Flows

The process integration for receivable bills supports these integration flows:

Figure 5-1 shows the process integration for receivable bills:

Figure 5-1 Receivable Bills Process Integration Flow

This image is described in surrounding text.

5.2.1 Sending Receivable Bills into Oracle E-Business Suite Account Receivables

The receivable bills process integration flow creates the bill in Oracle E-Business Suite Account Receivables (AR) based on the customer bill sent by OTM.

Figure 5-2 is a sequence diagram that shows the process integration for receivable bills:

Figure 5-2 OTM (Logistics) to Oracle E-Business Suite Receivable Bill Flow

This image is described in surrounding text.

When you initiate the process these events occur:

  1. OTM enqueues the messages into the AIA_INVOICE_AQ queue. This service dequeues the messages and invokes the CreateInvoiceListLogisticsReqABCSImpl service.

  2. The CreateInvoiceListLogisticsReqABCSImpl service transforms the OTM CreateInvoiceListLogisticsABM into the CreateInvoiceListEBM, populates the enterprise business message (EBM) Header, updates the cross-reference data, and invokes the InvoiceEBS with the CreateInvoiceList operation in fire and forget mode.

  3. The InvoiceEBS service with the CreateInvoiceList operation routes the messages based on the Composite Application Validation System (CAVS) flag to either the CreateInvoiceListEbizProvABCSImpl service or the CAVS simulator in an asynchronized fire and forget mode.

  4. The CreateInvoiceListEbizProvABCSImpl transforms the CreateInvoiceListEBM into the Oracle E-Business Suite InvoiceListEbizABM, and invokes the CreateInvoiceListEbizAppsAdapter.

  5. The CreateInvoiceListEbizAppsAdapter service receives the InvoiceListEbizABM, sets the apps context, and invokes the Oracle E-Business Suite AR PL/SQL API - AR_EBI_INVOICE_PUB. ar_invoice_submission.

5.3 Assumptions and Constraints

These are the solution assumptions and constraints:

5.4 Oracle E-Business Suite Interfaces

The schema is based on AR_EBI_INVOICE_PUB.AR_INVOICE_SUBMISSION API.

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.

5.5 Oracle Transportation Management Interfaces

Oracle Transportation Management (OTM) uses InvoiceListLogisticsABM to send approved bills for collection to accounts receivable financials system. GLogXML.xsd, element - Transmission, sub-element - Billing

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

5.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".

5.7 Integration Services

These are the services delivered with this integration:

5.7.1 CreateInvoiceListLogisticsAQConsumer

This mediator service is implemented to route the message whenever OTM enqueues a message into the AIA_INVOICE_AQ queue. This service takes the BillingXML element from the wrapper AQ xsd and invokes the CreateInvoiceListLogisticsReqABCSImpl service.

5.7.2 CreateInvoiceListLogisticsReqABCSImpl

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

This service performs these actions:

  • Accepts the CreateInvoiceListLogisticsABM message from OTM. The cross-reference table is populated for the unique identifier at the receivable invoice header level.

  • Transforms the CreateInvoiceListLogisticsABM into the CreateInvoiceListEBM. While it is transforming from the application business message (ABM) to the enterprise business message (EBM), cross-references are looked up for INVOICE_INVOICEID.

  • Sends the CreateInvoiceListEBM message as an input to the CreateInvoiceList operation in the InvoiceEBS service.

  • The INVOICE_INVOICELINETYPE: domain value mapping for the receivable invoice line type DVM is used by this service.

5.7.3 InvoiceEBS

The InvoiceEBS is an Enterprise Business Service that exposes all the enterprise operations related to the invoice like create invoice, update invoice, and so on. This integration uses only CreateInvoiceList operation. This Enterprise Business Service routes the request to the appropriate provider like the CreateInvoiceListEbizProvABCSImpl 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""

5.7.4 CreateInvoiceListEbizProvABCSImpl

The CreateInvoiceListEbizProvABCSImpl is a Business Process Execution Language (BPEL) process, which receives the CreateInvoiceListEBM, transforms the message into the InvoiceListEbizABM, and invokes the CreateInvoiceListEbizAppsAdapter service.

These DVM lookups are used by this service:

  • INVOICE_INVOICETYPE: domain value mapping for the invoice type (standard, credit memo, and so on).

  • INVOICE_INVOICELINETYPE: domain value mapping for the receivable invoice line types.

5.7.5 CreateInvoiceListEbizAppsAdapter

This service accepts the InvoiceListEbizABM message from CreateInvoiceListEbizProvABCSImpl. It sets the application context and invokes the Oracle E-Business Suite PL/SQL API AR_EBI_INVOICE_PUB.ar_invoice_submission.

5.7.6 UpdateInvoiceListEbizXref

The UpdateInvoiceListEbizXref service is a BPEL process. When the receivables' AutoInvoice master program successfully imports an invoice, it raises a business event oracle.apps.ar.batch.AutoInvoice.run. The subscription to this event calls the UpdateInvoiceListEbizXref service. This service uses UpdateInvoiceListEbizXrefAdapter and fetches the invoice_IDs and corresponding AIA global unique identifier (GUID), and updates the cross-reference table.

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

5.7.7 InvoiceResponseEBS

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