Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Fusion PayRoll
  • 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

 

In this article, we would quickly illustrate how to show warning message on Absence Recording Page. This is applicable to Release 12 version.

 

Pre-requisite:

 

Creating Custom Warning Message

 

We would need to create a Custom Warning Message using the Manage Messages Task.

 

Navigation: Setup and Maintenance -> Manage Messages

 

Please populate the following details while creating Warning Message

Attribute Name

Attribute Value

Message Name

ANC_XX_DEMO_WARNING

Application

Absence Management

Module

Absence Recording

Message Number

12000

Translation Notes

 

Message Text

Custom Warning Message to Demonstrate How to Display Warning Message(On Absence Recording Page) using Global Absence Entry Validation Fast Formula Message

Message Type

Warning

Category

 

Severity

 

Logging Enabled

Checked

 

And, the screen would look as below:

 

 

Creating a Global Absence Entry Validation Fast Formula

 

Next we need to create a Global Absence Entry Validation Fast Formula. In my case, I already had an existing Fast Formula and I added the following code snippet:

Formula Text

IF (2>1)


THEN

(

 VALID = 'N'

  ERROR_CODE = 'W'

  ERROR_MESSAGE = 'ANC_XX_DEMO_WARNING'

/* Custom Warning Message to Demonstrate How to Display Warning Message(On Absence Recording Page) using Global Absence Entry Validation Fast Formula Message */

)


RETURN VALID,ERROR_MESSAGE,ERROR_CODE

*Note: I have used a 2>1 condition as I am using this example for illustration purpose where-in I want this piece of code to be executed every time. One may use a different IF condition as per business requirement.

 

Attaching Fast Formula to Absence Type

 

Once the Fast Formula is compiled we would need to attach this to an Absence Type . Pick this formula name from the Drop Down List which appears along side Validation Formula.

 

Once all the above steps are done we are ready to try to apply a Leave and once we try that (screen-shot below)

 

 

We could see that a Warning Message appears . Notice it gives the Option of ‘Yes’ and ‘No’ where-in Transaction gets saved/submitted ( depending on the Action Button which was acted upon by user) or the transaction gets cancelled when ‘No’ is pressed.


Ashish Harbhajanka

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

<<  Mar 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
      1  2  3
  4  5  6  7  8  910
11121314151617
18192021222324
25262728293031

Enquire For Training

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner