Results for “hr_organization_bk2”

26 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

APPS.HR_ORGANIZATION_BK2 is a generated PL/SQL package body belonging to the Oracle HRMS API Hook Pre-processor framework. Its header comment identifies it as machine-generated code produced by the HRMS API Hook Pre-processor, with the source header string hrorgapi.pkb 120.18 2009/11/05 and a generation timestamp of 2013/08/13. In Oracle EBS 12.1.1 and 12.2.2, the _BK2 suffix denotes a subscription or hook-side implementation of the organization information API. The package exposes business logic that participates in the update of organization information records within the Human Resources (HR) organization model, and it is classified under the ETRM documentation as an OTHER API type owned by the APPS schema.

Its primary business function is to support extension or subscription processing that fires when organization information—governed by ORG_INFORMATION types such as classification, tax identifiers, and other descriptive flexfield-backed attributes—is modified. This enables customers and partners to attach custom logic to the standard organization update flow without modifying Oracle-owned code.

Key Procedures and Functions

The ETRM metadata documents two procedures for this package:

  • UPDATE_ORG_INFORMATION_B — The "B" (before) variant invoked as a pre-processing hook. This procedure is associated with the entry the user searched for, update_org_information_b, and is designed to execute business logic prior to the commit of an organization information update.
  • UPDATE_ORG_INFORMATION_A — The "A" (after) variant invoked as a post-processing hook. The package body source excerpt shows this procedure declares a wide parameter surface, including an effective date, organization information type code, twenty ORG_INFORMATION1 through ORG_INFORMATION20 attributes, the ORG_INFORMATION_ID, an attribute category with twenty ATTRIBUTE1 through ATTRIBUTE20 values, and an OBJECT_VERSION_NUMBER for optimistic locking.

The procedure also declares internal variables l_commit_unit_number and l_legislation_code, indicating that it interacts with the HR commit-unit and legislation context during execution. Parameter lists are not reproduced here; the procedure names and purposes only are cited, consistent with documented metadata.

Tables Accessed

The ETRM metadata does not list specific base tables referenced through APPS synonyms for this package body. The procedure parameter signature—carrying ORG_INFORMATION values plus the OBJECT_VERSION_NUMBER—corresponds to the underlying organization information entity, which in the HRMS data model is persisted in the organization information tables. As a generated hook package, it is expected to read and write the same organization information records processed by its parent API, preserving effective-dating, attribute flexfields, and version control. Because the metadata documents no explicit table list, consumers should treat table access as inherited from the standard HR organization information update logic rather than enumerated here.

Usage Notes

This package is not intended for direct invocation by end users. It is registered as an API hook subscription invoked automatically by the HRMS API framework when the organization information update API is executed, whether from the organization management forms, a concurrent program, or custom PL/SQL that calls the parent organization API. The metadata records that this package is referenced by one other package, confirming its role as a dependent hook rather than an entry point.

The _B and _A suffixes follow the Oracle convention of before-and-after processing points, allowing customizations to run on either side of the core update transaction. Implementation should treat both procedures as framework-managed; modifying the generated code directly is inadvisable, as the header explicitly states it was produced by the API Hook Pre-processor. Any customization should instead be layered through the supported subscription mechanism so regeneration does not overwrite changes.