Oracle Fusion Data Intelligence

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Help do find Final discharge location description (FDG Report)

Accepted answer
39
Views
4
Comments
Kauan_Bohn
Kauan_Bohn Rank 5 - Community Champion

I am running a query based on the FDG tables and need information about the FINAL DISCHARGE LOCATION.

Within the table JG_FSCL_DOC_LINES_ALL, we can access the ship_to_location_id field. Is it possible to link it and retrieve the NAME of the FINAL DISCHARGE LOCATION?

The tables I am using in my query are:

  • JG_FSCL_DOC_RELATIONS_ALL JFDRA
  • JG_FSCL_DOC_LINES_ALL JFDLA
  • HZ_PARTY_SITES HPS
  • HZ_LOCATIONS HL
  • HZ_PARTIES
  • FUN_ALL_BUSINESS_UNITS_V FABU
  • RA_CUSTOMER_TRX_ALL RCTA

Thanks!

Best Answer

  • Kauan_Bohn
    Kauan_Bohn Rank 5 - Community Champion
    Answer ✓

    I tried this way in a subselect, and it worked:

    SELECT hl.city
    FROM HZ_LOCATIONS hl
    WHERE hl.location_id = jfdla.FINAL_DISCHARGE_LOCATION_id)

    Thanks for the help!

Answers