Search Results validate_pm_day_interval_rule




Overview

APPS.EAM_PMDEF_PUB is the public PL/SQL API package for Preventive Maintenance (PM) definition management within Oracle Enterprise Asset Management (EAM). It provides the programmatic interface through which PM schedules, PM activities, and their associated scheduling rules are created, validated, instantiated, and maintained against asset counters and maintenance work orders. The package operates as a public (PUB) API, meaning its procedures are intended to be called from external consumers such as Oracle Forms, concurrent programs, other EAM utilities, and customer-written extensions, rather than being restricted to internal package use.

Its central responsibility is the transition from a defined PM template (the PM definition, including day-interval rules, runtime rules, and list-date rules) to concrete, executable PM schedulings attached to specific assets and meters. This is achieved through theINSTANTIATE_PM_DEF and INSTANTIATE_PM_DEFS procedures, which bridge the EAM PM definition layer and the scheduling layer. The package depends on the FND_API foundation package for standard API error handling, message stacking, and transaction control conventions, and it references the EAM_OBJECTINSTANTIATION_PUB package, which is closely related to the user's search term, indicating that PM instantiation is coordinated with the broader EAM object instantiation framework.

Key Procedures and Functions

The 21 documented procedures and functions fall into several functional groups:

No parameter signatures are documented in the ETRM metadata; callers should consult the package specification directly for exact parameter lists and return types.

Tables Accessed

The package reads and writes through APPS synonyms across the following documented tables:

Usage Notes

EAM_PMDEF_PUB is referenced by EAM_METERS_UTIL, EAM_OBJECTINSTANTIATION_PUB, EAM_PMDEF_PUB_W, and additional wrapper packages, confirming its role as a shared service called during meter processing and object instantiation. It is typically invoked from Oracle Forms in the Enterprise Asset Management module when users create, update, or instantiate PM definitions, from concurrent programs that automate PM scheduling generation, and from custom PL/SQL extensions. Because it follows the FND_API public API standard, callers must initialize the API context, check the returned x_return_status, and persist or roll back according to the API contract; direct DML against the underlying EAM_PM_* tables should be avoided in favor of this documented API.