Results for “csr_win_promis_pkg”
32 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
CSR_WIN_PROMIS_PKG is an Oracle EBS PL/SQL package owned by the APPS schema that manages the persistence layer for the "Win Promis" (win/loss promise) entity exposed through the view CSR_WIN_PROMIS_V. The package provides the standard CRUD and multilanguage support API surface that Oracle Application Framework and Oracle Forms-based maintenance screens rely upon when inserting, updating, deleting, or locking records that describe win/loss promise definitions and their associated time-bound attributes.
The package is classified under the ETRM API classification "OTHER," meaning it is not part of a formally published external integration API family such as the TCA or Order Management interfaces. It is nonetheless a persistent object maintenance package that enforces data integrity rules for the CSR_WIN_PROMIS_ALL_B base table and its translation counterpart, CSR_WIN_PROMIS_ALL_TL. The header history indicates an original creation in December 1999, with a subsequent enhancement (Bug 2664009, November 2002) that added the NOCOPY hint to procedure out-parameters to reduce parameter-copying overhead in PL/SQL.
Key Procedures and Functions
Eight documented procedures are exposed by the package:
- CHECK_UNIQUE — Validates uniqueness of the NAME column in combination with the START_TIME and END_TIME values, ensuring no duplicate win-promise definitions exist for overlapping or identical time windows.
- INSERT_ROW — Inserts a new row into the base and translation tables, generating the primary key (ROW_ID, WIN_PROMIS_ID) and populating audit columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN) along with the descriptive attributes.
- UPDATE_ROW — Updates an existing win-promise record, including its descriptive attributes and audit columns.
- DELETE_ROW — Removes a win-promise record from both the base and translation tables.
- LOCK_ROW — Obtains a row-level lock on a selected record, typically used by concurrent maintenance sessions to prevent conflicting updates.
- ADD_LANGUAGE — Registers a new language row in the translation table for an existing base record, enabling multilanguage display of the win-promise description.
- TRANSLATE_ROW — Updates the translated (TL) description for a specified language on an existing base record.
- LOAD_ROW — Loads a fully specified base/translation pair, typically used for data migration or seeded data loading.
Tables Accessed
The package operates against the following tables, accessed via APPS synonyms:
- CSR_WIN_PROMIS_ALL_B — The base table holding language-independent win-promise data (name, start time, end time, descriptive attributes, audit columns).
- CSR_WIN_PROMIS_ALL_B_S1 — The unique index on the base table used to enforce uniqueness of the NAME and START/END_TIME combinations referenced by CHECK_UNIQUE.
- CSR_WIN_PROMIS_ALL_TL — The translation table storing language-specific description text keyed by language and win_promis_id.
- FND_LANGUAGES — The Oracle Applications language repository, used to resolve installed languages when adding or translating rows.
- DUAL — Used for single-row select operations and sequence value retrieval.
Usage Notes
CSR_WIN_PROMIS_PKG is invoked primarily by the Oracle Forms or OAF maintenance screens that edit the CSR_WIN_PROMIS_V view, where it serves as the underlying transactional API. It is not referenced by any other documented package in the ETRM repository, indicating a narrow, self-contained usage footprint. Custom code or concurrent programs that perform bulk loading or data migration of win-promise definitions may call INSERT_ROW, UPDATE_ROW, DELETE_ROW, or LOAD_ROW directly, but only after validating uniqueness via CHECK_UNIQUE to satisfy the base table's unique index constraint.
-
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
-
VIEW: APPS.CSR_WIN_PROMIS_VL 12.2.2
-
VIEW: APPS.CSR_WIN_PROMIS_VL 12.1.1
-
eTRM - CSR Tables and Views 12.1.1
The translated table for window to promise parameters
-
eTRM - CSR Tables and Views 12.1.1
The translated table for window to promise parameters
-
SYNONYM: APPS.FND_LANGUAGES 12.2.2
-
SYNONYM: APPS.FND_LANGUAGES 12.1.1
-
SYNONYM: PUBLIC.DUAL 12.2.2
-
SYNONYM: PUBLIC.DUAL 12.1.1
-
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