BI Report, Business Intelligence Report,, Enterprise structure, Oracle Fusion, Oracle Fusion Finance, security

Legal Entity Query in Oracle Fusion Finance

IF you are in hurry to find out the legal entity (LE) details, query is:
select LEGAL_ENTITY_ID, LEGAL_ENTITY_IDENTIFIER, NAME
from xle_entity_profiles

In case you need to find the relationship of LE with other objects in Fusion, try out these posts.

Fusion LoV Queries: LE, Business Unit, Inventory, Sub Inventory
Business Unit – LE – Ledger/ set of Books Relationship Query

But if got a moment, let me give you some background. At a high level, this is how the enterprise structure looks like in Fusion:

Enterprise structure and Position of Legal Entity
Enterprise structure and Position of Legal Entity

As you can see that every enterprise can have multiple legal entities. And then each LE can have multiple Business Units attached. so if you need to find the legal entity of the Business Unit, here is your query:

select legEnt.name LE_NAME, hou.name BU_Name
from
xle_entity_profiles legEnt ,
hr_operating_units hou
where 1=1
and hou.DEFAULT_LEGAL_CONTEXT_ID(+) = legEnt.LEGAL_ENTITY_ID

As you can see an outer join has been used, means a LE can live without having a BU attached to it.

Want to give back to the society? (Do you have something which you think can be used by folks working on Oracle world wide?) Then Click here, share your email id and a brief description of the topic. And keep your photo and the content ready.

By the way, Here ( India) or Here ( Other Geographies) are few UNCONVENTIONAL tricks which I have learnt to improve the performance of BI reports. Try them only when nothing else works.. kind of SOS...
https://www.amazon.in/gp/product/B093CC1CLD?ie=UTF8&tag=oraclebytes-21&camp=3638&linkCode=xm2&creativeASIN=B093CC1CLD

Related posts:
Fusion LoV Queries: LE, Business Unit, Inventory, Sub Inventory
Business Unit – Legal Entity – Ledger/ set of Books Relationship Query

Feedback:
Hope the article helped you. If it did, please rate the post. In case it didn’t, do leave a comment to let us know what did we miss.

Reference:
support.oracle.com

 

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 3

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?