Search Results msg_pub




Overview

APPS.AMS_ACTMETRIC_PVT is a private PL/SQL package body in the Oracle E-Business Suite (EBS) Marketing (AMS) module, classified as a PVT (private) API. It implements the business logic for activity metrics — the measurable outcomes associated with marketing activities such as campaigns, events, deliverables, and offers. Activity metrics capture quantities, costs, and forecasted versus actual values that marketing users track against an activity, and this package is the engine that creates, validates, persists, and maintains those records.

The package acts as the internal implementation layer behind the public activity-metric API surface. It provides record initialization, validation, insertion, update, deletion, locking, currency conversion, cost posting, and rollup maintenance routines. Because it is an internal package, it is not intended to be called directly by external integrations; instead it is invoked by the higher-level AMS public APIs and concurrent processes that manage the activity metric lifecycle. The package body is documented as VALID and references 9+ sibling AMS packages, confirming its role as a hub for activity-metric processing.

Key Procedures and Functions

The package exposes 32 documented procedures and functions covering the full metric record lifecycle:

Tables Accessed

Usage Notes

AMS_ACTMETRIC_PVT is invoked indirectly. Marketing forms and the public AMS activity APIs call into this package to persist metric changes, while concurrent programs such as cost rollup, currency synchronization, and budget reconciliation jobs invoke the posting and invalidation routines. It also depends on FND_API, FND_MSG_PUB, FND_MESSAGE, and JTF_PLSQL_API, indicating that it uses the standard EBS error-handling and message stack rather than raising raw Oracle errors. Custom code should target the public AMS APIs rather than this PVT package, since its signature and internal calls are subject to change across 12.1.1 and 12.2.2. Developers extending activity metrics should reuse the validation and currency-conversion routines to preserve rollup integrity.