Search Results ra_territories
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 ,
-
APPS.OE_INVOICE_PUB dependencies on RA_TERRITORIES
12.1.1
-
APPS.OE_INVOICE_PUB dependencies on RA_TERRITORIES
12.2.2
-
APPS.OKL_SUC_PVT dependencies on RA_TERRITORIES
12.1.1
-
APPS.JTF_RESOURCE_UTL dependencies on RA_TERRITORIES
12.1.1
-
APPS.POA_EDW_TRD_PNTR_M_SIZE dependencies on RA_TERRITORIES
12.1.1
-
APPS.JTF_RS_SRP_TERRITORIES_PVT dependencies on RA_TERRITORIES
12.1.1
-
APPS.GMF_AR_GET_SREP_TERRITORIES dependencies on RA_TERRITORIES
12.1.1
-
APPS.BOM_CSTROMMA_XMLP_PKG dependencies on RA_TERRITORIES
12.1.1
-
APPS.JTF_RS_SRP_TERRITORIES_PVT dependencies on RA_TERRITORIES
12.2.2
-
APPS.JTF_RESOURCE_UTL dependencies on RA_TERRITORIES
12.2.2
-
APPS.BOM_CSTROMMA_XMLP_PKG dependencies on RA_TERRITORIES
12.2.2
-
APPS.OKL_SUC_PVT dependencies on RA_TERRITORIES
12.2.2
-
APPS.GMF_AR_GET_SREP_TERRITORIES dependencies on RA_TERRITORIES
12.2.2
-
VIEW: APPS.RA_TERRITORIES_DFV
12.2.2
-
VIEW: APPS.RA_TERRITORIES_DFV
12.1.1
-
SYNONYM: APPS.RA_TERRITORIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_TERRITORIES, status:VALID,
-
SYNONYM: APPS.RA_TERRITORIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_TERRITORIES, status:VALID,
-
VIEW: AR.RA_TERRITORIES#
12.2.2
owner:AR, object_type:VIEW, object_name:RA_TERRITORIES#, status:VALID,
-
VIEW: AR.RA_TERRITORIES#
12.2.2
-
View: RHX_DP_SHIPMENTS_V
12.1.1
product: MRP - Master Scheduling/MRP , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.ICX_CST_TERRITORY_30DAY_V
12.1.1
-
VIEW: APPS.ICX_CST_TERRITORY_90DAY_V
12.1.1
-
APPS.GMF_AR_GET_SREP_TERRITORIES dependencies on RA_SALESREP_TERRITORIES
12.1.1
-
View: RHX_DP_L_TERRITORY_V
12.2.2
product: MRP - Master Scheduling/MRP , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: RHX_DP_BOOKINGS_V
12.1.1
product: MRP - Master Scheduling/MRP , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: RHX_DP_SHIPMENTS_V
12.2.2
product: MRP - Master Scheduling/MRP , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
View: RHX_DP_BOOKINGS_V
12.2.2
product: MRP - Master Scheduling/MRP , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
Table: RA_SALESREP_TERRITORIES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_SALESREP_TERRITORIES, object_name:RA_SALESREP_TERRITORIES, status:VALID, product: AR - Receivables , description: Territory information for salespeople , implementation_dba_data: AR.RA_SALESREP_TERRITORIES ,
-
Table: RA_SALESREP_TERRITORIES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_SALESREP_TERRITORIES, object_name:RA_SALESREP_TERRITORIES, status:VALID, product: AR - Receivables , description: Territory information for salespeople , implementation_dba_data: AR.RA_SALESREP_TERRITORIES ,
-
VIEW: APPS.RA_TERRITORIES_DFV
12.2.2
owner:APPS, object_type:VIEW, object_name:RA_TERRITORIES_DFV, status:VALID,
-
VIEW: APPS.AR_CM_PAY_SITE_USES_H_V
12.1.1
-
VIEW: APPS.ICX_CST_TERRITORY_7DAY_V
12.1.1
-
PACKAGE BODY: APPS.GMF_AR_GET_SREP_TERRITORIES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GMF_AR_GET_SREP_TERRITORIES, status:VALID,
-
APPS.GMF_AR_GET_SREP_TERRITORIES dependencies on RA_SALESREP_TERRITORIES
12.2.2
-
View: RHX_DP_L_TERRITORY_V
12.1.1
product: MRP - Master Scheduling/MRP , description: - Retrofitted , implementation_dba_data: Not implemented in this database ,
-
PACKAGE BODY: APPS.GMF_AR_GET_SREP_TERRITORIES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GMF_AR_GET_SREP_TERRITORIES, status:VALID,
-
VIEW: APPS.ARFV_LOCATIONS
12.1.1
-
VIEW: APPS.AR_RCT_SITE_USES_S_V
12.1.1
-
PACKAGE BODY: APPS.POA_EDW_TRD_PNTR_M_SIZE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:POA_EDW_TRD_PNTR_M_SIZE, status:VALID,
-
TABLE: AR.RA_TERRITORIES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_TERRITORIES, object_name:RA_TERRITORIES, status:VALID,
-
TABLE: AR.RA_TERRITORIES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_TERRITORIES, object_name:RA_TERRITORIES, status:VALID,
-
VIEW: APPS.RA_TERRITORIES_DFV
12.1.1
owner:APPS, object_type:VIEW, object_name:RA_TERRITORIES_DFV, status:VALID,
-
VIEW: APPS.CST_BIS_MARGIN_ANALYSIS_V
12.1.1
-
VIEW: APPS.AR_CM_SHIP_TO_SITE_USES_S_V
12.1.1
-
VIEW: APPS.AR_DRAWEE_SITE_USES_H_V
12.2.2
-
VIEW: APPS.OKL_RA_TERRITORIES_UV
12.2.2
-
VIEW: APPS.AR_CM_SOLD_SITE_USES_H_V
12.1.1
-
VIEW: APPS.AR_CM_SOLD_SITE_USES_H_V
12.2.2