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

I hope that most of you are already aware of defining a static message and using the same in the application, but the message appears more informational, concrete and compact if we could add dynamic values to the same.

This can be achieved using Message Tokens.

In this example, we would demonstrate the same.

Worked-Out Example

We would create a custom message (which includes tokens) and then display the same on the “Absence Recording” screen. The high-level steps involved are:

  1. Create Custom Message
  2. Create Custom “Global Absence Entry Validation” Fast Formula
  3. Attach Validation Fast Formula to absence type
  4. Record an Absence and Verify Results

Create Custom Message

Navigation: Setup and Maintenance -> Search -> Manage Messages->Create

We will create a custom message which should have following details:

Attribute Name

Attribute Value

Message Name

ANC_DEMO_INFORMATION_MSG

Application

Absence Management

Module

Absence Recording

Message Number

100000002

Message Type

Information

Category

Product

Severity

High

Logging Enabled

Checked

*Short Text

Absence is being recorded for person having person number as {PERSON_NUMBER} and user name as {PERSON_USER_NAME}

 

ANC_DEMO_INFORMATION_MSG: Message Tokens

Token Name

Data Type

Description

PERSON_NUMBER

Text

Person Number of the Employee for whom absence is being recorded

PERSON_USER_NAME

Text

User Name of the Employee for whom absence is being recorded

 

A screenshot of text

Description automatically generated

Create Custom “Global Absence Entry Validation” Fast Formula

Navigation: Setup and Maintenance -> Search -> Fast Formulas -> Create

We will create a custom Validation Fast Formula. Formula content is below for ready reference:

Formula Text

/*******************************************************************

FORMULA NAME: TEST_MESSAGE_TOKEN

FORMULA TYPE: Global Absence Entry Validation

DESCRIPTION:  Formula to demonstrate Message Token display


Change History:

Name                    Date                                             Comments

--------------------------------------------------------------------------------------------------------------------

Ashish Harbhajanka      25-06-2020                                       Initial Version 

--------------------------------------------------------------------------------------------------------------------

*********************************************************************************/

DEFAULT FOR PER_PER_USER_NAME is 'X'

DEFAULT FOR PER_ASG_PERSON_NUMBER IS 'X'


INPUTS ARE IV_START_DATE,IV_END_DATE,IV_TOTALDURATION


lc_user_name = PER_PER_USER_NAME

lc_person_number = PER_ASG_PERSON_NUMBER


VALID = 'Y'



IF IV_TOTALDURATION > 40

THEN

(

VALID = 'N'

ERROR_CODE = 'I'

ERROR_MESSAGE = 'ANC_DEMO_INFORMATION_MSG'

TOKEN_NAME[1]='PERSON_NUMBER'

TOKEN_VALUE[1] = lc_person_number

TOKEN_NAME[2]='PERSON_USER_NAME'

TOKEN_VALUE[2] = lc_user_name

RETURN VALID,

       ERROR_CODE,

       ERROR_MESSAGE,

  TOKEN_NAME,

  TOKEN_VALUE,

  lc_user_name,

  lc_person_number

)


RETURN VALID

 

A screenshot of a cell phone

Description automatically generated

 

Attach Validation Fast Formula to absence type

Navigation: Setup and Maintenance -> Search -> Manage Absence Type -> Search -> Sick

We will now attach the newly create validation fast formula to an existing absence type (“Sick” for this example)

A screenshot of a cell phone

Description automatically generated



Record an Absence and Verify Results

Now we will try to record and absence and verify results. We would need to navigate to “Manage Absence Record” screen. 

Navigation is: My Client Groups -> Person Management -> Search (for Person Number 40 for this example) -> Absences -> Manage Absence Records

We will try to record an absence of “Sick” type (which will have an absence duration greater than 40, as this is the condition when message should be displayed)

A screenshot of a cell phone

Description automatically generated

 

Now, if we try to record absence for another employee, we will see that the person number and user name would change accordingly

A screenshot of a cell phone

Description automatically generated

 

Summary

So, this is how we can display dynamic values in a message by making use of message token. 

In the above demonstration we have used Absence Management module to display the message, but one can use any module area wherever messages can be invoked.

And with this we have come to end of the article.

Hope this was a good read and would be helpful.

Thanks all for your time and have a great day ahead.

Downloadable files are available from the below links:

GetMessageDetails_dm.xdm.catalog

GetMessageDetailReportTemplate.rtf

GetMessageDetailReport.xdo.catalog




Ashish Harbhajanka

Comments   

0 #1 Tonvinymn 2021-06-04 22:50
furosemide 40 mg buy online
Quote
0 #2 Tonvinymn 2021-07-07 21:16
buy oratane
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