Business Events

This chapter covers the following topics:

Overview

These callouts, to the Oracle Workflow Business Event System, enable you to customize data usage in the TCA registry and the customer account layer without modifying the core TCA product.

Installation and Setup

Installation

The TCA callout structure is based on the Business Event System (BES) using Oracle Workflow.

Setup

The following procedure describes how to setup event subscription.

Event Subscription

  1. Log on to Oracle Applications using the Workflow Administrator Web Application responsibility.

  2. Navigate to Business Events and search for a business event.

  3. Click Create Subscription.

  4. Enter the action and other parameters for the subscription.

For granular events, TCA uses the same naming convention:

oracle.apps.ar.hz.<Entity name>.<action>

For business object events, TCA uses the following naming convention:

oracle.apps.ar.hz.<Entity name>BO.<action>

For example, if you subscribe your business process to the Customer Account creation event, then you must subscribe your routine to the oracle.apps.ar.hz.CustAccount.create event. Or, if you subscribe your business process to the modification of an organization, then you must subscribe your routine to the oracle.apps.ar.hz.Organization.update event.

For more information on subscribing to events, see: Defining Event Subscriptions, Oracle Workflow Developer's Guide.

Workflow Agent Listener Concurrent Program

You should run subscriptions in deferred mode using the Oracle Workflow Business Event System, so that no overhead is added to the process that raised the event. The phase number of a user defined subscription should be greater than 99.

When the TCA callout structure raises an event, the event message, corresponding to that instance of event, is sent to the deferred queue. Subscriptions are executed when the event message is consumed. That is when the Workflow Agent Listener with the WF_DEFERRED parameter runs. When this concurrent program runs, every subscription from every instance of events currently in the DEFERRED queue runs. The request group of the System Administrator responsibility includes this concurrent program.

For more information, see: Deferring Subscription Processing Using Subscription Phase Numbers, and Managing Business Events in Oracle Workflow Developer's Guide.

Related Topics

Setting Up Business Events, Oracle Trading Community Architecture Administration Guide

Business Object Overview

Seeded Business Object APIs

Business Object API Features

Business Object API Attributes Information Overview

Trading Community Architecture Granular Events

This table provides the following information about the TCA events:

Related Topics

Business Object Overview

Seeded Business Object APIs

Business Object API Features

Business Object API Attributes Information Overview

Trading Community Architecture Business Object Events

This table provides the following information about the TCA Business Objects Events:

Event Name Event Description
Persons Created
oracle.apps.ar.hz.personBO.create
Raised when one or more Person business objects are completely created for all mandatory embedded objects, structures, and entities.
Persons Updated
oracle.apps.ar.hz.personBO.update
Raised when one or more TCA entities embedded within a complete Person business object are created or modified.
Person Customers Created
oracle.apps.ar.hz.CustBO.create
Rasied when one or more Person Customer business objects are completely created for all mandatory embedded objects, structures, and entities. This business object combines TCA Party and Account layers and is created when a Customer Account business object is created for and existing Person business object.
Person Customers Updated
oracle.apps.ar.hz.CustBO.update
Raised when one or more TCA embedded entities within a complete Person Customer business object are created or modified.
Organizations Created
oracle.apps.ar.hz.orgBO.create
Raised when one or more Organization business objects are completely created for all mandatory embedded objects, structures, and entities.
Organizations Updated
oracle.apps.ar.hz.orgBO.update
Raised when one or more TCA entities embedded within a complete Organization business object are created or modified.
Organization Customers Created
oracle.apps.ar.hz.orgCustBO.create
Raised when one or more Organization Customer business objects are completely created for all mandatory embedded objects, structures, and entities. This business object combines TCA Party and Account layers and is created when a Customer Account business object is created for and existing Organization business object.
Organization Customers Updated
oracle.apps.ar.hz.orgCustBO.update
Raised when one or more TCA embedded entities within a complete Organization Customer business object are created or modified.

Related Topics

Business Object Overview

Seeded Business Object APIs

Business Object API Features

Business Object API Attributes Information Overview