Search Results cs_contract_line_tplts_s
Overview
The APPS.CS_CONTRACTLTMPL_PVT package body implements the private application programmatic interface (API) layer for the Service Contracts line template entity within Oracle E-Business Suite. It is owned by the APPS schema and resides in the Service (CS) module, where it supports the maintenance and validation of contract line templates used during service contract authoring. Line templates define reusable groups of default service lines, coverages, and pricing attributes that can be applied when creating or amending service contracts, reducing manual data entry and enforcing consistent commercial terms.
As a private (PVT) package, CS_CONTRACTLTMPL_PVT is not intended for direct invocation by external consumers. It encapsulates the low-level row-handling logic, validation routines, and concurrency control mechanisms that back the public service contracts APIs and the Service Contracts forms. The package relies on the TAPI_DEV_KIT and FND_API utility packages to conform to Oracle's Table API (TAPI) design pattern, which standardizes insert, update, delete, and lock behavior across the EBS data model. The body is documented as VALID in the ETRM metadata for release 12.2.2, confirming that it compiles successfully and its dependencies are satisfied.
Key Procedures and Functions
The metadata documents eight procedures and functions in the package, with the following core row-management routines identified by name:
- INSERT_ROW — Creates a new contract line template record. It applies the TAPI_DEV_KIT insert conventions, populates mandatory columns, and performs defaulting and validation before committing the row to the base table.
- LOCK_ROW — Acquires a row-level lock against an existing template record, typically invoked at the start of an update or delete transaction to prevent concurrent modification.
- UPDATE_ROW — Modifies an existing line template record, re-running validation and applying the WHO columns and attribute defaulting governed by the TAPI framework.
- DELETE_ROW — Removes a line template record, performing referential and business validation before deletion.
- VALIDATE_ROW — Executes the business rule checks that ensure a template row is internally consistent and satisfies constraints such as coverage and contract template relationships.
The package also references APP_EXCEPTION and APP_EXCEPTIONS for standardized error raising and message propagation, consistent with EBS API error-handling practice. Procedure parameter lists are not enumerated in the available metadata and are intentionally omitted here.
Tables Accessed
Through APPS synonyms, the package body reads and writes the following objects:
- CS_CONTRACT_LINE_TPLTS — The base table storing contract line template definitions; the primary target of INSERT_ROW, UPDATE_ROW, and DELETE_ROW operations.
- CS_CONTRACT_LINE_TPLTS_S — The sequence associated with the base table, used to generate primary keys for new template rows. This object corresponds to the user search term "cs_contract_line_tplts_s".
- CS_CONTRACT_TEMPLATES — The parent contract template table, referenced to validate that a line template belongs to a valid template header.
- CS_COVERAGES — The coverage definition table, referenced when validating or defaulting coverage information associated with template lines.
DUAL and STANDARD are referenced for minor utility operations, and FND_API supplies the standard API return-status and message-handling framework.
Usage Notes
CS_CONTRACTLTMPL_PVT is an internal implementation package. It is not referenced by any other database object according to the dependency metadata, meaning no stored PL/SQL unit calls it directly; instead, it is invoked through the Service Contracts user interface and the public service contracts APIs that layer over it. Typical invocation paths include the Service Contracts authoring forms, where template maintenance actions trigger the insert, update, lock, and delete routines, and concurrent or custom programs that leverage the supported public APIs rather than this private body.
Because the package is classified as PVT and is not referenced externally, customers and integrators should avoid calling it directly. Extensions should target the documented public APIs, allowing Oracle to evolve the private layer without breaking customizations. In 12.1.1 and 12.2.2 environments, the package remains a stable component of the Service Contracts line template infrastructure, and any expected usage conforms to the TAPI_DEV_KIT and FND_API conventions described above.
-
SYNONYM: APPS.CS_CONTRACT_LINE_TPLTS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_CONTRACT_LINE_TPLTS_S, status:VALID,
-
SEQUENCE: CS.CS_CONTRACT_LINE_TPLTS_S
12.1.1
owner:CS, object_type:SEQUENCE, object_name:CS_CONTRACT_LINE_TPLTS_S, status:VALID,
-
SEQUENCE: CS.CS_CONTRACT_LINE_TPLTS_S
12.2.2
owner:CS, object_type:SEQUENCE, object_name:CS_CONTRACT_LINE_TPLTS_S, status:VALID,
-
SYNONYM: APPS.CS_CONTRACT_LINE_TPLTS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CS_CONTRACT_LINE_TPLTS_S, status:VALID,
-
PACKAGE BODY: APPS.CS_CONTRACTLTMPL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_CONTRACTLTMPL_PVT, status:VALID,
-
PACKAGE BODY: APPS.CS_CONTRACTLTMPL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_CONTRACTLTMPL_PVT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
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.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.CS_CONTRACTLTMPL_PVT dependencies on CS_CONTRACT_LINE_TPLTS_S
12.1.1
-
APPS.CS_CONTRACTLTMPL_PVT dependencies on CS_CONTRACT_LINE_TPLTS_S
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1