Search Results ra_territories_pk
Overview
The RA_TERRITORIES table is a core reference table within the Oracle E-Business Suite Receivables (AR) module, serving as the master repository for territory definitions. In the context of Oracle EBS 12.1.1 and 12.2.2, a territory is a geographical or organizational segment used to partition customers, transactions, and sales representatives for management, reporting, and commission calculations. This table enables structured sales force management and provides a critical dimension for analyzing business performance by region. Its integrity is maintained by a primary key constraint, and it is extensively referenced by transactional and master data tables across the Receivables and Trading Community Architecture (TCA) modules, forming a foundational element of the customer and sales hierarchy.
Key Information Stored
The primary data stored in RA_TERRITORIES revolves around territory identification and descriptive attributes. The key column is TERRITORY_ID, which serves as the unique primary key (RA_TERRITORIES_PK) for all territory records. While the provided ETRM excerpt does not list all columns, standard implementation columns such as NAME, DESCRIPTION, START_DATE_ACTIVE, and END_DATE_ACTIVE are typically present to define the territory's identity, purpose, and valid date range. The table also standardly includes CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, and LAST_UPDATED_BY for auditing purposes. The data is owned by the AR schema and is central to territory-based segmentation.
Common Use Cases and Queries
This table is primarily used for territory assignment, reporting, and validation. Common operational scenarios include assigning a territory to a customer site or a sales transaction, and generating sales performance reports segmented by territory. A frequent query involves joining RA_TERRITORIES to transactional data to analyze revenue. For example:
SELECT rt.NAME TERRITORY_NAME, SUM(rct.extended_amount) TOTAL_REVENUE FROM ra_customer_trx_all rct, ra_territories rt WHERE rct.territory_id = rt.territory_id GROUP BY rt.NAME;- Validating active territories for a sales representative assignment:
SELECT territory_id, name FROM ra_territories WHERE SYSDATE BETWEEN start_date_active AND NVL(end_date_active, SYSDATE); - Troubleshooting data issues by identifying transactions linked to invalid territory IDs through anti-joins with RA_TERRITORIES.
Related Objects
As indicated by the foreign key relationships, RA_TERRITORIES is a parent table to several critical objects. Key child tables include:
- RA_CUSTOMER_TRX_ALL: Links transactions to a specific territory for sales analysis.
- RA_SALESREP_TERRITORIES: Maps sales representatives to their assigned territories.
- HZ_CUST_ACCT_SITES_ALL and HZ_CUST_SITE_USES_ALL: Associates customer physical locations (TCA model) with a territory.
- RA_ADDRESSES_ALL and RA_SITE_USES_ALL: Legacy Receivables tables that also store territory assignments for customer sites.
These relationships ensure territory data integrity is enforced at the database level wherever territory information is stored.
-
Table: RA_TERRITORIES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_TERRITORIES, object_name:RA_TERRITORIES, status:VALID, product: AR - Receivables , description: Territory information , implementation_dba_data: AR.RA_TERRITORIES ,
-
Table: RA_TERRITORIES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_TERRITORIES, object_name:RA_TERRITORIES, status:VALID, product: AR - Receivables , description: Territory information , implementation_dba_data: AR.RA_TERRITORIES ,
-
eTRM - AR Tables and Views
12.2.2
description: Territory information ,
-
eTRM - AR Tables and Views
12.1.1
description: Territory information ,
-
eTRM - AR Tables and Views
12.1.1
description: Territory information ,
-
eTRM - AR Tables and Views
12.2.2
description: Territory information ,