Sign Up

Sign Up to our social questions and Answers to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In


Have an account? Sign In Now

Sign In

Login to our social questions & Answers to ask questions, answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Sorry, you do not have permission to add post.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Oraask Logo Oraask Logo
Sign InSign Up

Oraask

  • Write
    • Add A New Post
    • Ask A Question

Oraask Navigation

Search
Ask A Question

Mobile menu

Close
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Dev Tools
    • Online Compiler
    • Base64 Converter
  • Wiki
    • SQL Tutorials
    • Java Tutorials
    • Python Tutorials
    • JavaScript Tutorials
Home/ Questions/Q 82865
Next
In Process

Oraask Latest Questions

Question
Saly
  • 0
  • 0
SalyExplorer
Asked: July 24, 20242024-07-24T11:52:49+03:00 2024-07-24T11:52:49+03:00In: Oracle Fusion Queries

Query to Get Business Units in Oracle Fusion

  • 0
  • 0

Need some help to get business unit information using BI query in Oracle fusion

1
  • 1 1 Answer
  • 14 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    Related Questions

    • Query to Get Oracle Fusion Users and their Attached Roles
    • How can I write an SQL query to fetch BPM tasks information in Oracle Fusion?
    • What is Inventory Item Table in Oracle Fusion

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. Saly
      Saly Explorer
      2024-07-24T12:00:41+03:00Added an answer on July 24, 2024 at 12:00 pm

      Find below a query to get business unit information’s like (Name, Effective Date, Is it enabled for HR, etc..)

      /* - Query to get Business Units informations in oracle Fusion
         - Prepared by: Hassan for Oraask.com
       */
      
      SELECT
      haotl.NAME BU_NAME,
      hao.LOCATION_ID LOCATION_ID,
      haotl.BUSINESS_GROUP_ID BUSINESS_GROUP_ID,
      haotl.EFFECTIVE_START_DATE DATE_FROM,
      haotl.EFFECTIVE_END_DATE DATE_TO,
      hoi.ORG_INFORMATION1 MANAGER_ID,
      hoi.ORG_INFORMATION2 LEGAL_ENTITY_ID,
      hoi.ORG_INFORMATION3 PRIMARY_LEDGER_ID,
      hoi.ORG_INFORMATION4 DEFAULT_SET_ID,
      haotl.NAME SHORT_CODE,
      hoi.ORG_INFORMATION6 ENABLED_FOR_HR_FLAG,
      hoi.ORG_INFORMATION7 FIN_BUSINESS_UNIT_ID,
      hoi.ORG_INFORMATION8 DEFAULT_CURRENCY_CODE,
      hoi.ORG_INFORMATION9 PROFIT_CENTER_FLAG
      FROM
      HR_ALL_ORGANIZATION_UNITS_F hao,
      HR_ORGANIZATION_UNITS_F_TL haotl,
      HR_ORG_UNIT_CLASSIFICATIONS_F houc,
      hr_organization_information_f hoi
      WHERE
      hao.ORGANIZATION_ID = haotl.ORGANIZATION_ID
      AND houc.ORGANIZATION_ID = haotl.ORGANIZATION_ID
      AND houc.CLASSIFICATION_CODE = 'FUN_BUSINESS_UNIT'
      AND hoi.ORGANIZATION_ID = haotl.ORGANIZATION_ID
      AND hoi.ORG_INFORMATION_CONTEXT = houc.CLASSIFICATION_CODE
      AND TRUNC(SYSDATE) BETWEEN haotl.EFFECTIVE_START_DATE AND haotl.EFFECTIVE_END_DATE
      AND haotl.LANGUAGE = USERENV('LANG')
      AND haotl.EFFECTIVE_START_DATE = hao.EFFECTIVE_START_DATE
      AND haotl.EFFECTIVE_END_DATE = hao.EFFECTIVE_END_DATE
      ORDER BY
      BU_NAME

      hope this helpful

        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    Sidebar

    Adv 250x250

    Explore

    • Categories
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Dev Tools
      • Online Compiler
      • Base64 Converter
    • Wiki
      • SQL Tutorials
      • Java Tutorials
      • Python Tutorials
      • JavaScript Tutorials

    Footer

    Oraask

    About

    Oraask is a website for developers and software engineers who want to learn new skills, share their knowledge, and solve their coding problems. Oraask provides free content on various programming languages and topics, such as Oracle, Python, Java, etc. Oraask also allows users to ask questions and get answers from other members of the community.

    About Us

    • About Us
    • Contact Us

    Legal Stuff

    • Privacy Policy
    • Terms & Conditions

    Follow

    Oraask is licensed under CC BY-NC-SA 4.0Oraask CopyrightOraask CopyrightOraask CopyrightOraask Copyright

    © 2019 Oraask. All Rights Reserved
    With Love by Oraask.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.