Search Results x_read_only_flag




Overview

APPS.FEM_DIM_UTILS_PVT is a private (PVT) PL/SQL package body in the Oracle E-Business Suite Financials Enterprise Territory/Profitability Management (ETRM) family of applications, used across releases 12.1.1 and 12.2.2. The package encapsulates low-level utility logic for managing and validating dimension-related metadata within the ETRM data model, particularly dimensions, dimension attributes, dimension groups, and dimension members. It centralizes reusable routines that other, higher-level ETRM packages and forms depend on, rather than exposing them directly as public APIs. The package is documented with 22 procedures and functions and is referenced by one other package, confirming its role as a supporting utility layer. A distinctive element relevant to the search term "x_read_only_flag" is the package's function Get_Dim_Attr_Req_Flag_Access, which computes whether the Required Attribute Flag (and, by extension, related accessibility or read-only controls) may be updated for a dimension's attributes. The accessibility determination is derived dynamically from member table state, so the read-only behavior of the UI reflects the underlying data rather than being hard-coded.

Key Procedures and Functions

The documented routines fall into several functional clusters:

The logic in Get_Dim_Attr_Req_Flag_Access illustrates the utility pattern: it reads the base member table name from FEM_XDIM_DIMENSIONS, dynamically counts members, and returns an access flag that effectively governs whether an attribute flag is read-only or editable.

Tables Accessed

The package reads and writes the core ETRM metadata tables via APPS synonyms:

These tables supply the metadata, member/attribute rows, and responsibility information required for access checks and DML operations.

Usage Notes

FEM_DIM_UTILS_PVT is invoked indirectly rather than by end users. ETRM setup and administration forms call its member and attribute DML routines when users create or modify dimensions, members, and attributes, and the access functions drive dynamic read-only and enable/disable behavior in those forms. The procedure is also called from other ETRM PL/SQL packages (one documented referrer), typically within the same session after a security context has been established. Because it is a private package, customization should avoid direct invocation; instead, use the supported public ETRM APIs. Note the 12.1.1 header references a 120.21.12010000.3 build dated 2008, relevant when reviewing cross-release compatibility in 12.1.1 and 12.2.2.