Saturday, December 28, 2024

SQL Query to get the Contexts for Formula Type in Oracle Fusion

SELECT ft.base_formula_type_name
      ,base_context_name 
  FROM ff_contexts_vl con
      ,ff_ftype_context_usages fcu
  ,ff_formula_types_vl ft
 WHERE ft.formula_type_id = ft.formula_type_id
   AND fcu.formula_type_id = ft.formula_type_id
   AND con.context_id = fcu.context_id
   AND ft.base_formula_type_name = :p_formula_type_name

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...