Results for “lock_control”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
AMW_CONTROL_PVT is a private PL/SQL package body in the APPS schema that encapsulates the business-level validation and persistence logic for Control entities within the Oracle Enterprise Asset Management (eAM) / Enterprise Technical Reference Model (ETRM) module in Oracle E-Business Suite 12.1.1 and 12.2.2. The package name uses the _PVT suffix, which by EBS convention denotes a private API intended for internal consumption rather than direct customer extension. It sits beneath the public control API layer and above the table handlers (AMW_CONTROL_PVT's internal table manipulation routines) that perform the physical DML against the underlying control tables. Its stated purpose, per embedded comments, is to validate business-level logic before calling table handlers to load rows. Based on the source excerpt, it is also the layer exposed to callers searching for validate_control, a dedicated validation routine invoked before commits are attempted.
Key Procedures and Functions
The package exposes nine documented procedures and functions, consistent with the PL/SQL API standard that groups load, create, update, delete, lock, and validate operations:
- LOAD_CONTROL — the primary entry point. Accepts API version, initialization, and validation-level parameters, plus a
control_rec_typerecord, and returns return status, message count, and message data along with control revision and control identifiers. It orchestrates validation and table handler calls to persist a control. - LOAD1_CONTROL — an alternate/overload load routine, likely supporting a different control mode or revision path.
- CREATE_CONTROL — inserts a new control record, typically delegating to table handlers after validation.
- UPDATE_CONTROL — modifies an existing control record.
- DELETE_CONTROL — removes a control record (or logically deactivates it).
- LOCK_CONTROL — obtains a lock on a control row to serialize concurrent modifications.
- VALIDATE_CONTROL — the routine surfaced by the user's
validate_controlsearch. Performs business-rule validation on a control record independently of persistence. - CHECK_CONTROL_ITEMS — validates associated control items, ensuring child rows are consistent before the parent operation completes.
- VALIDATE_CONTROL_REC — validates the inbound
control_rec_typerecord structure, checking required attributes and field-level integrity.
All routines follow the FND_API convention, accepting p_api_version_number, p_init_msg_list, and p_commit, and returning x_return_status, x_msg_count, and x_msg_data.
Tables Accessed
The package reads and writes the following tables via APPS synonyms:
- AMW_CONTROLS_B — base table storing control header attributes.
- AMW_CONTROLS_S — the corresponding translated/summary table.
- AMW_CONTROLS_TL — the translation table holding language-specific control text.
- AMW_CONTROL_REV_S — stores control revision records referenced by control revision identifiers.
- PER_JOBS — HR jobs table, referenced for validation of job-related control attributes.
- DUAL — used for single-row lookups such as sequence or lookup meaning resolution.
Usage Notes
AMW_CONTROL_PVT is invoked indirectly. It is referenced by three other packages, indicating it is called by the public control API or eAM forms and concurrent programs rather than by end users. In EBS 12.1.1 and 12.2.2, form-based control maintenance (likely via an eAM setup form) and concurrent programs loading control data would call this private layer. Custom code should not call it directly; instead, use the public API wrapper. The global g_user_id and g_login_id are initialized from FND_GLOBAL at package load, enforcing standard EBS audit and security context.
-
APPS.OKX_ORD_PRC_ADJ_ATRBS_V·↳ OE_PRICE_ADJ_ATTRIBS·Explore OKX module →
-
APPS.OKX_ORD_PRC_ADJ_RLSHP_V·↳ OE_PRICE_ADJ_ASSOCS·Explore OKX module →
-
APPS.OKX_ORD_PRC_ADJ_ATRBS_V·↳ OE_PRICE_ADJ_ATTRIBS·Explore OKX module →
-
APPS.OKX_ORD_PRC_ADJ_RLSHP_V·↳ OE_PRICE_ADJ_ASSOCS·Explore OKX module →
-
View: OE_PRICE_ADJ_ASSOCS_V 12.2.2
This is a view on table OE_PRICE_ADJ_ASSOCS.
APPS.OE_PRICE_ADJ_ASSOCS_V·↳ OE_PRICE_ADJ_ASSOCS·Explore ONT module →
-
View: OE_SALES_CREDITS_V 12.1.1
This view is to show all sales credits for an order and is used by UI.
APPS.OE_SALES_CREDITS_V·↳ OE_SALES_CREDITS·↳ OE_SALES_CREDIT_TYPES·Explore ONT module →
-
View: OE_SALES_CR_HISTORY_V 12.2.2
Sales Credit History View
APPS.OE_SALES_CR_HISTORY_V·↳ OE_SALES_CREDIT_HISTORY·↳ OE_SALES_CREDIT_TYPES·Explore ONT module →
-
View: OE_PRICE_ADJ_ATTRIBS_V 12.2.2
This is a view on table OE_PRICE_ADJ_ATTRIBS.
APPS.OE_PRICE_ADJ_ATTRIBS_V·↳ OE_PRICE_ADJ_ATTRIBS·Explore ONT module →
-
View: OE_PRICE_ADJ_ASSOCS_V 12.1.1
This is a view on table OE_PRICE_ADJ_ASSOCS.
APPS.OE_PRICE_ADJ_ASSOCS_V·↳ OE_PRICE_ADJ_ASSOCS·Explore ONT module →
-
Stores history of attribute changes of Entity Sales Credits
-
This table stores information on qualifiers and pricing attributes, which to that corresponding price adjustment line qualified for.
-
This table stores the association between order lines and price adjustments and also between price adjustments
-
This table stores the association between order lines and price adjustments and also between price adjustments
-
This table stores information on qualifiers and pricing attributes, which to that corresponding price adjustment line qualified for.
-
View: OE_PRICE_ADJ_ATTRIBS_V 12.1.1
This is a view on table OE_PRICE_ADJ_ATTRIBS.
APPS.OE_PRICE_ADJ_ATTRIBS_V·↳ OE_PRICE_ADJ_ATTRIBS·Explore ONT module →
-
Data for the Price Adjustments Attributes.
-
Draft table for Price Adjustments Attributes.
-
View: OKX_ORD_SLS_CREDITS_V 12.2.2
APPS.OKX_ORD_SLS_CREDITS_V·↳ OE_SALES_CREDITS·Explore OKX module →
-
View: OKX_ORD_SLS_CREDITS_V 12.1.1
APPS.OKX_ORD_SLS_CREDITS_V·↳ OE_SALES_CREDITS·Explore OKX module →
-
This table stores customer reported lot serial numbers for lot and / or serial number controlled return lines.
-
View: OE_SALES_CREDITS_V 12.2.2
This view is to show all sales credits for an order and is used by UI.
APPS.OE_SALES_CREDITS_V·↳ OE_SALES_CREDITS·↳ OE_SALES_CREDIT_TYPES·Explore ONT module →
-
This view is used to retrieve Price Adjustments history. This is used by the history form.
APPS.OE_PRICE_ADJS_HISTORY_V·↳ OE_PRICE_ADJS_HISTORY·↳ QP_LIST_HEADERS_TL·Explore ONT module →
-
This view is used to retrieve Price Adjustments history. This is used by the history form.
APPS.OE_PRICE_ADJS_HISTORY_V·↳ OE_PRICE_ADJS_HISTORY·↳ QP_LIST_HEADERS_TL·Explore ONT module →
-
This table stores information about sales credits.
-
Table: OE_CONFIG_DETAILS_TMP 12.1.1
-
Table: OE_CONFIG_DETAILS_TMP 12.2.2
-
APPS.OE_AK_HEADER_PAYMENTS_V·↳ OE_PAYMENTS·Explore ONT module →
-
View: OE_AK_LINE_PAYMENTS_V 12.2.2
APPS.OE_AK_LINE_PAYMENTS_V·↳ OE_PAYMENTS·Explore ONT module →
-
APPS.OE_AK_HEADER_PAYMENTS_V·↳ OE_PAYMENTS·Explore ONT module →
-
View: OE_AK_LINE_PAYMENTS_V 12.1.1
APPS.OE_AK_LINE_PAYMENTS_V·↳ OE_PAYMENTS·Explore ONT module →
-
This table stores customer reported lot serial numbers for lot and / or serial number controlled return lines.
-
View: OKX_ORD_PRC_ADJMNTS_V 12.2.2
APPS.OKX_ORD_PRC_ADJMNTS_V·↳ OE_PRICE_ADJUSTMENTS·Explore OKX module →
-
View: OKX_ORD_PRC_ADJMNTS_V 12.1.1
APPS.OKX_ORD_PRC_ADJMNTS_V·↳ OE_PRICE_ADJUSTMENTS·Explore OKX module →
-
This table stores information about sales credits.
-
Stores history of attribute changes of Entity Sales Credits
-
View: OE_SALES_CR_HISTORY_V 12.1.1
Sales Credit History View
APPS.OE_SALES_CR_HISTORY_V·↳ OE_SALES_CREDIT_HISTORY·↳ OE_SALES_CREDIT_TYPES·Explore ONT module →
-
View: OE_BLANKET_HEADERS_V 12.2.2
APPS.OE_BLANKET_HEADERS_V·↳ AR_LOOKUPS·↳ FND_CURRENCIES·↳ HZ_CUST_ACCOUNTS·Explore ONT module →
-
View: OKX_ORD_PRC_ATRBS_V 12.2.2
APPS.OKX_ORD_PRC_ATRBS_V·↳ OE_ORDER_PRICE_ATTRIBS·Explore OKX module →
-
View: OKX_ORD_PRC_ATRBS_V 12.1.1
APPS.OKX_ORD_PRC_ATRBS_V·↳ OE_ORDER_PRICE_ATTRIBS·Explore OKX module →
-
View: OE_ORDER_HEADERS_V 12.2.2
View for Order header used in sales order form.
APPS.OE_ORDER_HEADERS_V·↳ AR_LOOKUPS·↳ FND_CURRENCIES·↳ HZ_CUST_ACCOUNTS·Explore ONT module →
-
APPS.OE_ORDER_PRICE_ATTRIBS_V·↳ OE_ORDER_PRICE_ATTRIBS·Explore ONT module →
-
APPS.OE_ORDER_PRICE_ATTRIBS_V·↳ OE_ORDER_PRICE_ATTRIBS·Explore ONT module →
-
Table to store payment audit trail.
-
Table to store payment audit trail.
-
It holds the commitment payment information.
-
It holds the commitment payment information.
-
OE_ORDER_HEADERS_ALL stores header information for orders in Order Management.
-
View: OE_PRICE_ADJUSTMENTS_V 12.1.1
This is a view on table OE_PRICE_ADJUSTMENTS.
APPS.OE_PRICE_ADJUSTMENTS_V·↳ OE_PRICE_ADJUSTMENTS·↳ QP_LIST_HEADERS_TL·Explore ONT module →