Search Results new_txns




Overview

The APPS.PA_ALLOC_OFFSET_PROJECTS_V view is a lightweight, purpose-built Oracle E-Business Suite database object that exposes a filtered list of projects eligible to receive allocation offset entries. It is defined in the Projects (PA) module and belongs to the APPS schema, the standard ownership model for Oracle EBS seed data. Rather than storing information, the view dynamically derives its result set at query time by combining project master attributes with a status-validation function call. This makes it a real-time, security- and status-aware access point for downstream logic in allocations processing and reporting.

The defining characteristic of the view is its use of the NEW_TXNS action code. Only projects whose current project status permits the creation of new transactions — as evaluated at runtime by PA_PROJECT_UTILS.CHECK_PRJ_STUS_ACTION_ALLOWED — are returned. Because the status check is dynamic, the view reflects status changes immediately without any data maintenance. This is significant in an allocations context, where offset projects must be transaction-eligible for the allocation run to succeed.

Underlying Base Objects

The view is defined over a single base table with a supporting package, both documented in the ETRM metadata for 12.2.2 (and consistent with 12.1.1):

  • PA_PROJECTS (SYNONYM) — the Projects module's master project table, referenced by alias PAP. The view selects project_id, segment1, name, and org_id from this table and applies the template_flag restriction.
  • PA_PROJECT_UTILS (PACKAGE) — a Projects utility package. Its function CHECK_PRJ_STUS_ACTION_ALLOWED is invoked inline in the WHERE clause, passing the project's status code and the action code 'NEW_TXNS'.

There are no joins to additional tables; the view is essentially a parameters-plus-status-filter projection of PA_PROJECTS. The package call acts as a predicate that transposes PA_PROJECTS status configuration into a simple eligibility filter.

Key Columns

  • PROJECT_ID — the primary key of the project in PA_PROJECTS, used by callers to reference the offset project unambiguously.
  • SEGMENT1 — the user-visible project number; the natural business key displayed and searched in Projects forms.
  • NAME — the project name as defined on the project definition.
  • ORG_ID — the operating unit identifier, enabling multi-org (MOAC) filtering by operating unit.

Notably absent is any explicitly projected status column; eligibility is expressed as a filter, not an output attribute. Exclusions beyond status are limited to TEMPLATE_FLAG <> 'Y', which removes project templates from consideration.

Common Use Cases and Queries

The view is typically used to populate selection lists for offset projects in allocation definitions or to validate a chosen offset project before processing. A straightforward query retrieves all eligible projects for an operating unit:

  • SELECT project_id, segment1, name, org_id FROM apps.pa_alloc_offset_projects_v WHERE org_id = :p_org_id ORDER BY segment1;

Callers may also look up a specific project by number:

  • SELECT project_id, name FROM apps.pa_alloc_offset_projects_v WHERE segment1 = :p_project_number;

Because the NEW_TXNS predicate is evaluated at runtime, a project excluded today due to a closed or non-transactional status may appear once its status again permits new transactions. Querying the view is therefore always current, and no results should be cached across status changes. Applications integrating offset-project selection should resolve records through this view rather than PA_PROJECTS directly, ensuring consistency with the same NEW_TXNS rule enforced by Oracle allocations.