Search Results rrs_site_uses
Overview
RRS_SITE_USES is a table owned by the RRS schema within the Oracle E-Business Suite Site Management module (RRS). It stores the individual use assignments that apply to a site record, allowing a single site to carry multiple functional roles — such as billing, shipping, receiving, or payment — without duplicating the underlying site definition. In Oracle EBS 12.1.1 and 12.2.2 this pattern mirrors the classic party-site model, where a site is a physical or logical location and site uses enumerate the operational purposes for which that location may be referenced. The table is a core supporting structure for downstream transactional and setup flows that validate whether a given site may be used for a particular activity.
Based on the foreign-key structure mined from the ETRM 12.2.2 metadata, the heuristic Data Vault classification is satellite-leaning. The table carries descriptive and state attributes (status, primary flag, audit columns) that describe a parent site entity, which is consistent with satellite behaviour rather than a pure hub or link. This classification should be treated as a modeling suggestion only.
Key Information Stored
The physical schema documents 11 columns. The most significant are listed below.
- SITE_USE_ID — surrogate primary key, constrained by
RRS_SITE_USES_PKand additionally by unique indexRRS_SITE_USES_U1. This is the row-level identifier used by downstream foreign keys. - SITE_ID — foreign key to the parent site record; the primary join column for retrieving all uses belonging to a site.
- SITE_USE_TYPE_CODE — the business classification of the use (for example, a billing or shipping role). Together with
SITE_IDit forms the unique indexRRS_SITE_USES_U2, making it a business-key candidate that guarantees one row per site/use-type combination. - STATUS_CODE — the lifecycle state of the use, typically controlling whether the use is active or inactive.
- IS_PRIMARY_FLAG — flags the primary use for a site, used where a site must nominate a default role.
- OBJECT_VERSION_NUMBER — optimistic locking column used by the ADF/BC4J framework for concurrent update control.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — standard Oracle EBS audit columns capturing who created and last changed the record.
Common Use Cases and Queries
Typical scenarios include validating that a site may be used for an activity, reporting active uses per site, and resolving the primary use for a location. A common query pattern is:
- Retrieving all active uses for a site:
SELECT su.site_use_id, su.site_use_type_code, su.status_code, su.is_primary_flag FROM rrs_site_uses su WHERE su.site_id = :site_id AND su.status_code = 'A'; - Locating the primary use:
SELECT site_use_id FROM rrs_site_uses WHERE site_id = :site_id AND is_primary_flag = 'Y'; - Identifying sites that hold a specific use type:
SELECT site_id FROM rrs_site_uses WHERE site_use_type_code = :use_type AND status_code = 'A';
Reporting typically joins RRS_SITE_USES to the parent site table to present site name alongside use type, and filters on STATUS_CODE to exclude retired uses.
Related Objects
- RRS_SITE_USES (parent site record) — the FK on
RRS_SITE_USES.SITE_IDlinks each use to its owning site; joins are performed onSITE_ID. - RRS_SITE_USES_PK — primary-key constraint indexed on
SITE_USE_ID, referenced by dependent child tables. - RRS_SITE_USES_U1 — unique index on
SITE_USE_ID. - RRS_SITE_USES_U2 — unique business-key index on (
SITE_ID, SITE_USE_TYPE_CODE), enforcing uniqueness of a use per site. - The parent RRS site table referenced through
SITE_ID, which supplies the site definition this table decorates.
-
Table: RRS_SITE_USES
12.1.1
owner:RRS, object_type:TABLE, fnd_design_data:RRS.RRS_SITE_USES, object_name:RRS_SITE_USES, status:VALID, product: RRS - Site Management , implementation_dba_data: RRS.RRS_SITE_USES ,
-
Table: RRS_SITE_USES
12.2.2
owner:RRS, object_type:TABLE, fnd_design_data:RRS.RRS_SITE_USES, object_name:RRS_SITE_USES, status:VALID, product: RRS - Site Management , description: This table stores information about how a site is used. Site can have multiple uses, for example Store , Distribution Centre , Mail Box etc. , implementation_dba_data: RRS.RRS_SITE_USES ,
-
VIEW: RRS.RRS_SITE_USES#
12.2.2
owner:RRS, object_type:VIEW, object_name:RRS_SITE_USES#, status:VALID,
-
SYNONYM: APPS.RRS_SITE_USES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RRS_SITE_USES, status:VALID,
-
SYNONYM: APPS.RRS_SITE_USES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RRS_SITE_USES, status:VALID,
-
VIEW: RRS.RRS_SITE_USES#
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
Table: RRS_SITES_B
12.2.2
owner:RRS, object_type:TABLE, fnd_design_data:RRS.RRS_SITES_B, object_name:RRS_SITES_B, status:VALID, product: RRS - Site Management , description: This table is used to store the basic information about sites. , implementation_dba_data: RRS.RRS_SITES_B ,
-
PACKAGE BODY: APPS.RRS_SITES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:RRS_SITES_PKG, status:VALID,
-
TABLE: RRS.RRS_SITE_USES
12.1.1
owner:RRS, object_type:TABLE, fnd_design_data:RRS.RRS_SITE_USES, object_name:RRS_SITE_USES, status:VALID,
-
TABLE: RRS.RRS_SITE_USES
12.2.2
owner:RRS, object_type:TABLE, fnd_design_data:RRS.RRS_SITE_USES, object_name:RRS_SITE_USES, status:VALID,
-
12.1.1 DBA Data
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.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.RRS_SITES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:RRS_SITES_PKG, status:VALID,
-
APPS.RRS_HIERARCHY_INFO SQL Statements
12.2.2
-
PACKAGE BODY: APPS.RRS_HIERARCHY_INFO
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:RRS_HIERARCHY_INFO, status:VALID,
-
PACKAGE BODY: APPS.RRS_HIERARCHY_CRUD_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:RRS_HIERARCHY_CRUD_PKG, status:VALID,
-
PACKAGE BODY: APPS.RRS_ATTR_PANE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:RRS_ATTR_PANE, status:VALID,
-
PACKAGE BODY: APPS.RRS_IMPORT_INTERFACE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:RRS_IMPORT_INTERFACE_PKG, status:VALID,
-
APPS.RRS_HIERARCHY_CRUD_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.RRS_SITE_INFO
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:RRS_SITE_INFO, status:VALID,
-
PACKAGE BODY: APPS.RRS_SITE_INFO
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:RRS_SITE_INFO, status:VALID,
-
APPS.RRS_SITES_PKG SQL Statements
12.1.1
-
APPS.RRS_SITES_PKG SQL Statements
12.2.2
-
APPS.RRS_SITE_INFO SQL Statements
12.2.2
-
APPS.RRS_SITE_INFO SQL Statements
12.1.1
-
APPS.RRS_IMPORT_INTERFACE_PKG SQL Statements
12.2.2
-
eTRM - RRS Tables and Views
12.1.1
description: This table stores all the translatable information related to Trade Area Groups. ,
-
APPS.RRS_ATTR_PANE SQL Statements
12.2.2
-
APPS.RRS_SITE_UDA_BULKLOAD_INTF SQL Statements
12.2.2
-
eTRM - RRS Tables and Views
12.2.2
description: This table stores all the translatable information related to Trade Area Groups. ,
-
PACKAGE BODY: APPS.RRS_SITES_PKG
12.2.2
-
PACKAGE BODY: APPS.RRS_SITES_PKG
12.1.1
-
PACKAGE BODY: APPS.RRS_HIERARCHY_CRUD_PKG
12.2.2
-
APPS.RRS_ATTR_PANE dependencies on RRS_SITE_USES
12.2.2
-
APPS.RRS_HIERARCHY_CRUD_PKG dependencies on RRS_SITE_USES
12.2.2
-
APPS.RRS_SITE_INFO dependencies on RRS_SITE_USES
12.1.1
-
APPS.RRS_SITE_INFO dependencies on RRS_SITE_USES
12.2.2
-
APPS.RRS_SITES_PKG dependencies on RRS_SITE_USES
12.1.1
-
APPS.RRS_HIERARCHY_INFO dependencies on RRS_SITE_USES
12.2.2
-
APPS.RRS_IMPORT_INTERFACE_PKG dependencies on RRS_SITE_USES
12.2.2
-
APPS.RRS_SITES_PKG dependencies on RRS_SITE_USES
12.2.2
-
Foreign Keys
12.1.1