Search Results ahl_mc_path_position_pub




Overview

APPS.AHL_MC_PATH_POSITION_PUB is a public PL/SQL API package within the Oracle E-Business Suite Master Configuration (AHL) module, sometimes referred to as Oracle Complex Maintenance, Repair, and Overhaul (CMRO). The package provides the sanctioned programmatic interface for creating Master Configuration Path Positions. A path position represents a discrete step or node along a maintenance or configuration path that belongs to a master configuration header. The package is declared with AUTHID CURRENT_USER, meaning its SQL statements execute under the privileges of the calling schema rather than the package owner, which is consistent with standard EBS public API conventions.

The header comment identifies the package as the public API to create Master Configuration Path Positions and classifies its business entity as AHL_MASTER_CONFIG with a REP scope of public and an active lifecycle status. The package therefore constitutes the supported extension point for customers and integrators who need to insert path position records without invoking the underlying private API directly.

Key Procedures and Functions

The ETRM metadata documents a single public procedure, CREATE_POSITION_ID. Per the embedded comments, this procedure performs user input validation and then delegates to the private API of the same name. Its documented parameters follow the standard EBS API pattern: an API version, an initialization flag for the message stack, a commit flag, and a validation level, together with the standard three return values (return status, message count, and message data). In addition, it accepts a path position table of type AHL_MC_PATH_POSITION_PVT.Path_Position_Tbl_Type, which is required and carries the position data to be created. Two reference parameters, a position reference meaning and a position reference code, are documented as being used when copying positions. The procedure returns the identifier of the newly created path position through its x_position_id out parameter, which is the value most commonly sought by callers searching on "create_position_id."

Tables Accessed

The documented tables referenced through APPS synonyms are AHL_MC_HEADERS_B and PLITBLM. AHL_MC_HEADERS_B is the base table for master configuration headers; because path positions belong to a master configuration, the API reads or validates against this table to confirm the parent configuration to which the position is attached. PLITBLM is the standard EBS temporary storage structure used by PL/SQL APIs to hold message text, which corresponds to the package's use of the standard message stack parameters. Write access to the actual path position table occurs through the private package AHL_MC_PATH_POSITION_PVT, to which this public package delegates.

Usage Notes

This package is intended for programmatic creation of master configuration path positions from custom PL/SQL code, concurrent programs, or integration interfaces. Callers should populate a AHL_MC_PATH_POSITION_PVT.Path_Position_Tbl_Type collection, invoke CREATE_POSITION_ID with the standard API parameters, and inspect x_return_status before proceeding; a value other than FND_API.G_RET_STS_SUCCESS indicates validation or processing failure, in which case the message stack should be drained using the returned message count and data. The p_commit parameter controls transaction control, so callers managing their own transaction should pass FND_API.G_FALSE and commit explicitly. The position reference parameters are relevant when replicating an existing path position. Because the package is not referenced by any other documented package, it is primarily a top-level entry point rather than an internal dependency.