Search Results zx_global_structures_pkg
Overview
ZX_GLOBAL_STRUCTURES_PKG is a PL/SQL package in the APPS schema that forms part of the Oracle E-Business Suite ETRM (E-Business Tax / Tax Regime) infrastructure. Its role is to initialize and manage the transient global temporary structures — collection types and Global Temporary Table (GTT) rows — that the tax determination and tax calculation engines rely upon when processing transactions. In EBS 12.1.1 and 12.2.2, ETRM evaluates tax regimes, determining factors, conditions, and product options for each transaction line; this package prepares the in-memory and session-scoped data structures that carry that navigation context. The package body is documented as VALID and is classified as an OTHER API rather than a public user-callable interface, indicating it is intended for internal engine consumption. It is referenced by 49 other database objects, reflecting its central position in the tax data-preparation layer, while it does not itself reference any higher-level object.
Key Procedures and Functions
- INIT_TAX_REGIME_TBL — Initializes the collection that holds tax regime information used during determination.
- INIT_DETAIL_TAX_REGIME_TBL — Initializes the detailed tax regime collection, populating finer-grained regime metadata.
- INIT_TRX_LINE_DIST_TBL — Initializes the transaction line distribution collection used to accumulate tax distribution lines.
- INIT_TRX_LINE_APP_REGIME_TBL — Initializes the collection associating transaction lines with their applicable regimes.
- INIT_TRX_HEADERS_GT — Seeds the ZX_TRX_HEADERS_GT global temporary table with header-level transaction data for the current session.
- INIT_TRX_LINES_GT — Seeds the ZX_TRANSACTION_LINES_GT global temporary table with line-level transaction data.
- DELETE_TRX_LINE_DIST_TBL — Clears the transaction line distribution structure, typically between processing iterations.
- GET_PRODUCT_OPTIONS_INFO — Retrieves product option configuration used in tax determination.
- GET_REGIMES_USAGES_INFO — Retrieves regime usage information that governs which regimes apply.
The package additionally depends on FND_API and FND_LOG for the standard API error-handling and logging framework, DBMS_UTILITY for PL/SQL utilities, and PLITBLM for character table conversion helpers.
Tables Accessed
The package reads setup and master data through APPS synonyms. ZX_REGIMES_B and ZX_REGIMES_USAGES supply regime definitions and their usages; ZX_PRODUCT_OPTIONS_ALL provides product option configuration; ZX_LINES_DET_FACTORS supplies line-level determining factors; ZX_ACCOUNTS, ZX_CONDITIONS, ZX_CONDITION_GROUPS_B, ZX_DETERMINING_FACTORS_B and ZX_DET_FACTOR_TEMPL_B provide the tax condition and determining-factor model. Party and location data are drawn from AP_SUPPLIERS, AP_SUPPLIER_SITES, HZ_CUST_ACCOUNTS, HZ_CUST_SITE_USES_ALL, HZ_LOCATIONS, HZ_GEOGRAPHIES, HZ_GEOGRAPHY_TYPES_B, HZ_GEO_NAME_REFERENCES and FND_TERRITORIES, while MTL_SYSTEM_ITEMS_B supplies item context. The GTTs ZX_TRX_HEADERS_GT and ZX_TRANSACTION_LINES_GT are written by the INIT routines and subsequently read by the tax engine to perform determination and calculation.
Usage Notes
Because the object is classified as OTHER and is not referenced by any database object, it is invoked internally within the ETRM call stack rather than as a standalone entry point. Typical invocation occurs during tax engine initialization — triggered by transaction processing flows such as order entry, invoicing, and payables — where the engine first populates the header and line GTTs and the associated collections before evaluating regimes and conditions. FND_LOG calls support diagnostic tracing when ETRM debugging profiles are enabled. Custom code should not call this package directly; developers requiring regime or product option information should use the supported public ETRM APIs (for example ZX_API_PUB or ZX_TAX_DETERMINATION-related interfaces) and treat ZX_GLOBAL_STRUCTURES_PKG as an internal implementation artifact whose signature may change across patches or 12.1.1 to 12.2.2 upgrades.
-
PACKAGE BODY: APPS.ZX_GLOBAL_STRUCTURES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_GLOBAL_STRUCTURES_PKG, status:VALID,
-
PACKAGE BODY: APPS.ZX_GLOBAL_STRUCTURES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_GLOBAL_STRUCTURES_PKG, status:VALID,
-
SYNONYM: APPS.ZX_PRODUCT_OPTIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ZX_PRODUCT_OPTIONS_ALL, status:VALID,
-
SYNONYM: APPS.ZX_PRODUCT_OPTIONS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ZX_PRODUCT_OPTIONS_ALL, status:VALID,
-
SYNONYM: APPS.ZX_TRX_HEADERS_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ZX_TRX_HEADERS_GT, status:VALID,
-
SYNONYM: APPS.ZX_TRX_HEADERS_GT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ZX_TRX_HEADERS_GT, status:VALID,
-
SYNONYM: APPS.ZX_REGIMES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ZX_REGIMES_B, status:VALID,
-
SYNONYM: APPS.ZX_PARTY_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ZX_PARTY_TYPES, status:VALID,
-
SYNONYM: APPS.ZX_EVENT_CLASSES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ZX_EVENT_CLASSES_B, status:VALID,
-
SYNONYM: APPS.ZX_REGIME_RELATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ZX_REGIME_RELATIONS, status:VALID,
-
SYNONYM: APPS.ZX_PARAMETERS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ZX_PARAMETERS_B, status:VALID,
-
SYNONYM: APPS.ZX_REGIME_RELATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ZX_REGIME_RELATIONS, status:VALID,
-
PACKAGE: APPS.ZX_GLOBAL_STRUCTURES_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ZX_GLOBAL_STRUCTURES_PKG, status:VALID,
-
SYNONYM: APPS.ZX_REGIMES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ZX_REGIMES_B, status:VALID,
-
SYNONYM: APPS.ZX_EVNT_TYP_MAPPINGS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ZX_EVNT_TYP_MAPPINGS, status:VALID,
-
PACKAGE BODY: APPS.ZX_GET_TAX_PARAM_DRIVER_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_GET_TAX_PARAM_DRIVER_PKG, status:VALID,
-
PACKAGE BODY: APPS.ZX_GET_TAX_PARAM_DRIVER_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_GET_TAX_PARAM_DRIVER_PKG, status:VALID,
-
SYNONYM: APPS.ZX_PARTY_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ZX_PARTY_TYPES, status:VALID,
-
SYNONYM: APPS.ZX_EVNT_TYP_MAPPINGS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ZX_EVNT_TYP_MAPPINGS, status:VALID,
-
SYNONYM: APPS.ZX_ID_TCC_MAPPING_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ZX_ID_TCC_MAPPING_ALL, status:VALID,
-
SYNONYM: APPS.ZX_EVENT_CLASSES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ZX_EVENT_CLASSES_B, status:VALID,
-
PACKAGE BODY: APPS.ZX_CHECK_REQUIRED_PARAMS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_CHECK_REQUIRED_PARAMS_PKG, status:VALID,
-
SYNONYM: APPS.HZ_GEOGRAPHY_TYPES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_GEOGRAPHY_TYPES_B, status:VALID,
-
SYNONYM: APPS.HZ_GEO_NAME_REFERENCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_GEO_NAME_REFERENCES, status:VALID,
-
SYNONYM: APPS.HZ_GEOGRAPHY_TYPES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_GEOGRAPHY_TYPES_B, status:VALID,
-
SYNONYM: APPS.ZX_REGIMES_USAGES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ZX_REGIMES_USAGES, status:VALID,
-
SYNONYM: APPS.ZX_DET_FACTOR_TEMPL_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ZX_DET_FACTOR_TEMPL_B, status:VALID,
-
PACKAGE: APPS.ZX_GLOBAL_STRUCTURES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ZX_GLOBAL_STRUCTURES_PKG, status:VALID,
-
SYNONYM: APPS.ZX_DETERMINING_FACTORS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ZX_DETERMINING_FACTORS_B, status:VALID,
-
PACKAGE BODY: APPS.ZX_LINES_DET_FACTORS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_LINES_DET_FACTORS_PKG, status:VALID,
-
PACKAGE BODY: APPS.JL_ZZ_TAX_VALIDATE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JL_ZZ_TAX_VALIDATE_PKG, status:VALID,
-
PACKAGE BODY: APPS.ZX_TCM_GET_EXEMPT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_TCM_GET_EXEMPT_PKG, status:VALID,
-
PACKAGE BODY: APPS.ZX_TDS_UTILITIES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_TDS_UTILITIES_PKG, status:VALID,
-
PACKAGE BODY: APPS.ZX_TDS_TAX_LINES_POPU_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_TDS_TAX_LINES_POPU_PKG, status:VALID,
-
SYNONYM: APPS.ZX_REGIMES_USAGES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ZX_REGIMES_USAGES, status:VALID,
-
PACKAGE BODY: APPS.ZX_TRL_PUB_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_TRL_PUB_PKG, status:VALID,
-
SYNONYM: APPS.ZX_DET_FACTOR_TEMPL_DTL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ZX_DET_FACTOR_TEMPL_DTL, status:VALID,
-
PACKAGE BODY: APPS.POR_TAX_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:POR_TAX_PVT, status:VALID,
-
PACKAGE BODY: APPS.POR_TAX_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POR_TAX_PVT, status:VALID,
-
PACKAGE BODY: APPS.ZX_TCM_EXT_SERVICES_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_TCM_EXT_SERVICES_PUB, status:VALID,
-
SYNONYM: APPS.ZX_ACCOUNTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ZX_ACCOUNTS, status:VALID,
-
PACKAGE BODY: APPS.OZF_CLAIM_TAX_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_CLAIM_TAX_PVT, status:VALID,
-
SYNONYM: APPS.ZX_ID_TCC_MAPPING_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ZX_ID_TCC_MAPPING_ALL, status:VALID,
-
PACKAGE BODY: APPS.JL_ZZ_TAX_VALIDATE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JL_ZZ_TAX_VALIDATE_PKG, status:VALID,
-
PACKAGE BODY: APPS.ZX_TCM_PTP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_TCM_PTP_PKG, status:VALID,
-
SYNONYM: APPS.ZX_DET_FACTOR_TEMPL_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ZX_DET_FACTOR_TEMPL_B, status:VALID,
-
PACKAGE: APPS.ZX_R11I_TAX_PARTNER_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ZX_R11I_TAX_PARTNER_PKG, status:VALID,
-
PACKAGE BODY: APPS.ZX_TRL_PUB_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_TRL_PUB_PKG, status:VALID,
-
PACKAGE BODY: APPS.ZX_CHECK_REQUIRED_PARAMS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ZX_CHECK_REQUIRED_PARAMS_PKG, status:VALID,
-
PACKAGE: APPS.ZX_TCM_CONTROL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ZX_TCM_CONTROL_PKG, status:VALID,