Search Results pjm_project




Overview

The APPS.PJM_PROJECT package body is a central utility within the Oracle E-Business Suite Project Management (PJM) module. It provides programmatic access to project and task reference data, resolving identifiers, numbers, and names across the Projects and Tasks entities. Its primary purpose is to support validation and translation routines used by Oracle Forms, concurrent programs, and other PL/SQL APIs that must reliably map a user-entered value (a project number or name, or a task number or name) to the corresponding internal identifier, and vice versa.

The package is classified as an "OTHER" API in the ETRM metadata for 12.2.2. It is a VALID package body owned by the APPS schema and exposes eighteen documented procedures and functions. A distinguishing feature is its support for Seiban numbers: the PROJ_OR_SEIBAN routine indicates the package handles both conventional project identifiers and Seiban-controlled project numbering, reflecting the dual numbering conventions used in manufacturing-oriented implementations of Projects.

Key Procedures and Functions

The documented routines fall into three functional groupings. The first group resolves and validates project-level references:

  • PROJ_OR_SEIBAN — Determines whether a given project value corresponds to a standard project or a Seiban-numbered project, enabling callers to apply the correct resolution path.
  • IS_EXP_PROJ — Tests whether a project is an expenditure (expenditure-bearing) project, supporting conditional logic in downstream processing.
  • ALL_PROJ_IDTONUM / ALL_PROJ_IDTONAME — Broad lookups that translate a project identifier into its project number or name without validation constraints.
  • VAL_PROJ_IDTONUM / VAL_PROJ_IDTONAME — Validated equivalents that confirm the project exists and is accessible before returning the number or name.
  • VAL_PROJ_NUMTOID / VAL_PROJ_NAMETOID — Reverse validated lookups converting a project number or project name into its internal project identifier.

The second group mirrors these operations at the task level:

The third group comprises VALIDATE_PROJ_REFERENCES, a consolidated routine that verifies project and task references supplied together, ensuring referential integrity before a calling process commits or proceeds. No parameter lists are documented in the metadata; only the purpose of each routine is asserted here. The package also depends on and reuses itself (PJM_PROJECT) alongside PJM_PROJECT_EXT and several standard utilities.

Tables Accessed

The package reads from the following documented tables and views via APPS synonyms:

Utility dependencies include FND_API, FND_GLOBAL, FND_MESSAGE, FND_MSG_PUB, and STANDARD, which supply error handling, message stacking, and standard API conventions.

Usage Notes

PJM_PROJECT is referenced by 50 other database objects, indicating wide internal consumption across Projects and related modules. It is typically invoked from Oracle Forms when validating a project or task entered by a user, from concurrent programs that must resolve identifiers during batch processing, and from custom PL/SQL extensions requiring reliable project or task name/number translation. Because the validated routines return results only for accessible records, they are appropriate for interactive validation, while the ALL_ variants suit internal processing where existence has already been established. Callers should note the strong dependency chain on FND message utilities, meaning error conditions surface as standard EBS API messages. The package is not referenced by any database object itself, confirming its role as a leaf-level utility consumed by transactional and reporting code rather than a triggering entity.