Search Results okc_xprt_import_template_pvt
Overview
OKC_XPRT_IMPORT_TEMPLATE_PVT is a private PL/SQL package in the APPS schema that supports Oracle E-Business Suite's Contract Terms and Export Compliance functionality. Its primary business purpose is to import and rebuild contract terms templates and the associated rules, questions, and localized text that drive Oracle Contracts (OKC) and the Oracle Global Trade Management / Export Compliance rule structures. In ETRM terms, this package is a worker package invoked by the public-facing wrapper OKC_XPRT_IMPORT_PVT, which coordinates the loading and regeneration of template metadata from staged flat-file or intermediate import tables into the transactional template tables used by the Terms Template setup and Export Compliance rule authoring screens.
The package is classified as type PVT, indicating it contains private implementation logic that is not part of the supported public API surface. It is intended for internal consumption by sibling packages and standard import processes rather than for direct customer invocation. Its status is VALID on both Oracle EBS 12.1.1 and 12.2.2, and it references only the SYS.STANDARD package plus APPS synonyms, consistent with a standard EBS 12.x deployment where public synonyms resolve to the APPS schema objects.
Key Procedures and Functions
- IMPORT_TEMPLATE — The core procedure that performs the template import. It reads staged export-compliance template definitions and their dependent questions, rules, and localized text, then writes or merges them into the target OKC template and rule headers. This is the primary entry point used when a template bundle is loaded into an instance.
- REBUILD_TMPL_PUB_DISABLE — A maintenance procedure that rebuilds template publication data and disables published templates where appropriate, typically preceding a re-import so that stale or superseded template definitions are not exposed to end users. It is invoked as part of the rebuild cycle that keeps imported definitions consistent with the published setup.
- REBUILD_TMPL_SYNC — Synchronizes template and export-compliance metadata after an import, ensuring the relationship between template headers, questions, rule headers, and localized text remains internally consistent. It is the counterpart to REBUILD_TMPL_PUB_DISABLE, restoring and reconciling published state once the import has completed.
Tables Accessed
The package reads and writes OKC_TERMS_TEMPLATES_ALL, the central repository of contract terms templates, along with OKC_XPRT_RULE_HDRS_ALL, OKC_XPRT_QUESTIONS_B, OKC_XPRT_QUESTIONS_TL, and OKC_XPRT_QUESTION_ORDERS, which hold the export-compliance rule headers, question definitions, translations, and question sequencing generated during import. Localized message text is sourced from CZ_IMP_LOCALIZED_TEXTS, and staged or intermediate export-compliance data is read from CZ_IMP_DEVL_PROJECT, CZ_IMP_PS_NODES, CZ_DEVL_PROJECTS, CZ_RP_ENTRIES, CZ_RULES, and CZ_XFR_RUN_INFOS_S. Finally, the package queries FND_LANGUAGES, FND_FLEX_VALUE_SETS, and FND_FLEX_VALIDATION_TABLES to resolve language and value-set validation metadata required when constructing and validating imported template content.
Usage Notes
Because OKC_XPRT_IMPORT_TEMPLATE_PVT is a private package, it is not intended for direct invocation from custom code or concurrent program definitions. It is called by OKC_XPRT_IMPORT_PVT, the public wrapper, which is the supported entry point for template import operations in Oracle EBS 12.1.1 and 12.2.2. Typical invocation occurs during export-compliance setup and template migration, where import data is staged and then processed through the public importer, which in turn drives this package's procedures to rebuild and synchronize published templates. Customers extending or troubleshooting template imports should reference OKC_XPRT_IMPORT_PVT and the standard Terms Template setup forms rather than calling this package directly, since its procedures are subject to change without notice across release upgrades.
-
PACKAGE: APPS.OKC_XPRT_IMPORT_TEMPLATE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_XPRT_IMPORT_TEMPLATE_PVT, status:VALID,
-
PACKAGE: APPS.OKC_XPRT_IMPORT_TEMPLATE_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_XPRT_IMPORT_TEMPLATE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_XPRT_IMPORT_TEMPLATE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_XPRT_IMPORT_TEMPLATE_PVT, status:VALID,
-
PACKAGE: APPS.OKC_XPRT_IMPORT_TEMPLATE_PVT
12.1.1
-
PACKAGE BODY: APPS.OKC_XPRT_IMPORT_TEMPLATE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_XPRT_IMPORT_TEMPLATE_PVT, status:VALID,
-
PACKAGE: APPS.OKC_XPRT_IMPORT_TEMPLATE_PVT
12.2.2
-
SYNONYM: APPS.OKC_XPRT_QUESTION_ORDERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_XPRT_QUESTION_ORDERS, status:VALID,
-
SYNONYM: APPS.OKC_XPRT_QUESTIONS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_XPRT_QUESTIONS_TL, status:VALID,
-
SYNONYM: APPS.CZ_IMP_PS_NODES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CZ_IMP_PS_NODES, status:VALID,
-
SYNONYM: APPS.CZ_IMP_PS_NODES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CZ_IMP_PS_NODES, status:VALID,
-
SYNONYM: APPS.CZ_IMP_DEVL_PROJECT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CZ_IMP_DEVL_PROJECT, status:VALID,
-
SYNONYM: APPS.CZ_IMP_LOCALIZED_TEXTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CZ_IMP_LOCALIZED_TEXTS, status:VALID,
-
SYNONYM: APPS.OKC_XPRT_QUESTIONS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_XPRT_QUESTIONS_B, status:VALID,
-
PACKAGE: APPS.CZ_CONTRACTS_API_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CZ_CONTRACTS_API_GRP, status:VALID,
-
SYNONYM: APPS.OKC_XPRT_TEMPLATE_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_XPRT_TEMPLATE_RULES, status:VALID,
-
SYNONYM: APPS.CZ_IMP_DEVL_PROJECT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CZ_IMP_DEVL_PROJECT, status:VALID,
-
SYNONYM: APPS.OKC_XPRT_QUESTIONS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_XPRT_QUESTIONS_B, status:VALID,
-
SYNONYM: APPS.OKC_XPRT_QUESTIONS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_XPRT_QUESTIONS_TL, status:VALID,
-
PACKAGE: APPS.OKC_XPRT_CZ_INT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_XPRT_CZ_INT_PVT, status:VALID,
-
SYNONYM: APPS.OKC_XPRT_RULE_HDRS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_XPRT_RULE_HDRS_ALL, status:VALID,
-
SYNONYM: APPS.OKC_XPRT_QUESTION_ORDERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_XPRT_QUESTION_ORDERS, status:VALID,
-
SYNONYM: APPS.OKC_XPRT_TEMPLATE_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_XPRT_TEMPLATE_RULES, status:VALID,
-
SYNONYM: APPS.CZ_IMP_LOCALIZED_TEXTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CZ_IMP_LOCALIZED_TEXTS, status:VALID,
-
PACKAGE: APPS.CZ_CONTRACTS_API_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CZ_CONTRACTS_API_GRP, status:VALID,
-
PACKAGE: APPS.OKC_XPRT_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_XPRT_UTIL_PVT, status:VALID,
-
PACKAGE: APPS.OKC_XPRT_CZ_INT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_XPRT_CZ_INT_PVT, status:VALID,
-
PACKAGE: APPS.OKC_XPRT_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_XPRT_UTIL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_XPRT_IMPORT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_XPRT_IMPORT_PVT, status:VALID,
-
SYNONYM: APPS.OKC_XPRT_RULE_HDRS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_XPRT_RULE_HDRS_ALL, status:VALID,
-
PACKAGE BODY: APPS.OKC_XPRT_IMPORT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_XPRT_IMPORT_PVT, status:VALID,
-
SYNONYM: APPS.CZ_XFR_RUN_INFOS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CZ_XFR_RUN_INFOS_S, status:VALID,
-
SYNONYM: APPS.CZ_XFR_RUN_INFOS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CZ_XFR_RUN_INFOS_S, status:VALID,
-
SYNONYM: APPS.OKC_TERMS_TEMPLATES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_TERMS_TEMPLATES_ALL, status:VALID,
-
SYNONYM: APPS.OKC_TERMS_TEMPLATES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_TERMS_TEMPLATES_ALL, status:VALID,
-
SYNONYM: APPS.CZ_RP_ENTRIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CZ_RP_ENTRIES, status:VALID,
-
SYNONYM: APPS.CZ_RP_ENTRIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CZ_RP_ENTRIES, status:VALID,
-
SYNONYM: APPS.CZ_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CZ_RULES, status:VALID,
-
SYNONYM: APPS.CZ_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CZ_RULES, status:VALID,
-
SYNONYM: APPS.CZ_DEVL_PROJECTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CZ_DEVL_PROJECTS, status:VALID,
-
SYNONYM: APPS.CZ_DEVL_PROJECTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CZ_DEVL_PROJECTS, status:VALID,
-
SYNONYM: APPS.FND_FLEX_VALIDATION_TABLES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_FLEX_VALIDATION_TABLES, status:VALID,
-
SYNONYM: APPS.FND_FLEX_VALIDATION_TABLES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_FLEX_VALIDATION_TABLES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.FND_FLEX_VALUES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_FLEX_VALUES_VL, object_name:FND_FLEX_VALUES_VL, status:VALID,
-
VIEW: APPS.FND_FLEX_VALUES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_FLEX_VALUES_VL, object_name:FND_FLEX_VALUES_VL, status:VALID,
-
APPS.OKC_XPRT_IMPORT_PVT dependencies on OKC_XPRT_IMPORT_TEMPLATE_PVT
12.1.1
-
APPS.OKC_XPRT_IMPORT_TEMPLATE_PVT dependencies on OKC_XPRT_IMPORT_TEMPLATE_PVT
12.2.2