Search Results ja_cn_post_utility_pkg
Overview
JA_CN_POST_UTILITY_PKG is an Oracle Applications (APPS) PL/SQL package that supports the Chinese localized accounting solution within Oracle E-Business Suite. Its declared purpose, drawn from the package header, is to be used in account and journal itemization to post the CNAO journal to the CNAO balance. CNAO refers to the China National Accounting Office statutory accounting structures that Oracle delivers for the Chinese localization, and the package provides the posting utility logic that moves itemized journal detail into itemized balance tables.
The package is defined with AUTHID CURRENT_USER, meaning it executes with the privileges of the invoking schema rather than the definer, which is consistent with utility packages that are called from multiple contexts such as concurrent programs, forms and custom code. The header carries a source revision of 120.0.12000000.1, dated 2007, and the package is owned by APPS with an API classification of OTHER, indicating it is not a public open interface but an internal posting utility.
Key Procedures and Functions
The documented package exposes a single public procedure, POST_JOURNAL_ITEMIZED. According to the source comments, this procedure is used to open a period which had never posted journal from the "Itemized journal table" to the "Itemized balance table." In other words, it performs the posting step that transfers itemized journal amounts into the corresponding itemized account balance records for a given period.
- POST_JOURNAL_ITEMIZED — Public posting procedure. It accepts a period name representing the end period in which the CNAO journal should be processed, a ledger identifier, and a legal entity identifier. The procedure drives the transfer of itemized journal data into itemized balances for that period, ledger and legal entity.
The source header history indicates the procedure was created on 02/21/2006 by Jogen Hu and later modified on 04/28/2007 by Qingjun Zhao, when the parameter naming was changed from p_set_of_books_id to p_ledger_id. The package header also lists open_period in its procedure list, although the documented procedure inventory for this object enumerates only POST_JOURNAL_ITEMIZED. Callers should treat POST_JOURNAL_ITEMIZED as the supported entry point documented for this package.
Tables Accessed
The package references a range of GL and Chinese localization tables through APPS synonyms. Key accounting tables include GL_BALANCES, which stores account balances; GL_PERIODS, which supplies period definitions; and GL_LEDGERS, which provides ledger information consistent with the ledger identifier parameter. JA_CN_PERIODS supports the Chinese localization period setup, while JA_CN_JOURNAL_LINES holds the itemized journal lines that are the source of the posting, and JA_CN_ACCOUNT_BALANCES holds the itemized balance records that are the posting target.
Several global temporary tables support the processing: JA_CN_ACCOUNT_BALANCES_POST_GT, JA_CN_ACCOUNT_CHILDREN_GT, and JA_CN_LEDGER_LE_BSV_GT serve as staging and hierarchy structures used during posting. JA_CN_SUB_ACC_MAPPING provides sub-account mapping used in the itemization logic. The package also reads Flexfield infrastructure tables, including FND_FLEX_VALUES, FND_FLEX_VALUE_NORM_HIERARCHY, FND_FLEX_VALUE_SETS, FND_ID_FLEX_SEGMENTS, and FND_SEGMENT_ATTRIBUTE_VALUES, which are used to resolve and validate account segment values and hierarchies during the itemization and posting process.
Taken together, these tables indicate the package reads journal and mapping data, derives account and hierarchy information from the Flexfield structures, and writes the resulting itemized balances.
Usage Notes
JA_CN_POST_UTILITY_PKG is an internal posting utility rather than a documented open interface. It is referenced by two other packages, which indicates it is invoked indirectly by higher-level Chinese localization processes and concurrent programs rather than being called directly by end users. In typical operation, the posting of itemized journals to itemized balances would be triggered as part of period-end or period-close processing for a Chinese legal entity, using the end period name, ledger identifier and legal entity identifier as the controlling parameters.
Because the procedure is documented as opening a period that had never posted journals, it is most appropriate for initial or catch-up posting scenarios rather than routine re-posting. Custom code invoking this package should pass a valid GL period name, the correct ledger identifier under the 12.x ledger architecture, and the intended legal entity identifier. Given the package's heavy reliance on Flexfield value and hierarchy tables plus global temporary staging tables, it should be executed in a properly initialized Applications environment where Flexfield definitions and localization setup are complete, and where concurrent manager or form session context establishes the correct operating unit and responsibility.
-
PACKAGE: APPS.JA_CN_POST_UTILITY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JA_CN_POST_UTILITY_PKG, status:VALID,
-
PACKAGE BODY: APPS.JA_CN_POST_UTILITY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JA_CN_POST_UTILITY_PKG, status:VALID,
-
PACKAGE: APPS.JA_CN_POST_UTILITY_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JA_CN_POST_UTILITY_PKG, status:VALID,
-
PACKAGE BODY: APPS.JA_CN_POST_UTILITY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JA_CN_POST_UTILITY_PKG, status:VALID,
-
SYNONYM: APPS.JA_CN_ACCOUNT_CHILDREN_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JA_CN_ACCOUNT_CHILDREN_GT, status:VALID,
-
SYNONYM: APPS.JA_CN_PERIODS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JA_CN_PERIODS, status:VALID,
-
PACKAGE: APPS.JA_CN_POST_UTILITY_PKG
12.2.2
-
PACKAGE: APPS.JA_CN_POST_UTILITY_PKG
12.1.1
-
SYNONYM: APPS.JA_CN_ACCOUNT_CHILDREN_GT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JA_CN_ACCOUNT_CHILDREN_GT, status:VALID,
-
SYNONYM: APPS.JA_CN_PERIODS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JA_CN_PERIODS, status:VALID,
-
SYNONYM: APPS.JA_CN_ACCOUNT_BALANCES_POST_GT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JA_CN_ACCOUNT_BALANCES_POST_GT, status:VALID,
-
SYNONYM: APPS.JA_CN_ACCOUNT_BALANCES_POST_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JA_CN_ACCOUNT_BALANCES_POST_GT, status:VALID,
-
SYNONYM: APPS.JA_CN_SUB_ACC_MAPPING
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JA_CN_SUB_ACC_MAPPING, status:VALID,
-
SYNONYM: APPS.JA_CN_ACCOUNT_BALANCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JA_CN_ACCOUNT_BALANCES, status:VALID,
-
SYNONYM: APPS.JA_CN_ACCOUNT_BALANCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JA_CN_ACCOUNT_BALANCES, status:VALID,
-
SYNONYM: APPS.JA_CN_JOURNAL_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JA_CN_JOURNAL_LINES, status:VALID,
-
PACKAGE BODY: APPS.JA_CN_ETC_CONC_PROG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JA_CN_ETC_CONC_PROG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.JA_CN_ITEMIZATION_INTERFACE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JA_CN_ITEMIZATION_INTERFACE, status:VALID,
-
SYNONYM: APPS.JA_CN_JOURNAL_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JA_CN_JOURNAL_LINES, status:VALID,
-
SYNONYM: APPS.FND_FLEX_VALUE_NORM_HIERARCHY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_FLEX_VALUE_NORM_HIERARCHY, status:VALID,
-
PACKAGE BODY: APPS.JA_CN_ETC_CONC_PROG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JA_CN_ETC_CONC_PROG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.JA_CN_ITEMIZATION_INTERFACE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JA_CN_ITEMIZATION_INTERFACE, status:VALID,
-
VIEW: APPS.JA_CN_CODE_COMBINATION_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.JA_CN_CODE_COMBINATION_V, object_name:JA_CN_CODE_COMBINATION_V, status:VALID,
-
PACKAGE: APPS.JA_CN_CFS_DATA_CLT_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JA_CN_CFS_DATA_CLT_PKG, status:VALID,
-
VIEW: APPS.JA_CN_ACCOUNT_BALANCES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.JA_CN_ACCOUNT_BALANCES_V, object_name:JA_CN_ACCOUNT_BALANCES_V, status:VALID,
-
SYNONYM: APPS.FND_FLEX_VALUE_NORM_HIERARCHY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_FLEX_VALUE_NORM_HIERARCHY, status:VALID,
-
SYNONYM: APPS.GL_BALANCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_BALANCES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.JA_CN_LEDGER_LE_BSV_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JA_CN_LEDGER_LE_BSV_GT, status:VALID,
-
SYNONYM: APPS.GL_BALANCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_BALANCES, status:VALID,
-
VIEW: APPS.JA_CN_CODE_COMBINATION_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.JA_CN_CODE_COMBINATION_V, object_name:JA_CN_CODE_COMBINATION_V, status:VALID,
-
VIEW: APPS.JA_CN_ACCOUNT_BALANCES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.JA_CN_ACCOUNT_BALANCES_V JA.JA_CN_ACCOUNT_BALANCES_V, object_name:JA_CN_ACCOUNT_BALANCES_V, status:VALID,
-
VIEW: APPS.GL_LEDGER_LE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGER_LE_V, object_name:GL_LEDGER_LE_V, status:VALID,
-
SYNONYM: APPS.FND_FLEX_VALUES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_FLEX_VALUES, status:VALID,
-
PACKAGE: APPS.JA_CN_UTILITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JA_CN_UTILITY, status:VALID,
-
SYNONYM: APPS.FND_FLEX_VALUES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_FLEX_VALUES, status:VALID,
-
SYNONYM: APPS.FND_SEGMENT_ATTRIBUTE_VALUES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_SEGMENT_ATTRIBUTE_VALUES, status:VALID,
-
SYNONYM: APPS.FND_SEGMENT_ATTRIBUTE_VALUES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_SEGMENT_ATTRIBUTE_VALUES, status:VALID,
-
SYNONYM: APPS.FND_FLEX_VALUE_SETS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_FLEX_VALUE_SETS, status:VALID,
-
SYNONYM: APPS.FND_FLEX_VALUE_SETS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_FLEX_VALUE_SETS, status:VALID,
-
SYNONYM: APPS.FND_ID_FLEX_SEGMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_ID_FLEX_SEGMENTS, status:VALID,
-
SYNONYM: APPS.GL_PERIODS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_PERIODS, status:VALID,
-
SYNONYM: APPS.FND_ID_FLEX_SEGMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_ID_FLEX_SEGMENTS, status:VALID,
-
APPS.JA_CN_POST_UTILITY_PKG dependencies on JA_CN_POST_UTILITY_PKG
12.1.1
-
APPS.JA_CN_ITEMIZATION_INTERFACE dependencies on JA_CN_POST_UTILITY_PKG
12.1.1
-
APPS.JA_CN_POST_UTILITY_PKG dependencies on JA_CN_POST_UTILITY_PKG
12.2.2
-
APPS.JA_CN_ETC_CONC_PROG dependencies on JA_CN_POST_UTILITY_PKG
12.2.2