Results for “pa_alloc_resources_v”

16 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

PA_ALLOC_RESOURCES_V is a PL/SQL-based view owned by the APPS schema in Oracle E-Business Suite releases 12.1.1 and 12.2.2. It belongs to the PA (Projects) product family and is documented with a VALID status in the ETRM repository. The view exposes the allocation resource definitions maintained by the Oracle Projects cost allocation and burdening functionality. Specifically, it presents the set of resources that participate in an allocation rule, together with the expenditure types that drive both the target and the offset sides of the allocation, the assigned resource percentage, and the exclusion indicator used to suppress allocation for a given member.

The view functions primarily as a reporting and integration surface. Rather than querying PA_ALLOC_RESOURCES directly — a table whose RESOURCE_LIST_MEMBER_ID is a polymorphic identifier that must be translated into a human-readable name — the view resolves that identifier through the PA_ALLOC_UTILS package, returning a truncated resource name suitable for display in concurrent programs, Oracle Discoverer / BI Publisher reports, and outbound interfaces that require a readable listing of allocation rule membership. The "target_expnd_type" column, which is frequently the subject of ad hoc searches, identifies the expenditure type on which the allocation amount is computed.

Underlying Base Objects

The view is defined over two documented referenced objects:

  • PA_ALLOC_RESOURCES (SYNONYM) — the primary base object, aliased ASR in the view definition. It supplies every column other than the derived resource name, including MEMBER_TYPE, RULE_ID, RESOURCE_LIST_MEMBER_ID, TARGET_EXPND_TYPE, OFFSET_EXPND_TYPE, RESOURCE_PERCENTAGE, EXCLUDE_FLAG, and the standard WHO audit columns.
  • PA_ALLOC_UTILS (PACKAGE) — invoked through the function PA_ALLOC_UTILS.RESOURCE_NAME, taking MEMBER_TYPE, RESOURCE_LIST_MEMBER_ID, and RULE_ID as arguments. The returned value is wrapped in SUBSTR(..., 1, 80) to cap the displayed resource name at eighty characters and preserve compatibility with fixed-width report layouts.

Because the join is a scalar function call rather than a relational join, the view performs no aggregation and does not introduce row multiplication. One row in PA_ALLOC_RESOURCES yields exactly one row in the view, with the sole transformation being the derivation and truncation of RESOURCE_NAME. The view also selects ASR.ROWID, which permits positional identification of the underlying base row.

Key Columns

  • MEMBER_TYPE — classifies the resource list member (for example, an organization, an employee, or a job) and governs how PA_ALLOC_UTILS.RESOURCE_NAME interprets the member identifier.
  • RULE_ID — foreign reference to the allocation rule to which the resource belongs; required by the RESOURCE_NAME lookup for rule-specific naming context.
  • RESOURCE_LIST_MEMBER_ID — the polymorphic member identifier whose meaning depends on MEMBER_TYPE.
  • RESOURCE_NAME — derived, truncated resource name returned by PA_ALLOC_UTILS; the principal human-readable attribute of the view.
  • TARGET_EXPND_TYPE — the expenditure type against which allocation is computed (the target or primary expenditure type).
  • OFFSET_EXPND_TYPE — the corresponding offset expenditure type used for the balancing side of the allocation entry.
  • RESOURCE_PERCENTAGE — the share of the allocation base attributed to this member, subject to the overall rule definition.
  • EXCLUDE_FLAG — indicates whether the member is excluded from the allocation.
  • ROW_ID and the WHO columns (CREATED_BY, CREATION_DATE, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN) — audit and identification attributes.

Common Use Cases and Queries

Typical uses include validating allocation rule setup before period processing, reconciling which expenditure types a rule distributes across, and extracting rule membership for audit or migration. A representative query lists all members of a given rule:

  • SELECT rule_id, member_type, resource_name, target_expnd_type, offset_expnd_type, resource_percentage, exclude_flag FROM apps.pa_alloc_resources_v WHERE rule_id = :p_rule_id AND NVL(exclude_flag,'N') = 'N' ORDER BY resource_name;

To identify every rule that touches a particular expenditure type:

  • SELECT rule_id, resource_name, target_expnd_type, offset_expnd_type FROM apps.pa_alloc_resources_v WHERE target_expnd_type = :p_expnd_type OR offset_expnd_type = :p_expnd_type;

Because the view performs a function call per row, queries returning large numbers of allocation members should be filtered by RULE_ID where possible to limit the invocation of PA_ALLOC_UTILS.RESOURCE_NAME and avoid unnecessary full scans of the base synonym.