CFA Validation Commits Data Even Validation Routine Returns False

(Doc ID 2313155.1)

Last updated on OCTOBER 09, 2017

Applies to:

Oracle Retail Merchandising System - Version 16.0 and later
Information in this document applies to any platform.

Symptoms

Custom Flex Attributes(CFA) validation commits data even validation routine returns false.

Steps To Recreate:
1. Define a CFA for Purchase Order(PO) and a validation routine.
2. Without any condition, return error from validation routine.
3. Notice that error message is displayed in screen and the value is still available in the screen.
4. Click on save. Notice that the value gets committed to database even though the validation routine failed.

The expectation is error message is displayed and the user should not be able to commit the data if validation routine returns false.
 

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