Last updated on DECEMBER 18, 2015
Applies to:Oracle Retail Merchandising System - Version 188.8.131.52 and later
Information in this document applies to any platform.
Error message is generated by the code which is obscure and neither helps business user nor support team.
Message : “Error parsing error message from SQL_LIB.API_MSG”.
A call to SQL_LIB was made from ADDRESS_SQL.GET_PRIMARY_ADDR_TYPE
SQL_LIB.CREATE_MSG('NO_PRIMARY_ADDR_TYPE',NULL, 'ADDRESS_SQL.GET_PRIMARY_ADDR_TYPE', NULL)
Steps to recreate
This issue can be easily replicated by making a call to the function ADDRESS_SQL.GET_PRIMARY_ADDR_TYPE.
Step 1 : Modify add_type_module table such that the following cursor returns no data
cursor C_ADD_TYPE_MODULE is
where primary_ind = 'Y'
and mandatory_ind = 'Y'
and module = 'SUPP';
Step 2: Call FUNCTION GET_SUPP_PRIMARY_ADDR_TYPE(O_error_message IN OUT RTK_ERRORS.RTK_TEXT%TYPE,
O_primary_addr_type OUT ADD_TYPE_MODULE.ADDRESS_TYPE%TYPE)
Step 3: call SQL_LIB.API_MSG(O_ERROR_TYPE,O_ERROR_MESSAGE);
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms