Search Results p_security_group_id
Overview
CS_SR_TSK_TMPL_SEQ_RULES_PKG is a private PL/SQL package body in the APPS schema that provides the data-access layer for the CS_SR_TSK_TMPL_SEQ_RULES table. This table stores the sequencing rules that determine the order in which service request task templates are applied during the task generation process in Oracle TeleService / Service (CS) modules. The package encapsulates the standard Oracle EBS "table handler" pattern: it centralizes the Create, Update, Delete, Lock, and Load operations so that the base table is never manipulated directly by forms or concurrent programs.
The source header ($Header: cstskrlb.pls 120.0 2006/03/07) indicates the package body has been stable since the R12 development cycle and is shipped unchanged into 12.1.1 and 12.2.2. Its classification in the ETRM repository is OTHER, meaning it is an internal implementation package rather than a public, supported API.
The parameter p_security_group_id that the user searched for appears on most of the package's procedures. It carries the Multi-Org / security-group context that Oracle Applications use to partition data by operating unit or security group, and is persisted directly into the SECURITY_GROUP_ID column of the base table.
Key Procedures and Functions
- INSERT_ROW — Inserts a new sequencing-rule row. It accepts the row's business columns (search rule code, sequence, active flag, object version number, security group id) plus the standard WHO audit columns, and returns the generated ROWID to the caller so that the form can re-query the block. P_SECURITY_GROUP_ID is written straight into the SECURITY_GROUP_ID column.
- LOCK_ROW — Issues a SELECT ... FOR UPDATE NOWAIT against CS_SR_TSK_TMPL_SEQ_RULES keyed on SEARCH_RULE_ID and OBJECT_VERSION_NUMBER, then compares the fetched ACTIVE_FLAG, SECURITY_GROUP_ID, SEARCH_RULE_CODE, and SEARCH_SEQUENCE against the values passed in. This implements optimistic locking: if the row has changed underneath the user, the form raises a "record has been modified" error rather than silently overwriting.
- UPDATE_ROW — Updates an existing rule row, carrying the same column set as INSERT_ROW and re-validating the object version number.
- DELETE_ROW — Physically removes a sequencing-rule row identified by its primary key.
- LOAD_ROW — Performs the insert-or-update logic used by the Applications seed/loader utilities, allowing rows to be uploaded from .ldt definitions without generating duplicates.
Tables Accessed
The package touches a single documented table, CS_SR_TSK_TMPL_SEQ_RULES, accessed through its APPS synonym. INSERT_ROW and LOAD_ROW write to it; UPDATE_ROW and DELETE_ROW modify or remove rows; LOCK_ROW reads it with a row-level lock. The SECURITY_GROUP_ID column is one of the columns written and compared, reinforcing the multi-org-aware design. No other tables are referenced, and the package is referenced by zero other packages, confirming its role as a leaf-level table handler.
Usage Notes
Because the ETRM classification is OTHER and no external package depends on it, CS_SR_TSK_TMPL_SEQ_RULES_PKG is normally invoked indirectly. In a standard EBS 12.1.1 or 12.2.2 environment it is called by the Oracle Forms block that maintains task-template sequencing (the CSE/CS forms family) and by concurrent or loader programs that seed sequencing rules. Custom code should not call INSERT_ROW, LOCK_ROW, UPDATE_ROW, or DELETE_ROW directly; instead, developers should treat the underlying table as owned by Oracle and use the supported Service APIs, or, where absolutely required, call LOAD_ROW during controlled data migrations. Direct DML risks bypassing the object-version and security-group checks embedded in this package and can leave rows inconsistent with what the forms expect.
-
APPS.CS_SR_TSK_TMPL_SEQ_RULES_PKG SQL Statements
12.1.1
-
APPS.AMS_CTD_ADHOC_PARAM_VALUES_PKG SQL Statements
12.1.1
-
APPS.CS_SR_LINK_VALID_OBJ_PKG SQL Statements
12.2.2
-
APPS.AMS_CTD_ADHOC_PARAM_VALUES_PKG SQL Statements
12.2.2
-
APPS.CS_SR_TSK_TMPL_SEQ_RULES_PKG SQL Statements
12.2.2
-
APPS.AMS_CTDS_PKG SQL Statements
12.1.1
-
APPS.AMS_CTDS_PKG SQL Statements
12.2.2
-
APPS.CS_SR_LINK_VALID_OBJ_PKG SQL Statements
12.1.1
-
APPS.OZF_OFFER_ADJUSTMENT_LINES_PKG SQL Statements
12.1.1
-
APPS.AMS_CTD_PARAM_VALUES_PKG SQL Statements
12.1.1
-
APPS.AMS_CTD_PARAM_VALUES_PKG SQL Statements
12.2.2
-
APPS.OZF_OFFER_ADJUSTMENT_LINES_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.CS_SR_TSK_TMPL_SEQ_RULES_PKG
12.2.2
-
PACKAGE BODY: APPS.CS_SR_TSK_TMPL_SEQ_RULES_PKG
12.1.1
-
APPS.OZF_OFFER_ADJUSTMENTS_PKG SQL Statements
12.2.2
-
APPS.OZF_OFFER_ADJUSTMENTS_PKG SQL Statements
12.1.1
-
APPS.IEX_STATUS_RULE_LINE_PKG SQL Statements
12.1.1
-
APPS.AMS_ADV_FILTER_PKG SQL Statements
12.2.2
-
APPS.IEX_STATUS_RULE_LINE_PKG SQL Statements
12.2.2
-
APPS.JTF_MSITE_PRTY_ACCSS_PKG SQL Statements
12.1.1
-
APPS.IEX_STATUS_RULE_PKG SQL Statements
12.2.2
-
APPS.IEX_STATUS_RULE_PKG SQL Statements
12.1.1
-
APPS.PER_SEC_PROFILE_ASG_API SQL Statements
12.1.1
-
APPS.AMS_ADV_FILTER_PKG SQL Statements
12.1.1
-
APPS.OZF_RELATED_DEAL_LINES_PKG SQL Statements
12.2.2
-
APPS.PER_SEC_PROFILE_ASG_API SQL Statements
12.2.2
-
APPS.JTF_MSITE_PRTY_ACCSS_PKG SQL Statements
12.2.2
-
APPS.PER_ASP_BUS SQL Statements
12.2.2
-
APPS.AS_MC_REPORTING_CURR_PKG SQL Statements
12.2.2
-
APPS.OZF_RELATED_DEAL_LINES_PKG SQL Statements
12.1.1
-
APPS.PV_ATTRIBUTE_USAGES_PKG SQL Statements
12.2.2
-
APPS.PV_ATTRIBUTE_USAGES_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.JTM_VIEW
12.1.1
-
APPS.PQP_GB_OMP_TEMPLATE SQL Statements
12.2.2
-
APPS.PER_ASP_BUS SQL Statements
12.1.1
-
APPS.PQP_GB_OMP_TEMPLATE SQL Statements
12.1.1
-
APPS.AS_MC_REPORTING_CURR_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.JTM_VIEW
12.2.2
-
APPS.PQP_GB_UNPAID_TEMPLATE SQL Statements
12.2.2
-
APPS.PV_ENTY_ATTR_VALUES_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.CS_SR_LINK_VALID_OBJ_PKG
12.1.1
-
PACKAGE BODY: APPS.AS_MC_REPORTING_CURR_PKG
12.1.1
-
APPS.CS_CHG_SUB_REST_PKG SQL Statements
12.2.2
-
APPS.PV_ENTY_ATTR_VALUES_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.CS_SR_LINK_VALID_OBJ_PKG
12.2.2
-
PACKAGE BODY: APPS.AS_MC_REPORTING_CURR_PKG
12.2.2
-
APPS.IEX_PAY_OKL_XREF_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PER_SEC_PROFILE_ASG_API
12.1.1
-
PACKAGE BODY: APPS.PER_SEC_PROFILE_ASG_API
12.2.2
-
APPS.JTF_MSITE_RESP_PKG SQL Statements
12.1.1