Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Fusion Blog
  • Register

Oracle Gold Partners, our very popular training packages, training schedule is listed here
Designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

webinar new

Search Courses

Introduction

Lots of new features are available in the latest release of Oracle HCM Cloud Application (Release 13 20A). One of the feature which has been introduced in the latest release is “Add Business Object Field Validation Rules” under “Autocomplete Rules” within “HCM Experience Design Studio” 

“Add Business Object Field Validation Rules” as the name suggests allows us to fire various validations based on the data value stored in a business object field. I can understand if you could not make out the above statement (honestly speaking I was not able to understand the same too). But, we will try to understand the same with an worked out example.

In this example, we will try to demonstrate how to throw an error when a specific field (First Name) holds a specific value (Test). In other words, we will try to build a custom rule such that whenever some one tries to enter the string value of “Test” in the First Name field (during name change action) an error message will be displayed. 

Worked Out Example

As a first step we should ensure that we login to the application with a user having appropriate credentials (user having access to create Sandbox) and then we would need to create a sandbox.

Navigation : Login To Application -> Navigator -> Configuration -> Sandbox

 

Once we click on Sandbox a new page will open where we can choose the different tools and create a sandbox (we will name it as “AH_AutoCompletionRules)

Next we will need to navigate to Home Page and Click on “HCM Experience Design Studio”

Once we click on the link (highlighted in yellow in above screen-shot)  new page will open and we should choose the “Autocomplete Rules” . There are different actions against which we can choose the AutoComplete Rules and they would appear on the drop-down list on the work area

 

Also there are different types of rules which can be created namely:

  1. Add Business Object Defaulting Rule
  2. Add Business Object Validation Rule
  3. Add Business Object Field Validation Rules
  4. Add Business Object Field Modification Rules

 

 

Creating Add Business Object Field Validation Rules

For this example we would choose “Person Name” and “Add Business Object Field Validation Rules”. Once we click on those a new page will appear. We would need to populate the following fields 

Rule Information

Name

Ensure First Name field does not contains Test

Business Object Field

First Name

Description

Ensure First Name field does not contains Test

Active

Checked

Rule Logic

{

 The value of variable vFirstName = (f) The new value of First Name

IF  (

       (f) vFirstName Equals (f) Test     

      )

  { Show an error with a message= (f) Test is not a valid name. Please choose a different First Name.        

   }  

}

 

 

And this completes the rule creation part. 

Changing the First Name of an Employee

In the next step, we will search a employee and try to change his “First Name”

Once we click on “Update” it will ask for the New Effective Date (which would have a default value of current system date 3/9/20 for this example)

Once we click on “Ok” a new page will open which would hold the old values

 

Now we will change the value of First Name from “Andrew” to “Test” and try to save the same.

And we could see that the moment we enter “Test” and tab out of the “First Name” we encounter an error.

Summary

So, this is how we can make use of “Business Object Field Validation Rules” to add custom validation on different business object field values. One can also build custom validations based on a combination of two, three or more fields as long as they belong to same business object. A typical example could be to ensure that if Title field is populated then say  Prefix should be left Blank or vice versa, but more on that on some other day. For now I hope you all enjoyed reading this post and would be using this feature in your upcoming / ongoing projects. Thanks all for your time and have a great day ahead.


Ashish Harbhajanka

Comments   

0 #1 Read More From Here 2022-05-23 02:56
Thanks for sharing your thoughts on Fusion Financials.

Regards
Quote

Add comment


Security code
Refresh

About the Author

Ashish Harbhajanka

 

Oracle Fusion HCM Techno Functional Consultant with overall 10 years of Experience in software industry with 5 years in EBS HRMS and rest 5 in Fusion HCM.

My areas of intesrest in Fusion HCM include :

a) Inbound Outbound Integration using FBL/HDL or BIP/HCM Extracts.

b) Fast Formula

c) BIP Reports

d) OTBI Reports

e) RESTFUL API / Web Service Call

f) Functional Setup

g) End to End Testing

h) Regression Testing

i) Preparing COnfiguration Workbooks

j) Creating Speed Solutions

k) Preparing User Guides

l) UPK

........

Search Trainings

Fully verifiable testimonials

Apps2Fusion - Event List

<<  Apr 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
  1  2  3  4  5  6  7
  8  91011121314
15161718192021
22232425262728
2930     

Enquire For Training

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner