Search Results validate_proj_references
Overview
APPS.PJM_PROJECT_EXT is an extension hook package in the Oracle E-Business Suite Projects module. Its role is to provide a controlled customization point where implementers can add project reference validation logic that executes in addition to, and after, the standard validation performed by the core Projects APIs. The package is deliberately a stub in its shipped form: the source header (PJMPRJXB.pls, version 115.3, dated 2003/07/24) indicates that it has remained a lightweight template rather than a functional component of standard processing. This design pattern allows Oracle to reserve a documented, upgrade-safe extension slot without embedding customer-specific rules in the base product. Sites that require additional validation on project and task references across inventory and operating unit contexts can implement those rules without modifying Oracle-owned code.
Key Procedures and Functions
The package body exposes a single documented program unit: VALIDATE_PROJ_REFERENCES, implemented as a function that returns a VARCHAR2 status value. Its purpose is to receive a set of reference attributes describing the transaction context — including an inventory organization identifier, an operating unit, a project identifier, a task identifier, and two date values — together with the name of the calling function and an output error code parameter. Based on the returned value, the caller determines whether processing continues, fails, or proceeds with a warning.
The shipped implementation contains no validation logic; it immediately returns PJM_PROJECT.G_VALIDATE_SUCCESS. The embedded comments direct implementers to add their own checks and to use three package-level constants from PJM_PROJECT as return values: G_VALIDATE_SUCCESS for a clean pass, G_VALIDATE_FAILURE for conditions that should halt processing, and G_VALIDATE_WARNING for conditions that should be surfaced but not block the transaction. The X_ERROR_CODE output parameter carries the message or code associated with a failure or warning result.
Tables Accessed
The ETRM metadata for this package lists no tables referenced through APPS synonyms. This is consistent with the shipped stub, which performs no DML or queries. Any table access would be introduced only by customer-specific validation logic added to the function body. Implementers typically query project and task definition tables, organization and operating unit setup views, and related Projects entities to verify that the supplied references are valid for the given context. Because such queries are custom, they should be written with attention to the operating unit and organization identifiers passed in, and should avoid introducing unnecessary dependencies on internal Projects tables whose structure may change between releases.
Usage Notes
PJM_PROJECT_EXT is invoked indirectly by the core Projects validation machinery. The ETRM metadata records that the package is referenced by one other package, meaning the entry point is a call from Oracle-owned code rather than from a form or concurrent program directly. The function is documented to execute after the standard validations have completed, so custom logic can assume that basic reference checks have already succeeded. The presence of the X_calling_function parameter allows a single implementation to branch based on which business flow triggered validation — for example, a transaction originating from inventory versus one originating from a projects form. Typical adoption occurs during implementation or upgrade projects where a site must enforce additional rules on project and task references. Oracle EBS 12.1.1 and 12.2.2 both support this extension point; the package source is unchanged between the two releases as evidenced by the file version. Customizations should preserve the documented return conventions and populate X_error_code appropriately so that calling code can present meaningful messages to the user.
-
PACKAGE BODY: APPS.PJM_PROJECT_EXT
12.1.1
-
PACKAGE BODY: APPS.PJM_PROJECT_EXT
12.2.2
-
PACKAGE: APPS.PJM_PROJECT_EXT
12.2.2
-
PACKAGE: APPS.PJM_PROJECT_EXT
12.1.1
-
PACKAGE: APPS.PJM_PROJECT
12.1.1
-
PACKAGE: APPS.PJM_PROJECT
12.2.2
-
PACKAGE BODY: APPS.PJM_PROJECT
12.1.1
-
PACKAGE BODY: APPS.PJM_PROJECT
12.2.2
-
APPS.PJM_PROJECT_EXT dependencies on PJM_PROJECT_EXT
12.1.1
-
APPS.PJM_PROJECT_EXT dependencies on PJM_PROJECT_EXT
12.2.2
-
APPS.PJM_PROJECT_EXT dependencies on PJM_PROJECT
12.1.1
-
APPS.PJM_PROJECT_EXT dependencies on PJM_PROJECT
12.2.2
-
APPS.PJM_PROJECT dependencies on PJM_PROJECT
12.1.1
-
APPS.PJM_PROJECT dependencies on PJM_PROJECT
12.2.2
-
APPS.PJM_PROJECT dependencies on FND_MSG_PUB
12.1.1
-
APPS.PJM_PROJECT dependencies on FND_MSG_PUB
12.2.2