RMSSUB_XITEM.CONSUME Package Produces 'ORA-06502: PL/SQL: Numeric or Value Error' When Attempting to Receive XItemCre Message With Invalid Classification ID (Doc ID 2046666.1)

Last updated on MARCH 25, 2016

Applies to:

Oracle Retail Fiscal Management - Version 13.2.5 and later
Information in this document applies to any platform.

Symptoms

When attempting to receive an "XItemCre" message with an invalid "classification_id", the package RMSSUB_XITEM_L1ON_BR returns the error based on the error code (RTK_KEY) "ORFM_INV_CLASSIFICATION_ID" when the correct value should be "ORFM_INV_CLASS_ID".


It is expected that the message error will be shown as "invalid Classification_id" instead of "ORA-6502: PL/SQL: numeric or value error".


Steps to Reproduce:

    1. Create a XItemCre message with an invalid classification_id.
    2. Error message received

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms