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 75147
Next
In Process

Oraask Latest Questions

Question
kenDonald
  • 0
  • 0
kenDonaldJunior
Asked: September 14, 20212021-09-14T21:16:04+03:00 2021-09-14T21:16:04+03:00In: Oracle EBS Queries

Query To Find Operating Unit And Corresponding Inventory Organizations Details in Oracle Apps R12

  • 0
  • 0

Hello Guys, I need a query please to find all operating units and all underneath inventory organizations in Oracle EBS R12

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

    Related Questions

    • How to Initialize Oracle APPS session using SQL Developer
    • Return to Vendor Tables in Oracle APPS R12
    • Query to Get Supplier Details in Oracle APPS R12
    • Query to get posted AP invoice in Oracle APPS R12
    • Query to Get Chart of Account Description in Oracle APPS R12

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. andy.haack
      andy.haack Junior
      2023-02-18T15:25:30+03:00Added an answer on February 18, 2023 at 3:25 pm
      This answer was edited.

      You can use the following SQL from the GL Ledgers and Organizations using blitz report

      SELECT HAOUV.NAME BUSINESS_GROUP
      , (SELECT DISTINCT LISTAGG (GL0.NAME, ', ') WITHIN GROUP (ORDER BY GL0.NAME) OVER (PARTITION BY GLSNAV.LEDGER_ID) LEDGER_SET
      FROM GL_LEDGER_SET_NORM_ASSIGN_V GLSNAV, GL_LEDGERS GL0
      WHERE GL.LEDGER_ID = GLSNAV.LEDGER_ID
      AND GLSNAV.LEDGER_SET_ID = GL0.LEDGER_ID)
      LEDGER_SET
      ,GL.NAME LEDGER
      ,XXEN_UTIL.MEANING (GL.LEDGER_CATEGORY_CODE, 'GL_ASF_LEDGER_CATEGORY', 101) LEDGER_CATEGORY
      ,GL.CURRENCY_CODE CURRENCY
      ,FIFSV.ID_FLEX_STRUCTURE_NAME CHART_OF_ACCOUNTS_NAME
      ,HOU.NAME OPERATING_UNIT
      ,OOD.ORGANIZATION_CODE
      ,OOD.ORGANIZATION_NAME ORGANIZATION
      ,FTV.TERRITORY_SHORT_NAME COUNTRY
      ,XEP.NAME LEGAL_ENTITY
      ,GL.LEDGER_ID
      ,FIFSV.ID_FLEX_STRUCTURE_CODE CHART_OF_ACCOUNTS_CODE
      ,GL.CHART_OF_ACCOUNTS_ID
      ,OOD.OPERATING_UNIT OPERATING_UNIT_ID
      ,OOD.ORGANIZATION_ID
      FROM GL_LEDGERS GL
      ,FND_ID_FLEX_STRUCTURES_VL FIFSV
      ,HR_OPERATING_UNITS HOU
      ,HR_ALL_ORGANIZATION_UNITS_VL HAOUV
      ,ORG_ORGANIZATION_DEFINITIONS OOD
      ,HR_ALL_ORGANIZATION_UNITS HAOU
      ,HR_LOCATIONS_ALL HLA
      ,FND_TERRITORIES_VL FTV
      ,XLE_ENTITY_PROFILES XEP
      WHERE NVL (OOD.DISABLE_DATE, SYSDATE) >= SYSDATE
      AND NVL (HOU.DATE_TO, SYSDATE) >= SYSDATE
      AND NVL (OOD.DISABLE_DATE, SYSDATE) >= SYSDATE
      AND NVL (HOU.DATE_TO, SYSDATE) >= SYSDATE
      AND GL.OBJECT_TYPE_CODE = 'L'
      AND GL.CHART_OF_ACCOUNTS_ID = FIFSV.ID_FLEX_NUM
      AND FIFSV.APPLICATION_ID = 101
      AND FIFSV.ID_FLEX_CODE = 'GL#'
      AND GL.LEDGER_ID = HOU.SET_OF_BOOKS_ID(+)
      AND HOU.BUSINESS_GROUP_ID = HAOUV.ORGANIZATION_ID(+)
      AND HOU.ORGANIZATION_ID = OOD.OPERATING_UNIT(+)
      AND OOD.ORGANIZATION_ID = HAOU.ORGANIZATION_ID(+)
      AND HAOU.LOCATION_ID = HLA.LOCATION_ID(+)
      AND HLA.COUNTRY = FTV.TERRITORY_CODE(+)
      AND OOD.LEGAL_ENTITY = XEP.LEGAL_ENTITY_ID(+)
      ORDER BY CHART_OF_ACCOUNTS_NAME
      ,LEDGER_SET
      ,BUSINESS_GROUP
      ,LEDGER
      ,CURRENCY
      ,OPERATING_UNIT
      ,COUNTRY
      ,ORGANIZATION_CODE
        • 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.