Search Results cst_prjmfg_acct_hook




Overview

The APPS.CST_PRJMFG_ACCT_HOOK package body is a Cost Management (CST) accounting hook package that integrates Oracle Project Manufacturing (PRJMFG) cost transactions with Subledger Accounting (SLA) in Oracle E-Business Suite 12.1.1 and 12.2.2. Its primary purpose is to provide the accounting engine with the substitution and hook logic required to derive the correct accounting treatment when inventory, work in process (WIP), and project-related manufacturing events flow into the costing and accounting pipeline.

The package is classified in ETRM as an OTHER API, meaning it is not a public, documented interface but an internal hook used by the Cost Management accounting architecture. Its status is VALID and it is owned by the APPS schema, which is typical of EBS seed packages shipped with the application. It sits at the boundary between cost processing and SLA, acting on the metadata-driven hooks that let SLA obtain account information for transactions originating from Project Manufacturing.

Key Procedures and Functions

ETRM documents two procedures or functions within this package body:

  • PM_USE_HOOK_ACCT — Handles the "Use Hook Account" logic for Project Manufacturing cost transactions. It is invoked during the accounting derivation path to determine or apply the appropriate account for a transaction, likely supplying SLA with the correct accounting context for project-manufacturing flows.
  • BLUEPRINT_SLA_HOOK — Implements the SLA "blueprint" hook. In Subledger Accounting terminology, a blueprint defines the set of accounting rules and the sequence in which they are applied. This hook allows the Project Manufacturing costing process to contribute to or adjust the SLA blueprint used to generate journal entries.

Both procedures are internal hooks consumed by the Cost Management or SLA framework; they are not intended for direct invocation by end users or custom code. No parameter lists are documented in ETRM, so the exact interface should be confirmed against the deployed package source before any dependency is introduced.

Tables Accessed

The ETRM metadata records no directly referenced base tables via APPS synonyms for this package body. This is consistent with a hook package whose role is to supply logic to a larger accounting engine rather than to query application data tables directly. The package nonetheless participates indirectly in the read and write of the underlying cost, project, and accounting tables managed by the calling Cost Management and SLA programs.

Usage Notes

Dependencies are minimal and self-contained: the package body references APPS (its own package specification) and the SYS STANDARD package. ETRM further records that CST_PRJMFG_ACCT_HOOK is referenced by one other package but does not itself reference any database object, confirming its role as a leaf-level hook that is called by a parent Cost Management or SLA accounting program.

Typical invocation occurs implicitly during subledger accounting generation for Project Manufacturing transactions, when the cost accounting process calls the hook to obtain blueprint or account substitution logic. It is not exposed through a form or concurrent program by name. Customizations should not call this package directly; instead, customers requiring behavioral changes should use the supported SLA and Cost Management extension mechanisms. Any modification should be validated in a non-production environment, since altering hook logic can affect journal creation for project manufacturing inventories and WIP.