Search Results aso_quote_tmpl_int
Overview
ASO_QUOTE_TMPL_INT is a PL/SQL integration package in the Oracle E-Business Suite (EBS) Order-to-Cash / Advanced Pricing / Quoting (ASO) module. It is owned by the APPS schema and is declared with AUTHID CURRENT_USER, meaning its procedures execute under the privileges of the calling session rather than the definer. The package provides the template-to-quote integration layer used by Oracle Quoting functionality, enabling callers to attach one or more predefined quote templates to an existing or newly described quote header. It is classified in the ETRM as an "OTHER" API, indicating it is an internal, non-plural, non-business-service interface intended primarily for programmatic consumption by other ASO packages and concurrent processes rather than by end users directly.
The package header carries the legacy CVS ident string $Header: asoiqtms.pls 120.1 2005/06/29 12:35:29 appldev ship $, and the package body is closed by the comment END; -- ASO_QUOTE_TMPL_INT. This places the original coding in the mid-2000s Oracle Quoting development cycle; the same interface remains documented and shipped through EBS 12.1.1 and 12.2.2.
Key Procedures and Functions
The package exposes two published procedures (documented as "2 total" in the ETRM metadata), both overloads of a single procedure name:
- ADD_TEMPLATE_TO_QUOTE (overload 1) — Accepts the standard Oracle API parameter set (P_API_VERSION_NUMBER, P_INIT_MSG_LIST, P_COMMIT, P_VALIDATION_LEVEL, X_RETURN_STATUS, X_MSG_COUNT, X_MSG_DATA) together with an input PL/SQL table of template identifiers (P_TEMPLATE_ID_TBL of type LIST_TEMPLATE_TBL_TYPE), a P_QUOTE_HEADER_ID numeric identifier, a control record, and a P_LAST_UPDATE_DATE. This overload applies the listed templates to an existing quote header identified by ID.
- ADD_TEMPLATE_TO_QUOTE (overload 2) — Shares the same scalar API parameters and the same P_TEMPLATE_ID_TBL input, but replaces P_QUOTE_HEADER_ID with a full P_QTE_HEADER_REC record of type ASO_QUOTE_PUB.QTE_HEADER_REC_TYPE. This overload creates and/or updates the quote header from the supplied record before applying the templates. Note that it carries no P_LAST_UPDATE_DATE parameter.
The package defines a public collection type LIST_TEMPLATE_TBL_TYPE as a PL/SQL associative array of NUMBER indexed by BINARY_INTEGER, and a package global G_Miss_List_Template_Tbl of that type, used to identify unpopulated or invalid template rows.
Tables Accessed
ETRM documentation for this object does not enumerate the underlying base tables accessed through APPS synonyms. Functionally, the procedure manipulates the ASO quote header and quote line tables and the ASO template definition tables. Because the procedures call into ASO_QUOTE_PUB (ASO_QUOTE_PUB.CONTROL_REC_TYPE and ASO_QUOTE_PUB.QTE_HEADER_REC_TYPE are parameters), the actual DML against ASO_QUOTE_HEADERS, ASO_QUOTE_LINES, and the template application tables is performed by the lower-level ASO_QUOTE_PUB API rather than directly within ASO_QUOTE_TMPL_INT. Readers requiring exact table lineage should inspect the package body and trace ASO_QUOTE_PUB.
Usage Notes
The package is referenced by three other packages in the ETRM repository, confirming that it is a mid-tier integration point rather than a top-level entry called by a form directly. Typical invocations are:
- From other ASO packages that need to seed a quote from one or more templates as part of quote creation, copy, or re-defaulting logic.
- From concurrent programs that bulk-apply templates to existing quotes, benefiting from the P_COMMIT and P_INIT_MSG_LIST parameters to control transaction boundaries and message-stack initialization.
- From custom PL/SQL where a developer needs API-level control over template application without re-implementing quote DML.
Callers should always pass a valid P_API_VERSION_NUMBER, initialize the message list when calling multiple APIs, set P_VALIDATION_LEVEL appropriately, and inspect X_RETURN_STATUS plus X_MSG_DATA after each call. Because the package uses AUTHID CURRENT_USER, the invoking schema must hold execute privilege on ASO_QUOTE_TMPL_INT and the necessary DML rights on the underlying ASO objects.
-
PACKAGE: APPS.ASO_QUOTE_TMPL_INT
12.2.2
-
PACKAGE BODY: APPS.ASO_QUOTE_TMPL_INT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_QUOTE_TMPL_INT, status:VALID,
-
PACKAGE: APPS.ASO_QUOTE_TMPL_INT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ASO_QUOTE_TMPL_INT, status:VALID,
-
PACKAGE: APPS.ASO_QUOTE_TMPL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ASO_QUOTE_TMPL_PVT, status:VALID,
-
PACKAGE: APPS.ASO_QUOTE_TMPL_INT
12.1.1
-
PACKAGE: APPS.ASO_QUOTE_TMPL_INT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ASO_QUOTE_TMPL_INT, status:VALID,
-
PACKAGE: APPS.ASO_QUOTE_TMPL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ASO_QUOTE_TMPL_PVT, status:VALID,
-
PACKAGE BODY: APPS.ASO_QUOTE_TMPL_INT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_QUOTE_TMPL_INT, status:VALID,
-
PACKAGE BODY: APPS.ASO_QUOTE_TMPL_INT
12.2.2
-
PACKAGE BODY: APPS.ASO_QUOTE_TMPL_INT
12.1.1
-
PACKAGE BODY: APPS.ASO_QUOTE_TMPL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_QUOTE_TMPL_PVT, status:VALID,
-
PACKAGE BODY: APPS.ASO_QUOTE_TMPL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_QUOTE_TMPL_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.ASO_QUOTE_PUB_W
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_QUOTE_PUB_W, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.ASO_QUOTE_PUB_W
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_QUOTE_PUB_W, status:VALID,
-
PACKAGE BODY: APPS.ASO_QUOTE_HEADERS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_QUOTE_HEADERS_PVT, status:VALID,
-
PACKAGE: APPS.ASO_QUOTE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ASO_QUOTE_PUB, status:VALID,
-
PACKAGE: APPS.ASO_QUOTE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ASO_QUOTE_PUB, status:VALID,
-
PACKAGE BODY: APPS.ASO_QUOTE_HEADERS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_QUOTE_HEADERS_PVT, status:VALID,
-
PACKAGE: APPS.ASO_DEBUG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ASO_DEBUG_PUB, status:VALID,
-
PACKAGE: APPS.ASO_DEBUG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ASO_DEBUG_PUB, status:VALID,
-
PACKAGE: APPS.ASO_UTILITY_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ASO_UTILITY_PVT, status:VALID,
-
PACKAGE: APPS.ASO_UTILITY_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ASO_UTILITY_PVT, status:VALID,
-
APPS.ASO_QUOTE_HEADERS_PVT dependencies on ASO_QUOTE_TMPL_INT
12.2.2
-
APPS.ASO_QUOTE_HEADERS_PVT dependencies on ASO_QUOTE_TMPL_INT
12.1.1
-
APPS.ASO_QUOTE_PUB_W dependencies on ASO_QUOTE_TMPL_INT
12.2.2
-
APPS.ASO_QUOTE_TMPL_INT dependencies on ASO_QUOTE_TMPL_INT
12.1.1
-
APPS.ASO_QUOTE_TMPL_PVT dependencies on ASO_QUOTE_TMPL_INT
12.2.2
-
APPS.ASO_QUOTE_TMPL_PVT dependencies on ASO_QUOTE_TMPL_INT
12.1.1
-
APPS.ASO_QUOTE_TMPL_PVT dependencies on ASO_QUOTE_TMPL_INT
12.1.1
-
APPS.ASO_QUOTE_PUB_W dependencies on ASO_QUOTE_TMPL_INT
12.1.1
-
APPS.ASO_QUOTE_TMPL_INT dependencies on ASO_QUOTE_TMPL_INT
12.2.2
-
APPS.ASO_QUOTE_TMPL_PVT dependencies on ASO_QUOTE_TMPL_INT
12.2.2
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
PACKAGE: APPS.FND_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
PACKAGE: APPS.FND_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,