Sunday, July 3, 2022

Query to get Legal Entity Name in Oracle Apps

SELECT hou.name operating_unit_name
      ,xep.name legal_entity_name
  FROM hr_operating_units hou
      ,xle_entity_profiles xep
 WHERE hou.default_legal_context_id = xep.legal_entity_id

No comments:

Post a Comment

Query to get Parent and Child Accounts in Oracle APPS R12

SELECT ffv1.flex_value parent_account       ,ffvt1.description parent_account_desc   ,ffv2.flex_value child_account   ,ffvt2.description...