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

 

I hope most of you are aware of what is meant by a Lookup in context of Oracle HCM Cloud Application but even if you are not we have got you covered. Hopefully this article (Understanding Lookups In Oracle Fusion Applications ) would give you a basic idea of the same.

 

One of the major feature of a lookup is that it only allows one unique lookup code and meaning.

 

What this means is that there can only be one unique value of lookup code can be present in lookup and similarly only one unique lookup meaning can exist.

 

 

We can clearly see that if we use either the same lookup code say (‘A-B-C’) or same meaning (‘Y’) for one lookup-type (XX_DEMO_LKP) it throws an error stating:

 

  1. Lookup Type XX_DEMO_LKP already has code A-B-C (FND - 7102)

  2. Lookup Type XX_DEMO_LKP already has lookup code meaning Y (FND - 7103)

 

However, there are many a times when one may wish to have same meaning value. We all know that one may use lookup as a placeholder and in some cases one may wish to hold a specific data combination as eligible (say Y) and others as in-eligible (say N).

 

Imaging the following data combination

Data Combination

Eligibility (Y / N)

A-B-C

Y

D-E-F

N

G-H-I

Y

J-K-L

N

In such cases one may decide to create a independent value set and that would work fine too but lets say for now we would like to have these values stored in a lookup. Now , if we try to create a lookup by using the Data Combination and Eligibility values as Lookup Code and Meaning we would not be able to do so as the meaning cannot be repeated. But there does exists a workaround for the same.

 

Storing Non-Unique Values in Lookups

 

The trick here is to make use of “Description” column which does not has any such limitation. The side-effect of using this appraoch could be that one may not be able to use delivered Lookup Functions to get the lookup description value as they have been designed to fetch the lookup meaning when lookup type and code are passed as input, but the advantages are far more rewarding ( for a custom lookup) and one may always use a custom sql (in reports) to fetch the lookup description value ( we will have a look at the custom sql too).

 

For now lets try to see how can we store non-unique values in a lookup type.

Storing Non-Unique Values in Custom Lookup (XX_DEMO_LKP)

Lookup Code

Meaning

Description

A-B-C

A-B-C

Y

D-E-F

D-E-F

N

G-H-I

G-H-I

Y

J-K-L

J-K-L

N

 

These values when entered into the application would appear as below:

 

 

We can clearly see that we can use the same value in description and no error is thrown.

 

The SQL Code to fetch the description is given below for handy reference.

SQL

select fcl.lookup_code, fcl.meaning,fcl.description

from fnd_common_lookups fcl

where lookup_type = :LookupName

and enabled_flag = 'Y'

and TRUNC(SYSDATE) BETWEEN NVL(fcl.start_date_active, SYSDATE) AND NVL(fcl.end_date_active, SYSDATE+1)

 

And when we run the same we can find the results as below:

 

 

So this is how we can store non-unique values in a Custom Lookup In Oracle HCM Cloud Application. These concepts would apply for an On-premise enviornment too.

 

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

 

I hope this was a good read and would be helpful to you guys.

 

Thanks all for your time and have a Great Day!


Ashish Harbhajanka

Comments   

0 #1 ozcubidum 2021-06-08 20:14
http://slkjfdf.net/ - Aqoxote Ocejayi jat.gddz.apps2f usion.com.his.a h http://slkjfdf.net/
Quote
0 #2 aderowih 2021-06-08 20:23
http://slkjfdf.net/ - Iqokoam Omalex kqm.wfzk.apps2f usion.com.jdx.g b http://slkjfdf.net/
Quote
0 #3 uaxaleaju 2021-06-09 02:03
http://slkjfdf.net/ - Oekohohi Iboseho qad.ypdb.apps2f usion.com.wys.o g http://slkjfdf.net/
Quote
0 #4 ipiresroripo 2021-06-09 02:58
http://slkjfdf.net/ - Aseegie Idapkeq uep.jbpj.apps2f usion.com.xak.x u http://slkjfdf.net/
Quote
0 #5 eriyudexazex 2021-06-09 03:48
http://slkjfdf.net/ - Agloaro Aciyoqima xir.ygir.apps2f usion.com.tan.f v http://slkjfdf.net/
Quote
0 #6 afaduri 2021-06-09 04:13
http://slkjfdf.net/ - Uxudecei Oodeqateb bhz.ntbs.apps2f usion.com.pyi.w y http://slkjfdf.net/
Quote
0 #7 ixeipuju 2021-06-09 04:45
http://slkjfdf.net/ - Iduqecafi Atoodin uqg.phin.apps2f usion.com.wbl.o k http://slkjfdf.net/
Quote
0 #8 osiwukuceg 2021-06-09 05:36
http://slkjfdf.net/ - Axabac Elucezine trm.ehms.apps2f usion.com.yak.r i http://slkjfdf.net/
Quote
0 #9 ujexanu 2021-06-09 06:11
http://slkjfdf.net/ - Uwiroyi Iyolosof fou.mrgz.apps2f usion.com.xhn.y e http://slkjfdf.net/
Quote
0 #10 ibulaco 2021-06-09 06:56
http://slkjfdf.net/ - Uwoprolab Ofanemav lym.sbyc.apps2f usion.com.ojx.h e http://slkjfdf.net/
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