Oracle Release Management Exceptions

This appendix covers the following topics:

Overview

The Oracle Release Management Demand Processor is an Oracle Open Interface that provides complete defaulting, derivation, and validation for inbound demand schedules regardless of their source. The Oracle Release Management Demand Processor can process customer demand schedules from diverse sources including:

This appendix addresses exceptions that occur during the processing of demand interface files by Oracle Release Management, and the features provided for handling them. The Demand Processor screens incoming demand files and the existing Oracle setup for many different exception conditions that generate error and warning messages. While the messages themselves provide sufficient information for resolving the exception conditions, this chapter provides an expanded discussion of exception processing.

See Overview of Oracle Release Management Demand Processor, Oracle Release Management User's Guide.

Related Topics

Overview of Oracle e-Commerce Gateway for Inbound EDI Demand

Business Flow

Oracle Release Management exceptions are generated at the end of the inbound demand processing flow. During this process, exception conditions are checked with resulting exception messages stored in the database. If problems exist during demand processing, then a separate concurrent request will generate the Oracle Release Management Exceptions Report. This report will generate only if exceptions exist and will contain information needed to resolve error conditions. Warning messages will also print but will not prevent processing. If no exception conditions exist, the Oracle Release Management Exceptions Report will not generate.

The following figure displays how exceptions are generated from the inbound demand processing:

Oracle Release Management Inbound Demand EDI Processing

the picture is described in the document text

Managing Oracle Release Management Exceptions

This section addresses the aspects of managing Oracle Release Management Exceptions. Exception handling features can be divided into the following general areas:

Generating Exceptions

Exception Severity Levels

The Oracle Release Management Demand Processor verifies inbound demand files against the data setup in the Oracle system and generates exceptions at three levels of severity:

Reporting Exceptions

Message Categories

Message categories are used to organize the messages on the Exception Report. There are six predefined message categories, and new message categories can be defined and assigned to exception messages as needed.

To define message categories:

  1. Using the Application Developer responsibility, navigate to the Application Object Library Lookups form.

  2. Query RLM_MESSAGE_CATEGORY Lookup Type.

  3. Enter a new code and message.

    Define as many message categories as needed.

  4. Using the Oracle Release Management responsibility, navigate to the Message Category form.

    On this form you will see all of the Oracle Release Management exception messages. Number is the exception number, Text is the text of the exception message and message category is the category currently assigned to the message. The following message categories are currently available:

    • Action messages

    • Default

    • Data related issue

    • Matching criteria related issue

    • Non-matching criteria related issue

    • Quantity changes

    • Newly defined message categories are also available in the list of values

Viewing Exceptions

The current exceptions associated with any schedule can be viewed in the Oracle Release Management Workbench. First, query the schedule. Then, either click Exceptions from the Schedule Summary window, or click the Exceptions check box in the Schedule Details window.

The Exceptions window will display all exceptions generated for this schedule in any execution of Demand Processor:

Responding to Exceptions

Oracle Release Management Exception Actions in e-Commerce Gateway

Some Oracle Release Management exceptions can be corrected by making changes in the Oracle e-Commerce Gateway, such as defining additional code conversions mapping external values used by the trading partner to valid internal values that already exist.

Once the Demand Processor Interface tables contain the schedule data, making changes in the Oracle e-Commerce Gateway to correct the data will not affect the interface schedule because it is past the point where Oracle e-Commerce Gateway processing affects it.

If the schedule header status is Processed With Errors, the schedule must be corrected using the Oracle Release Management Workbench, because part of the schedule has been fully processed. The schedule cannot be reloaded into the Oracle e-Commerce Gateway from the flat file provided by the EDI Translator without risk of duplicating data in the Oracle Release Management and Oracle Order Management system.

If the schedule header status is Processed With Errors, the schedule can be corrected in either of two ways:

  1. It can be corrected using the Oracle Release Management Workbench, and re-processed through the Demand Processor.

  2. It can be deleted using the Oracle Release Management Workbench, reloaded into the Oracle e-Commerce Gateway from the flat file provided by the EDI Translator, and re-processed through the Oracle e-Commerce Gateway and Demand Processor after the changes in the Oracle e-Commerce Gateway are made, such as missing code conversions are defined.

Corrections of Internal versus External Values

Several data elements have an external value from the EDI schedule and a corresponding internal value or ID that is derived by code conversion or table lookups.

Make corrections to the corresponding internal value when you are correcting a schedule using the Oracle Release Management Workbench. When the attribute has an Oracle e-Commerce Gateway code conversion, changing the external value will not correct the Demand Processor exception, because code conversions are not performed in the Demand Processor.

The following attributes have Oracle e-Commerce Gateway code conversions:

Demand Validation Process

The Demand Processor attempts to completely validate a schedule, and continues to validate as much as possible even after a fatal error is detected. However, some validations are dependent upon successful validation of related data. For example, if the customer ID cannot be identified, then the default Oracle Release Management Processing Rules cannot be identified either. Even though this fatal error is at the schedule header level, schedule lines will still be validated for anything that is not dependent upon the customer ID.

Therefore, responding to exceptions can become an iterative process, involving correction and reprocessing of the schedule several times before all exceptions are discovered and resolved.

Process Halting

To find as many errors as possible on the schedule in one processing run, Defaulting, Derivation, and Validation routines continue even when fatal errors are detected.

If any fatal errors occur, halting occurs after the Defaulting, Derivation, and Validation routines have completed. The Halting Level of the Demand Processor is the Ship From/Ship To/Customer Item, also known as Schedule Item.

Depending on the specific exception, corrections may need to be made either to the schedule using the Oracle Release Management Workbench or to the setup data using a particular application form.

Order Management Process Order Exception Actions

When the Order Management Process Order API returns an error or warning message to the Demand Processor, that error or warning will be included in the Oracle Release Management Exception Report. The actions for these warnings or errors are generally within the Oracle Order Management responsibility, relating to the sales order or Oracle Order Management setup. Review the error or warning message to determine what action should be taken. The messages commonly encountered are related to price lists, processing constraints, etc.

Using the Oracle Order Management profile option OM: Debug Level, more details on the errors or exceptions encountered by the Process Order API are passed to the Demand Processor and can be viewed in the request log of the Demand Processor request.

Note: Manually entered processing constraints can effect the ability of the Demand Processor to insert, delete, or update lines on a sales order. Use caution when adding processing constraints in the Oracle Order Management responsibility.