Search Results get_put_messages
Overview
APPS.PFT_PROFCAL_CUST_PPTILE_PUB is a public PL/SQL package body belonging to the Profitability Management (PFT) module of Oracle Enterprise Business Suite (EBS) Release 12.1.1 / 12.2.2. Its principal business function is to calculate and persist customer-level profit percentiles as part of the Profitability Manager customer profitability analytics. The package reads customer profit results, derives percentile groupings, and writes the outcome to the FEM_CUSTOMER_PROFIT and FEM_CUSTOMER_PERCENTILE_GT target tables registered through the FEM_PL_PKG register_table API. The package declares an object version constant of 1 and follows standard EBS error-handling and FND_LOG instrumentation conventions (statement, procedure, event, exception, error, and unexpected log levels). Execution status is tracked through the constants ERROR_RERUN and SUCCESS, and SQL statement contexts are distinguished using INSERT and UPDATE constants. A default fetch limit of 99999 governs bulk collection of source rows, with an overridable package variable (gv_fetch_limit) supporting controlled batch sizes.
Key Procedures and Functions
The package exposes a single documented public entry point:
- PROCESS_SINGLE_RULE — Processes one defined profitability calculation rule for customer percentile derivation. It evaluates the rule's selection criteria, computes customer profit and percentile results, and applies the appropriate INSERT or UPDATE operation against the registered output tables. On success it returns the SUCCESS execution status; on failure it signals ERROR_RERUN so that the caller or concurrent manager can retry the rule. The procedure is intended to be invoked repeatedly, once per rule, driven by an outer orchestration program.
Supporting logic beyond this public procedure is encapsulated within the package body and is not part of the documented callable interface. Because the metadata documents only one procedure, callers should treat PROCESS_SINGLE_RULE as the sole supported integration point.
Tables Accessed
The documented table references via APPS synonyms are:
- FEM_DIMENSIONS_B — The base dimensions table supplying customer and related dimension identifiers used to resolve the rule's data scope.
- FEM_GLOBAL_VS_COMBO_DEFS — Stores global value set and combination definitions that constrain which dimension combinations apply to a given profitability rule.
- FEM_MP_PROCESS_CTL_T — The processing control table used to track execution state, batching, and completion status for the rule being processed.
- FEM_CUSTOMER_PROFIT and FEM_CUSTOMER_PERCENTILE_GT — Registered output tables that receive inserted or updated customer profit and percentile results.
Usage Notes
PFT_PROFCAL_CUST_PPTILE_PUB is not typically invoked directly from an EBS form. It is called from concurrent program logic and from parent profitability orchestration packages that iterate a set of profitability rules and delegate each rule to PROCESS_SINGLE_RULE. The package is referenced by one other package in the ETRM repository, confirming its role as a subordinate calculation component rather than a top-level user-facing entry point. Custom code integrating with this package should respect the documented execution status contract (SUCCESS versus ERROR_RERUN), allow retry on the error status, and avoid assuming behavior not exposed by the single documented procedure.
-
PACKAGE BODY: APPS.PFT_PROFCAL_CUST_PPTILE_PUB
12.1.1
-
PACKAGE: APPS.FEM_DATAX_LOADER_PKG
12.1.1
-
PACKAGE BODY: APPS.PFT_PPROFCAL_MASTER_PUB
12.1.1
-
PACKAGE BODY: APPS.PFT_PROFCAL_PROSP_IDENT_PUB
12.1.1
-
PACKAGE BODY: APPS.PFT_PROFCAL_RGNCNT_PUB
12.1.1
-
PACKAGE BODY: APPS.PFT_ACCTRELCONS_PUB
12.1.1
-
PACKAGE BODY: APPS.PFT_AR_ENGINE_PVT
12.1.1
-
PACKAGE BODY: APPS.FTP_FILTER_PKG
12.1.1
-
PACKAGE BODY: APPS.PFT_PROFITAGG_PUB
12.1.1
-
PACKAGE BODY: APPS.PFT_PROFCAL_VALIDX_PUB
12.1.1
-
PACKAGE BODY: APPS.FEM_UD_PKG
12.1.1
-
PACKAGE BODY: APPS.FEM_RU_ENGINE_PVT
12.1.1
-
PACKAGE BODY: APPS.FEM_SOURCE_DATA_LOADER_PKG
12.1.1
-
PACKAGE: APPS.FEM_SOURCE_DATA_LOADER_PKG
12.1.1
-
PACKAGE: APPS.FEM_UD_PKG
12.1.1
-
PACKAGE BODY: APPS.FEM_DATAX_LOADER_PKG
12.1.1
-
PACKAGE BODY: APPS.FEM_HIER_LOADER_PKG
12.1.1
-
PACKAGE BODY: APPS.FEM_DIMENSION_MIGRATION_PKG
12.1.1
-
PACKAGE BODY: APPS.FEM_CHECK_BR_DIS_MBRS_PKG
12.1.1
-
APPS.FEM_HIER_LOADER_PKG dependencies on FND_API
12.1.1
-
APPS.PFT_PPROFCAL_MASTER_PUB dependencies on FND_API
12.1.1
-
APPS.FEM_RU_ENGINE_PVT dependencies on FND_API
12.1.1
-
APPS.PFT_ACCTRELCONS_PUB dependencies on FND_API
12.1.1
-
APPS.PFT_AR_ENGINE_PVT dependencies on FND_API
12.1.1
-
APPS.PFT_PROFITAGG_PUB dependencies on FND_API
12.1.1
-
APPS.PFT_PROFCAL_PROSP_IDENT_PUB dependencies on FND_API
12.1.1
-
APPS.PFT_PROFCAL_CUST_PPTILE_PUB dependencies on FND_API
12.1.1
-
APPS.FEM_CHECK_BR_DIS_MBRS_PKG dependencies on FND_MESSAGE
12.1.1
-
APPS.PFT_PROFCAL_VALIDX_PUB dependencies on FND_API
12.1.1
-
APPS.PFT_PROFCAL_RGNCNT_PUB dependencies on FND_API
12.1.1
-
APPS.FEM_UD_PKG dependencies on FEM_DIM_ATTRIBUTES_B
12.1.1
-
APPS.PFT_PROFCAL_PROSP_IDENT_PUB dependencies on FND_MSG_PUB
12.1.1
-
APPS.PFT_PROFCAL_CUST_PPTILE_PUB dependencies on FND_MSG_PUB
12.1.1
-
APPS.PFT_PROFCAL_VALIDX_PUB dependencies on FND_MSG_PUB
12.1.1
-
APPS.FEM_DIMENSION_MIGRATION_PKG dependencies on FND_MSG_PUB
12.1.1
-
APPS.PFT_AR_ENGINE_PVT dependencies on FEM_COMPOSITE_DIM_UTILS_PVT
12.1.1
-
APPS.PFT_AR_ENGINE_PVT dependencies on PFT_AR_ENGINE_PVT
12.1.1
-
APPS.PFT_PROFCAL_RGNCNT_PUB dependencies on FND_MSG_PUB
12.1.1
-
APPS.FEM_RU_ENGINE_PVT dependencies on FEM_COMPOSITE_DIM_UTILS_PVT
12.1.1
-
APPS.FTP_FILTER_PKG dependencies on FND_API
12.1.1
-
APPS.PFT_ACCTRELCONS_PUB dependencies on FND_MSG_PUB
12.1.1
-
APPS.FEM_DIM_MEMBER_LOADER_PKG dependencies on FND_MSG_PUB
12.1.1
-
APPS.FEM_HIER_LOADER_PKG dependencies on FND_MSG_PUB
12.1.1
-
APPS.PFT_AR_ENGINE_PVT dependencies on FND_MSG_PUB
12.1.1
-
APPS.PFT_PROFITAGG_PUB dependencies on FND_MSG_PUB
12.1.1
-
APPS.PFT_PPROFCAL_MASTER_PUB dependencies on FND_MSG_PUB
12.1.1
-
APPS.FEM_RU_ENGINE_PVT dependencies on FND_MSG_PUB
12.1.1
-
APPS.FEM_DATAX_LOADER_PKG dependencies on FEM_DATAX_LOADER_PKG
12.1.1
-
APPS.FEM_CHECK_BR_DIS_MBRS_PKG dependencies on FND_LOG_MESSAGES
12.1.1
-
APPS.FEM_DIMENSION_MIGRATION_PKG dependencies on FEM_ENGINES_PKG
12.1.1