Search Results rrs_trade_area_groups_b
Overview
The RRS_TRADE_AREA_GROUPS_B table is a core base table within the Oracle E-Business Suite (EBS) Site Management module (product code RRS), introduced to support downstream energy trading operations. Its purpose is to store the definition of trade area groups — logical groupings of geographic or commercial trade areas used to organize pricing, scheduling, and contractual activity for crude oil, natural gas, refined products, and related commodities handled by the ETRM (Energy and Commodity Trading) application.
The table resides in the RRS schema and is flagged VALID in Oracle EBS 12.1.1 and 12.2.2. It serves as the master definition of a group header; descriptive, multi-language text is stored separately in RRS_TRADE_AREA_GROUPS_TL, and the detailed membership of trade areas within each group is held in RRS_GROUP_TRADE_AREAS. From a Data Vault modeling perspective, the mined metadata classifies this object as hub-leaning: it contains a surrogate key (GROUP_ID) and relatively few foreign dependencies, making it a plausible candidate hub around which satellites (translated text, membership) and links (group-to-trade-area associations) revolve. This classification is offered as a modeling suggestion, not a documented Oracle construct.
Key Information Stored
The table physically comprises 11 columns. The most significant are summarized below.
- GROUP_ID — The surrogate primary key (constraint
RRS_TRADE_AREA_GROUPS_PK) that uniquely identifies each trade area group. It is also the sole documented unique index candidate (RRS_TRADE_AREA_GROUPS_B_U1), meaning it acts as both the surrogate and the business-key anchor. All child tables join to this column. - GROUP_TYPE_CODE — The classification code that distinguishes the operational type or category of the group.
- NUM_OF_TRADE_AREAS — A denormalized count of the trade areas associated with the group, typically maintained for fast list-of-values and reporting retrieval.
- STATUS_CODE — The lifecycle state of the group (for example active versus inactive), driving eligibility in downstream trading documents.
- UNIT_OF_MEASURE_CODE — The unit of measure applicable to quantities associated with trade areas in the group.
- OBJECT_VERSION_NUMBER — The optimistic-locking column standard across OAF-based EBS tables.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — The standard Oracle "WHO" audit columns capturing user identity and timestamps for insert and update operations.
Common Use Cases and Queries
The primary operational use case is maintaining and reporting on group-to-trade-area hierarchies that feed trade capture, allocations, and settlement. Typical queries include:
- Listing active groups with their member counts:
SELECT group_id, group_type_code, num_of_trade_areas FROM rrs_trade_area_groups_b WHERE status_code = 'ACTIVE'; - Resolving group description through the translation table:
SELECT b.group_id, t.description FROM rrs_trade_area_groups_b b, rrs_trade_area_groups_tl t WHERE b.group_id = t.group_id AND t.language = USERENV('LANG'); - Enumerating the trade areas for a given group:
SELECT g.group_id, g.trade_area_id FROM rrs_group_trade_areas g WHERE g.group_id = :p_group_id; - Audit and change-tracking reports relying on
last_updated_byandlast_update_date.
Related Objects
The following objects are most significant to the integrity and usability of this table:
- RRS_GROUP_TRADE_AREAS — child/link table joined via
GROUP_ID, holding the many-to-many membership of trade areas within each group. - RRS_TRADE_AREA_GROUPS_TL — the translation table storing language-specific names and descriptions, joined via
GROUP_ID. - RRS_TRADE_AREAS — the trade area master referenced indirectly through the group link table.
- Standard OAF/ADF-based RRS Site Management UI pages that expose group maintenance and validation APIs built on this base table.
-
Table: RRS_TRADE_AREA_GROUPS_B
12.1.1
owner:RRS, object_type:TABLE, fnd_design_data:RRS.RRS_TRADE_AREA_GROUPS_B, object_name:RRS_TRADE_AREA_GROUPS_B, status:VALID, product: RRS - Site Management , implementation_dba_data: RRS.RRS_TRADE_AREA_GROUPS_B ,
-
Table: RRS_TRADE_AREA_GROUPS_B
12.2.2
owner:RRS, object_type:TABLE, fnd_design_data:RRS.RRS_TRADE_AREA_GROUPS_B, object_name:RRS_TRADE_AREA_GROUPS_B, status:VALID, product: RRS - Site Management , description: This table stores the information related to Trade Area Groups , implementation_dba_data: RRS.RRS_TRADE_AREA_GROUPS_B ,
-
VIEW: RRS.RRS_TRADE_AREA_GROUPS_B#
12.2.2
owner:RRS, object_type:VIEW, object_name:RRS_TRADE_AREA_GROUPS_B#, status:VALID,
-
APPS.RRS_TRADE_AREA_GROUPS_PKG SQL Statements
12.2.2
-
VIEW: RRS.RRS_TRADE_AREA_GROUPS_B#
12.2.2
-
SYNONYM: APPS.RRS_TRADE_AREA_GROUPS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RRS_TRADE_AREA_GROUPS_B, status:VALID,
-
APPS.RRS_TRADE_AREA_GROUPS_PKG SQL Statements
12.1.1
-
SYNONYM: APPS.RRS_TRADE_AREA_GROUPS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RRS_TRADE_AREA_GROUPS_B, status:VALID,
-
VIEW: APPS.RRS_TRADE_AREA_GROUPS_VL
12.2.2
-
VIEW: APPS.RRS_TRADE_AREA_GROUPS_VL
12.1.1
-
TABLE: RRS.RRS_TRADE_AREA_GROUPS_B
12.1.1
owner:RRS, object_type:TABLE, fnd_design_data:RRS.RRS_TRADE_AREA_GROUPS_B, object_name:RRS_TRADE_AREA_GROUPS_B, status:VALID,
-
PACKAGE BODY: APPS.RRS_TRADE_AREA_GROUPS_PKG
12.1.1
-
PACKAGE BODY: APPS.RRS_TRADE_AREA_GROUPS_PKG
12.2.2
-
TABLE: RRS.RRS_TRADE_AREA_GROUPS_B
12.2.2
owner:RRS, object_type:TABLE, fnd_design_data:RRS.RRS_TRADE_AREA_GROUPS_B, object_name:RRS_TRADE_AREA_GROUPS_B, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
Table: RRS_GROUP_TRADE_AREAS
12.1.1
owner:RRS, object_type:TABLE, fnd_design_data:RRS.RRS_GROUP_TRADE_AREAS, object_name:RRS_GROUP_TRADE_AREAS, status:VALID, product: RRS - Site Management , implementation_dba_data: RRS.RRS_GROUP_TRADE_AREAS ,
-
Table: RRS_GROUP_TRADE_AREAS
12.2.2
owner:RRS, object_type:TABLE, fnd_design_data:RRS.RRS_GROUP_TRADE_AREAS, object_name:RRS_GROUP_TRADE_AREAS, status:VALID, product: RRS - Site Management , description: This table stores the Trade Area Group and radii information of Radii/ Donut shapeTrade Areas. , implementation_dba_data: RRS.RRS_GROUP_TRADE_AREAS ,
-
12.2.2 DBA Data
12.2.2
-
Table: RRS_TRADE_AREA_GROUPS_TL
12.2.2
owner:RRS, object_type:TABLE, fnd_design_data:RRS.RRS_TRADE_AREA_GROUPS_TL, object_name:RRS_TRADE_AREA_GROUPS_TL, status:VALID, product: RRS - Site Management , description: This table stores all the translatable information related to Trade Area Groups. , implementation_dba_data: RRS.RRS_TRADE_AREA_GROUPS_TL ,
-
12.1.1 FND Design 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
-
12.2.2 DBA Data
12.2.2
-
APPS.RRS_SITE_UTILS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.RRS_TRADE_AREA_GROUPS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:RRS_TRADE_AREA_GROUPS_PKG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.RRS_TRADE_AREA_GROUPS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:RRS_TRADE_AREA_GROUPS_PKG, status:VALID,
-
PACKAGE BODY: APPS.RRS_SITE_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:RRS_SITE_UTILS, status:VALID,
-
PACKAGE BODY: APPS.RRS_SITE_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:RRS_SITE_UTILS, status:VALID,
-
eTRM - RRS Tables and Views
12.1.1
description: This table stores all the translatable information related to Trade Area Groups. ,
-
eTRM - RRS Tables and Views
12.2.2
description: This table stores all the translatable information related to Trade Area Groups. ,
-
APPS.RRS_SITE_UTILS SQL Statements
12.2.2
-
VIEW: APPS.RRS_TRADE_AREA_GROUPS_VL
12.1.1
owner:APPS, object_type:VIEW, object_name:RRS_TRADE_AREA_GROUPS_VL, status:VALID,
-
VIEW: APPS.RRS_TRADE_AREA_GROUPS_VL
12.2.2
owner:APPS, object_type:VIEW, object_name:RRS_TRADE_AREA_GROUPS_VL, status:VALID,
-
PACKAGE BODY: APPS.RRS_SITE_UTILS
12.1.1
-
PACKAGE BODY: APPS.RRS_SITE_UTILS
12.2.2
-
APPS.RRS_SITE_UTILS dependencies on RRS_TRADE_AREA_GROUPS_B
12.1.1
-
APPS.RRS_TRADE_AREA_GROUPS_PKG dependencies on RRS_TRADE_AREA_GROUPS_B
12.1.1
-
APPS.RRS_SITE_UTILS dependencies on RRS_TRADE_AREA_GROUPS_B
12.2.2
-
APPS.RRS_TRADE_AREA_GROUPS_PKG dependencies on RRS_TRADE_AREA_GROUPS_B
12.2.2
-
eTRM - RRS Tables and Views
12.1.1
description: This table stores all the translatable information related to Trade Area Groups. ,
-
eTRM - RRS Tables and Views
12.2.2
description: This table stores all the translatable information related to Trade Area Groups. ,
-
APPS.RRS_SITE_UTILS dependencies on RRS_LOC_TRADE_AREA_GRPS
12.1.1
-
APPS.RRS_SITE_UTILS dependencies on SDO_UTIL
12.1.1
-
APPS.RRS_SITE_UTILS dependencies on RRS_LOC_TRADE_AREA_GRPS
12.2.2
-
APPS.RRS_SITE_UTILS dependencies on RRS_GROUP_TRADE_AREAS
12.1.1
-
APPS.RRS_SITE_UTILS dependencies on SDO_UTIL
12.2.2