Results for “lock_calc_dct2”
4 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.PAY_JP_ISDF_DML_PKG is a Japan-specific Oracle EBS payroll package that supports the data management layer for the Internal Social Data and Definition Forms (ISDF) functionality. It handles insert, update, and locking operations against the PAY_ACTION_INFORMATION entity and its associated Japanese statutory classification records, including pension, life insurance, non-life insurance, social insurance, mutual aid, and spouse-related data. The package is classified as an OTHER API, indicating it is not a public Oracle-delivered interface but an internal component invoked by the ISDF forms and dependent packages within the Japanese localization of Oracle Payroll. It is documented for release 12.2.2 and is compatible with the 12.1.1 and 12.2.2 code lines.
Key Procedures and Functions
The package exposes 51 documented procedures and functions. The following are representative of the documented interface.
- NEXT_ACTION_INFORMATION_ID — function returning the next sequence value used as the primary key for new PAY_ACTION_INFORMATION rows.
- LOCK_PACT — obtains a pessimistic lock on the pension/pact record identified by action information ID and object version number, returning the row via a NOCopy OUT parameter.
- LOCK_ASSACT — locks the associated asset/action record.
- LOCK_EMP — locks the employee-level action information row.
- LOCK_ENTRY — locks the entry detail row.
- LOCK_CALC_DCT and LOCK_CALC_DCT2 — lock calculation deduction records.
- LOCK_LIFE_GEN, LOCK_LIFE_PENS, LOCK_NONLIFE — lock general life insurance, life pension, and non-life insurance rows respectively.
- LOCK_SOCIAL, LOCK_MUTUAL_AID — lock social insurance and mutual aid contributions.
- LOCK_SPOUSE, LOCK_SPOUSE_INC — lock spouse and spouse income records.
- LOCK_CARE_MED — locks long-term care and medical insurance information.
- CREATE_PACT, UPDATE_PACT, CREATE_ASSACT, UPDATE_ASSACT, CREATE_EMP — create and maintain the corresponding action information rows.
Each LOCK_* procedure follows the same optimistic-locking contract: it accepts an action information ID and object version number, verifies the row still matches the caller's version, and returns the current row image. This pattern prevents lost updates when ISDF forms or batch processes modify Japanese statutory data concurrently.
Tables Accessed
The package operates against the following objects, referenced through APPS synonyms:
- PAY_ACTION_INFORMATION — the primary transactional table storing action-level information entries, including Japanese social insurance and pension classifications. The package reads, inserts, updates, and locks rows here.
- PAY_ACTION_INFORMATION_S — the translated/secure view or shadow table used for language-sensitive description columns.
- DUAL — used by NEXT_ACTION_INFORMATION_ID and similar utility functions to obtain sequence values or evaluate expressions.
The package also references the pay_jp_isdf_*_v views (PACT, ASSACT, EMP, ENTRY, CALC_DCT, LIFE_GEN, LIFE_PENS, NONLIFE, SOCIAL, MUTUAL_AID, SPOUSE), which are row type definitions used for the NOCopy OUT parameters and are based on the corresponding base tables.
Usage Notes
PAY_JP_ISDF_DML_PKG is invoked indirectly by the Japanese ISDF forms and by two other documented packages that reference it. It is not intended to be called directly from custom code without first understanding the locking and version-number contract. Typical invocation occurs when a user maintains social insurance, pension, or life insurance information through the Japanese Payroll ISDF windows; the form calls LOCK_* to retrieve the current row, then CREATE_* or UPDATE_* to persist changes after validating the object version number. The p_salary_payer_address field that prompted this search is part of the ISDF data model and would be populated through the relevant CREATE/UPDATE or LOCK procedures in this package and its companion views. Because the package is classified as OTHER rather than a public API, Oracle support may change its signature across patches, and any custom extension should be regression-tested after applying Japanese payroll patches on 12.1.1 or 12.2.2.