Search Results amw_constraints_pkg
Overview
AMW_CONSTRAINTS_PKG is an APPS-owned PL/SQL package that supports Oracle Enterprise Asset Management (eAM) constraint maintenance within Oracle E-Business Suite 12.1.1 and 12.2.2. The AMW prefix identifies the module as part of the Asset Management Workbench (eAM) data model. In this context, a "constraint" represents a rule that governs how work orders, work types, and asset activities can be scheduled or executed. The package encapsulates the persistence logic for constraint definitions, providing a controlled interface for inserting, locking, updating, and deleting constraint records in the underlying base and translation tables. It also manages the language-specific translation rows that back the multilingual constraint descriptions. The package is documented under the ETRM repository with an API classification of OTHER, indicating that it is an internal maintenance API rather than a formally published public interface. Its status is VALID in the documented environment. Dependency analysis shows the package relies only on the SYS.STANDARD package at the database level and is itself referenced by AMW_LOAD_CONSTRAINT_DATA, which suggests it functions as part of a seed or bulk-load path for constraint setup data.
Key Procedures and Functions
The documented package exposes five procedures that form a conventional CRUD-and-translation set:
- INSERT_ROW — Creates a new constraint record, writing the base definition row and its associated translation row as required by the eAM data model.
- LOCK_ROW — Acquires a row-level lock on an existing constraint record, typically used to enforce serialized updates within a transaction before modifying the row.
- UPDATE_ROW — Modifies an existing constraint definition, updating the base table row and synchronizing the corresponding translation row.
- DELETE_ROW — Removes a constraint record, including its translation rows, from the tables managed by the package.
- ADD_LANGUAGE — Inserts a new language-specific translation row for an existing constraint, supporting multilingual deployment of constraint descriptions.
The package includes both a specification and a package body, as confirmed by the documented metadata. No parameter lists are published in the available metadata, so callers should inspect the package specification in their environment before direct use.
Tables Accessed
The package operates against four documented objects, accessed through APPS synonyms:
- AMW_CONSTRAINTS_B — The base table holding the constraint definition, including language-independent attributes. This is the primary target of INSERT_ROW, UPDATE_ROW, and DELETE_ROW.
- AMW_CONSTRAINTS_TL — The translation table holding language-specific constraint names and descriptions. It is managed by ADD_LANGUAGE and synchronized by inserts, updates, and deletes.
- AMW_WORK_TYPES_B — The work type base table, referenced to validate or associate constraints with the work types they apply to.
- FND_LANGUAGES — The Oracle Application Object Library languages table, used by ADD_LANGUAGE to validate the language code and to drive translation row creation.
Usage Notes
AMW_CONSTRAINTS_PKG is not intended for direct invocation by end users. It is typically called from the eAM setup forms that maintain constraint definitions, and from AMW_LOAD_CONSTRAINT_DATA, the package that references it for loading constraint data. Customizations that need to create or modify constraints should call the procedures in the package specification rather than performing direct DML on AMW_CONSTRAINTS_B and AMW_CONSTRAINTS_TL, because the package maintains the required consistency between base and translation rows and the locking semantics. The documented dependency set is deliberately narrow, relying only on SYS.STANDARD and the four APPS tables, which limits side effects and makes the package suitable for controlled batch loading. In 12.2.2 the online patching (adop) model does not alter the package logic, but the APPS synonym resolution and editioning behavior should be considered when invoking the package from custom code. All usage should be validated against the specific patch level in the target environment.
-
PACKAGE: APPS.AMW_CONSTRAINTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMW_CONSTRAINTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.AMW_CONSTRAINTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMW_CONSTRAINTS_PKG, status:VALID,
-
SYNONYM: APPS.AMW_CONSTRAINTS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_CONSTRAINTS_TL, status:VALID,
-
SYNONYM: APPS.AMW_CONSTRAINTS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_CONSTRAINTS_B, status:VALID,
-
PACKAGE: APPS.AMW_CONSTRAINTS_PKG
12.1.1
-
SYNONYM: APPS.AMW_WORK_TYPES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_WORK_TYPES_B, status:VALID,
-
PACKAGE BODY: APPS.AMW_LOAD_CONSTRAINT_DATA
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMW_LOAD_CONSTRAINT_DATA, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.AMW_CONSTRAINTS_PKG
12.1.1
-
APPS.AMW_LOAD_CONSTRAINT_DATA dependencies on AMW_CONSTRAINTS_PKG
12.1.1
-
APPS.AMW_CONSTRAINTS_PKG dependencies on AMW_CONSTRAINTS_PKG
12.1.1
-
SYNONYM: APPS.FND_LANGUAGES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_LANGUAGES, status:VALID,
-
PACKAGE: APPS.APP_EXCEPTION
12.1.1
owner:APPS, object_type:PACKAGE, object_name:APP_EXCEPTION, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,