Error Message should show Display Label instead of Field Name (Doc ID 1458374.1)

Last updated on AUGUST 30, 2016

Applies to:

Oracle Fusion CRM Application Composer - Version 11.1.2.0.0 and later
Oracle Fusion CRM Application Composer Cloud Service - Version 11.1.4.0.0 and later
Information in this document applies to any platform.

Goal



Issue
------------
In CRM Application Composer, When condition is violated on Conditionally Required fields, the system throws an error message specifying field name instead of display label. The requirement is to show Display label of the field instead of field name. Only then will end users really understand which field is causing the error.

Replication Steps
-------------------------
The custom field 'Deal Margin %' has been made required when the Status = Won.
1. Set the [Required] checkbox to True.
2. Add expression:  nvl(StatusCode,””) == “WON”
3. Set [Depends On] field = Status.

The field is now conditionally required as desired.

Actual Result
-------------------
When the condition is tested the system throws an error message :
"Attribute Test_c in OpportunityEO is required"
However the error message is cryptic. The field name is shown as Test_c instead of the Display label - which is 'Deal Margin %'.

Expected Result
-----------------------
The message should read as "Attribute 'Deal Margin %' in OpportunityEO is required'. Additionally user wishes to customize the ‘system’ error message according their own requirements. Something similar to the ‘error’ message field in the 'server script' object (when defining object/field rules).

Business Impact
---------------------------
End Users are unable to identify which field is throwing the error message so this leads to confusion and the user experience is not smooth

Solution

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