Search Results p_commit
Overview
The APPS.OKC_IMP_TERMS_TEMPLATES_PUB package body is a public (PUB) API within the Oracle E-Business Suite Contracts (OKC) module, specifically serving the Enterprise Contracts Terms and Templates (ETRM) functionality. Its primary business function is to provide a stable, publicly callable interface for importing, creating, updating, and deleting terms templates, template sections, articles, and deliverables — the structural building blocks of contract terms documents in Oracle Contracts.
In the 12.1.1 and 12.2.2 releases, this package acts as a thin public wrapper around the private implementation package OKC_IMP_TERMS_TEMPLATES_PVT. As shown in the source header (OKCPITTB.pls 120.1.12020000.2), each public procedure simply delegates to its private counterpart, passing along the caller's table-based parameters and the commit flag. This publish/private separation follows the standard Oracle EBS API architecture: the public package defines the supported interface, while the private package contains the actual business logic.
The user search term p_template_id appears in this package as an input parameter, most notably in CREATE_TEMPLATE_REVISION, where it identifies the source template from which a new revision or copy is generated. Other procedures operate primarily on collection (table) parameters rather than single template identifiers.
Key Procedures and Functions
The package exposes twelve documented procedures and functions:
- CREATE_TEMPLATE — Creates one or more terms templates via a template collection parameter.
- CREATE_ARTICLE — Creates articles belonging to terms templates.
- CREATE_SECTION — Creates sections within terms templates.
- CREATE_DELIVERABLE — Creates deliverables associated with terms templates or sections.
- UPDATE_TEMPLATE — Updates existing terms templates through a template collection.
- CREATE_TEMPLATE_REVISION — Produces a new revision of an existing template. Notably, it accepts
p_template_idas an input, along with ap_copy_deliverablesflag (defaulting to 'Y') and returns the new template identifier viax_new_template_id. This is the procedure most directly associated with thep_template_idsearch term. - DELETE_ARTICLES, DELETE_SECTIONS, DELETE_DELIVERABLES — Remove the corresponding structural elements from templates.
- CREATE_TMPL_USAGE, UPDATE_TMPL_USAGE, DELETE_TMPL_USAGE — Manage template usage records, which associate templates with the business contexts in which they may be applied.
Each create/update routine supports a p_commit parameter defaulting to fnd_api.g_false, allowing callers to control transaction boundaries — a standard convention that permits atomic multi-step operations across several API calls.
Tables Accessed
The metadata identifies no explicitly documented base tables for this package. This is expected because the public package body contains no direct SQL; all table access occurs in the delegated private package OKC_IMP_TERMS_TEMPLATES_PVT. Based on the terms-template domain, the private implementation reads and writes the OKC terms template tables — including the template header, template section, article, and deliverable tables (for example, the OKC_TERMS_TEMPLATES and related child tables) — and the template usage tables. Because no APPS synonyms are documented in the supplied metadata, the specific table list should be confirmed against the private package body in the target instance.
Usage Notes
This public API is intended to be invoked by:
- Oracle Contracts forms — When users create, copy, revise, or delete terms templates and their sections, articles, or deliverables through the ETRM UI, the form invokes this API layer.
- Concurrent programs and batch imports — Bulk import of terms templates and template structures, including creation of template revisions via
CREATE_TEMPLATE_REVISIONusingp_template_id. - Custom integrations — External or customer-written code that must create or maintain templates should call this PUB package rather than the private package, ensuring upgrade-safe behavior.
Callers should pass the appropriate commit flag to control when work is committed, and should follow the collection-based parameter pattern for create/update operations. Because the package is referenced by zero other packages, it functions as a top-level entry point rather than an internal dependency.
-
APPS.CSI_COUNTER_PUB SQL Statements
12.1.1
-
APPS.OZF_OFFER_PUB SQL Statements
12.2.2
-
APPS.OKC_IMP_TERMS_TEMPLATES_PUB SQL Statements
12.2.2
-
APPS.OZF_OFFER_PUB SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OKC_IMP_TERMS_TEMPLATES_PUB
12.2.2
-
APPS.CSI_COUNTER_PUB SQL Statements
12.2.2
-
APPS.AHL_APPR_SPACE_CAPB_PUB SQL Statements
12.2.2
-
APPS.BIS_PMV_REGION_PVT SQL Statements
12.1.1
-
APPS.EAM_CONSTRUCTION_EST_PUB SQL Statements
12.2.2
-
APPS.CSI_COUNTER_TEMPLATE_PUB SQL Statements
12.2.2
-
APPS.CS_COUNTERS_PUB SQL Statements
12.1.1
-
APPS.BSC_KPI_PUB SQL Statements
12.1.1
-
APPS.CS_COUNTERS_PUB SQL Statements
12.2.2
-
APPS.OKC_XPRT_QUESTION_PUB SQL Statements
12.2.2
-
APPS.AHL_LTP_SPACE_CAPB_PUB SQL Statements
12.2.2
-
APPS.AHL_LTP_SPACE_CAPB_PUB SQL Statements
12.1.1
-
APPS.CSI_COUNTER_TEMPLATE_PUB SQL Statements
12.1.1
-
APPS.AMS_APPROVAL_SUBMIT_PVT SQL Statements
12.1.1
-
APPS.AMS_APPROVAL_SUBMIT_PVT SQL Statements
12.2.2
-
PACKAGE: APPS.OKC_IMP_TERMS_TEMPLATES_PUB
12.2.2
-
APPS.BIS_CUSTOMIZATIONS_PUB SQL Statements
12.1.1
-
APPS.AHL_APPR_SPACE_CAPB_PUB SQL Statements
12.1.1
-
APPS.BIS_MEASURE_SECURITY_PUB SQL Statements
12.1.1
-
APPS.BIS_MEASURE_PUB SQL Statements
12.1.1
-
APPS.BIS_TARGET_LEVEL_PUB SQL Statements
12.1.1
-
PACKAGE: APPS.BSC_KPI_PVT
12.1.1
-
APPS.EAM_CONSTRUCTION_EST_PUB SQL Statements
12.1.1
-
PACKAGE BODY: APPS.EAM_CONSTRUCTION_EST_PUB
12.2.2
-
PACKAGE BODY: APPS.EAM_CONSTRUCTION_EST_PUB
12.1.1
-
PACKAGE BODY: APPS.OKC_XPRT_RULE_PUB
12.2.2
-
APPS.AS_SCORECARD_RULES_PUB SQL Statements
12.2.2
-
APPS.BIS_CUSTOMIZATION_PUB SQL Statements
12.1.1
-
APPS.AMS_LIST_QUERY_PUB SQL Statements
12.1.1
-
APPS.OKC_REP_CONTRACT_IMP_PUB SQL Statements
12.2.2
-
APPS.ASO_SUP_CAPTURE_DATA_PKG SQL Statements
12.2.2
-
APPS.BSC_DIMENSION_LEVELS_PUB SQL Statements
12.1.1
-
APPS.AS_SCORECARD_RULES_PUB SQL Statements
12.1.1
-
PACKAGE: APPS.GMF_MIGRATION
12.2.2
-
APPS.OKL_PAY_CURE_REFUNDS_PUB SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OKC_VERSION_PUB
12.1.1
-
APPS.OKC_XPRT_RULE_PUB SQL Statements
12.2.2
-
PACKAGE: APPS.BSC_DIMENSION_SETS_PVT
12.1.1
-
PACKAGE: APPS.BSC_DATASETS_PVT
12.1.1
-
APPS.IEX_SCORE_PUB SQL Statements
12.1.1
-
APPS.IEX_SCORE_PUB SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OKC_XPRT_QUESTION_PUB
12.2.2
-
APPS.BIS_WEIGHTED_MEASURE_PUB SQL Statements
12.1.1
-
APPS.ASO_SUP_CAPTURE_DATA_PKG SQL Statements
12.1.1
-
APPS.CN_RULESET_PUB SQL Statements
12.2.2
-
APPS.BSC_CALENDAR_PUB SQL Statements
12.1.1