Search Results eam_pmdef_pub_w
Overview
The APPS.EAM_PMDEF_PUB_W package body is a public wrapper package within the Oracle Enterprise Asset Management (EAM) module of Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2. It serves as the procedural interface for managing Preventive Maintenance (PM) definitions — the templates that drive automatic generation of work orders for scheduled maintenance activities on assets. The package encapsulates the business logic required to create, update, and validate PM definitions, including the scheduling rules (day intervals, runtime rules, and list-based date rules) that govern when maintenance work should be triggered.
The "_W" suffix indicates this is a public wrapper (or "web" wrapper) package, a standard EBS convention for exposing PL/SQL logic to the middle tier and to Java-based or form-based clients. It is classified under the ETRM API category "OTHER" and is marked VALID in the APPS schema. It is not referenced by any other database object, meaning it is a top-level entry point invoked directly by external callers rather than being a dependency of other PL/SQL units.
Key Procedures and Functions
The package exposes 25 documented procedures and functions grouped into three functional areas:
- Instantiation logic:
INSTANTIATE_PM_DEFSis the core routine that takes PM definitions and generates the corresponding EAM work order instances. It relies on date and number collection types (JTF_DATE_TABLE,JTF_NUMBER_TABLE,JTF_VARCHAR2_TABLE_100) for bulk processing. - Definition maintenance:
CREATE_PM_DEFandUPDATE_PM_DEFhandle the persistence of new and modified PM definitions. - Validation routines: A comprehensive set of validators —
VALIDATE_PM_HEADER,VALIDATE_PM_DAY_INTERVAL_RULE,VALIDATE_PM_RUNTIME_RULE,VALIDATE_PM_LIST_DATE,VALIDATE_PM_DAY_INTERVAL_RULES,VALIDATE_PM_RUNTIME_RULES,VALIDATE_PM_LIST_DATE_RULES,VALIDATE_PM_HEADER_AND_RULES, andVALIDATE_PM_ACTIVITY— enforce data integrity on scheduling attributes before a definition is committed or instantiated. - Rosetta table copy utilities: The
ROSETTA_TABLE_COPY_IN_P2/P4/P6/P8andROSETTA_TABLE_COPY_OUT_P2/P4/P6/P8routines provide marshalling of PL/SQL table data at varying sizes, a pattern used by EBS wrapper packages to expose collection parameters across JDBC/Java boundaries.
Tables Accessed
The documented dependency set shows PLITBLM (reference via the APPS synonym), which is the standard Oracle PL/SQL integer-indexed table type used for bulk DML. The underlying persistent EAM PM tables (such as EAM_PM_DEFINITIONS and its child rule tables) are accessed indirectly through the base package EAM_PMDEF_PUB, which this wrapper depends on. Additional dependencies include EAM_OBJECTINSTANTIATION_PUB and EAM_OBJECTINSTANTIATION_PUB_W, confirming that instantiation of PM definitions is delegated to the object-instantiation API rather than being handled directly here.
Usage Notes
As a public wrapper, EAM_PMDEF_PUB_W is typically invoked from EAM forms, concurrent programs, or Java middle-tier services rather than from end-user SQL*Plus scripts. Custom code should call this package when programmatically creating PM definitions or triggering PM instantiation, relying on the validation routines to enforce rule correctness. Because the package is not referenced by any other database object, it is safe to treat as a stable, externally-facing API surface. Developers should avoid bypassing the validators and should be aware that the wrapper delegates heavy lifting to EAM_PMDEF_PUB, so errors surfaced will originate from the base package. In 12.1.1 and 12.2.2 the package is VALID and carries no known invalidation issues.
-
PACKAGE BODY: APPS.EAM_PMDEF_PUB_W
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_PMDEF_PUB_W, status:VALID,
-
PACKAGE: APPS.EAM_PMDEF_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EAM_PMDEF_PUB, status:VALID,
-
PACKAGE BODY: APPS.EAM_PMDEF_PUB_W
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EAM_PMDEF_PUB_W, status:VALID,
-
PACKAGE: APPS.EAM_PMDEF_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_PMDEF_PUB, status:VALID,
-
PACKAGE: APPS.EAM_PMDEF_PUB_W
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EAM_PMDEF_PUB_W, status:VALID,
-
PACKAGE: APPS.EAM_PMDEF_PUB_W
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_PMDEF_PUB_W, status:VALID,
-
PACKAGE: APPS.EAM_OBJECTINSTANTIATION_PUB_W
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EAM_OBJECTINSTANTIATION_PUB_W, status:VALID,
-
PACKAGE: APPS.EAM_OBJECTINSTANTIATION_PUB_W
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_OBJECTINSTANTIATION_PUB_W, status:VALID,
-
PACKAGE: APPS.EAM_OBJECTINSTANTIATION_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EAM_OBJECTINSTANTIATION_PUB, status:VALID,
-
PACKAGE: APPS.EAM_OBJECTINSTANTIATION_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EAM_OBJECTINSTANTIATION_PUB, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.EAM_PMDEF_PUB_W
12.1.1
-
PACKAGE: APPS.EAM_PMDEF_PUB_W
12.2.2
-
APPS.EAM_PMDEF_PUB_W dependencies on EAM_PMDEF_PUB_W
12.2.2
-
APPS.EAM_PMDEF_PUB_W dependencies on EAM_PMDEF_PUB_W
12.1.1
-
APPS.EAM_PMDEF_PUB_W dependencies on EAM_PMDEF_PUB
12.1.1
-
APPS.EAM_PMDEF_PUB_W dependencies on EAM_PMDEF_PUB
12.2.2
-
PACKAGE BODY: APPS.EAM_PMDEF_PUB_W
12.1.1
-
TYPE: APPS.JTF_DATE_TABLE
12.1.1
owner:APPS, object_type:TYPE, object_name:JTF_DATE_TABLE, status:VALID,
-
PACKAGE BODY: APPS.EAM_PMDEF_PUB_W
12.2.2
-
TYPE: APPS.JTF_DATE_TABLE
12.2.2
owner:APPS, object_type:TYPE, object_name:JTF_DATE_TABLE, status:VALID,
-
TYPE: APPS.JTF_VARCHAR2_TABLE_100
12.1.1
owner:APPS, object_type:TYPE, object_name:JTF_VARCHAR2_TABLE_100, status:VALID,
-
TYPE: APPS.JTF_VARCHAR2_TABLE_100
12.2.2
owner:APPS, object_type:TYPE, object_name:JTF_VARCHAR2_TABLE_100, status:VALID,
-
TYPE: APPS.JTF_NUMBER_TABLE
12.1.1
owner:APPS, object_type:TYPE, object_name:JTF_NUMBER_TABLE, status:VALID,
-
TYPE: APPS.JTF_NUMBER_TABLE
12.2.2
owner:APPS, object_type:TYPE, object_name:JTF_NUMBER_TABLE, status:VALID,
-
APPS.EAM_PMDEF_PUB_W dependencies on EAM_PMDEF_PUB
12.2.2
-
APPS.EAM_PMDEF_PUB_W dependencies on EAM_PMDEF_PUB
12.1.1
-
APPS.EAM_PMDEF_PUB_W dependencies on JTF_VARCHAR2_TABLE_100
12.2.2
-
APPS.EAM_PMDEF_PUB_W dependencies on JTF_VARCHAR2_TABLE_100
12.1.1
-
APPS.EAM_PMDEF_PUB_W dependencies on JTF_DATE_TABLE
12.1.1
-
APPS.EAM_PMDEF_PUB_W dependencies on JTF_DATE_TABLE
12.2.2
-
APPS.EAM_PMDEF_PUB_W dependencies on JTF_NUMBER_TABLE
12.1.1
-
APPS.EAM_PMDEF_PUB_W dependencies on JTF_NUMBER_TABLE
12.2.2
-
APPS.EAM_PMDEF_PUB_W dependencies on JTF_NUMBER_TABLE
12.2.2
-
APPS.EAM_PMDEF_PUB_W dependencies on JTF_NUMBER_TABLE
12.1.1
-
SYNONYM: PUBLIC.PLITBLM
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,