Search Results jtf_loc_postal_codes
Overview
The JTF_LOC_POSTAL_CODES table is a core data object within the Oracle E-Business Suite CRM Foundation (JTF) module. It functions as a generic repository for defining postal code ranges associated with specific geographical location areas. Its primary role is to enable the system to manage and validate postal codes within predefined territories, which is fundamental for numerous CRM and logistics operations. By storing these ranges, the table supports critical business functions such as territory management, sales resource assignment, service area definition, and location-based reporting. It acts as a bridge between high-level location definitions and the granular postal code data used in customer and site records.
Key Information Stored
The table's structure is designed to store postal code ranges for a given area. The most critical columns include the primary key, LOCATION_POSTAL_CODE_ID, which uniquely identifies each postal code range record. The foreign key column, LOCATION_AREA_ID, links the postal code range to its parent geographical area defined in the JTF_LOC_AREAS_B table. While the exact column list is not fully detailed in the provided metadata, a table of this nature typically contains columns to define the range, such as POSTAL_FROM and POSTAL_TO, and potentially a POSTAL_CODE column for single codes. It may also include standard WHO columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE) for auditing and a STATUS column to activate or invalidate a range.
Common Use Cases and Queries
This table is central to operations requiring postal code validation against defined territories. A common use case is determining the assigned territory or service area for a given customer address by matching its postal code against the ranges stored in this table. For reporting, it is used to aggregate sales or service data by geographical region. A typical query pattern involves joining to the location areas table to fetch descriptive information.
- Finding the area for a specific postal code:
SELECT la.NAME FROM jtf_loc_areas_b la, jtf_loc_postal_codes pc WHERE la.location_area_id = pc.location_area_id AND '90210' BETWEEN pc.postal_from AND pc.postal_to; - Listing all postal code ranges for an area:
SELECT postal_from, postal_to FROM jtf_loc_postal_codes WHERE location_area_id = <AREA_ID> ORDER BY postal_from;
Related Objects
The JTF_LOC_POSTAL_CODES table has a direct and documented foreign key relationship with the JTF_LOC_AREAS_B table, which is the core table for defining location areas. The relationship is defined as follows:
- Foreign Key to JTF_LOC_AREAS_B: The column JTF_LOC_POSTAL_CODES.LOCATION_AREA_ID references the primary key of JTF_LOC_AREAS_B. This enforces that every postal code range must be associated with a valid, pre-existing location area. This is the primary relationship for navigating from a postal code to its higher-level geographical definition.
Other related objects may include application programming interfaces (APIs) within the JTF_LOCATION_PUB package for managing location data, and various views that present denormalized location information for reporting and application forms.
-
Table: JTF_LOC_POSTAL_CODES
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_LOC_POSTAL_CODES, object_name:JTF_LOC_POSTAL_CODES, status:VALID, product: JTF - CRM Foundation , description: A generic table that stores range of postal code within a location area. , implementation_dba_data: JTF.JTF_LOC_POSTAL_CODES ,
-
Table: JTF_LOC_POSTAL_CODES
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_LOC_POSTAL_CODES, object_name:JTF_LOC_POSTAL_CODES, status:VALID, product: JTF - CRM Foundation , description: A generic table that stores range of postal code within a location area. , implementation_dba_data: JTF.JTF_LOC_POSTAL_CODES ,
-
APPS.JTF_LOC_POSTAL_CODES_PVT dependencies on JTF_LOC_POSTAL_CODES
12.1.1
-
APPS.JTF_LOC_PVT dependencies on JTF_LOC_POSTAL_CODES
12.1.1
-
APPS.JTF_LOC_POSTAL_CODES_PKG dependencies on JTF_LOC_POSTAL_CODES
12.2.2
-
APPS.JTF_LOC_POSTAL_CODES_PVT dependencies on JTF_LOC_POSTAL_CODES
12.2.2
-
APPS.JTF_LOC_PVT dependencies on JTF_LOC_POSTAL_CODES
12.2.2
-
APPS.JTF_LOC_POSTAL_CODES_PKG dependencies on JTF_LOC_POSTAL_CODES
12.1.1
-
APPS.JTF_LOC_POSTAL_CODES_PVT dependencies on JTF_LOC_POSTAL_CODES_S
12.1.1
-
APPS.JTF_LOC_POSTAL_CODES_PKG dependencies on JTF_LOC_POSTAL_CODES_S
12.2.2
-
APPS.JTF_LOC_POSTAL_CODES_PKG SQL Statements
12.1.1
-
APPS.JTF_LOC_POSTAL_CODES_PKG SQL Statements
12.2.2
-
APPS.JTF_LOC_POSTAL_CODES_PVT dependencies on JTF_LOC_POSTAL_CODES_S
12.2.2
-
APPS.JTF_LOC_POSTAL_CODES_PVT SQL Statements
12.1.1
-
APPS.JTF_LOC_POSTAL_CODES_PKG dependencies on JTF_LOC_POSTAL_CODES_S
12.1.1
-
APPS.JTF_LOC_POSTAL_CODES_PVT SQL Statements
12.2.2
-
VIEW: JTF.JTF_LOC_POSTAL_CODES#
12.2.2
owner:JTF, object_type:VIEW, object_name:JTF_LOC_POSTAL_CODES#, status:VALID,
-
SYNONYM: APPS.JTF_LOC_POSTAL_CODES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_LOC_POSTAL_CODES, status:VALID,
-
APPS.JTF_LOC_PVT dependencies on JTF_LOC_AREAS_VL
12.1.1
-
SYNONYM: APPS.JTF_LOC_POSTAL_CODES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_LOC_POSTAL_CODES, status:VALID,
-
VIEW: JTF.JTF_LOC_POSTAL_CODES#
12.2.2
-
APPS.JTF_LOC_PVT dependencies on JTF_LOC_AREAS_VL
12.2.2
-
PACKAGE BODY: APPS.JTF_LOC_POSTAL_CODES_PKG
12.2.2
-
PACKAGE BODY: APPS.JTF_LOC_POSTAL_CODES_PKG
12.1.1
-
APPS.JTF_LOC_POSTAL_CODES_PVT dependencies on FND_GLOBAL
12.1.1
-
APPS.JTF_LOC_POSTAL_CODES_PVT dependencies on FND_GLOBAL
12.2.2
-
APPS.JTF_LOC_POSTAL_CODES_PVT dependencies on DUAL
12.2.2
-
APPS.JTF_LOC_PVT SQL Statements
12.1.1
-
APPS.JTF_LOC_POSTAL_CODES_PVT dependencies on DUAL
12.1.1
-
APPS.JTF_LOC_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.JTF_LOC_POSTAL_CODES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_LOC_POSTAL_CODES_PKG, status:VALID,
-
PACKAGE BODY: APPS.JTF_LOC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_LOC_PVT, status:VALID,
-
PACKAGE BODY: APPS.JTF_LOC_POSTAL_CODES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_LOC_POSTAL_CODES_PKG, status:VALID,
-
VIEW: APPS.JTF_LOC_HIERARCHIES_VL
12.2.2
-
TABLE: JTF.JTF_LOC_POSTAL_CODES
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_LOC_POSTAL_CODES, object_name:JTF_LOC_POSTAL_CODES, status:VALID,
-
VIEW: APPS.JTF_LOC_HIERARCHIES_VL
12.1.1
-
PACKAGE BODY: APPS.JTF_LOC_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_LOC_PVT, status:VALID,
-
PACKAGE BODY: APPS.JTF_LOC_POSTAL_CODES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_LOC_POSTAL_CODES_PVT, status:VALID,
-
TABLE: JTF.JTF_LOC_POSTAL_CODES
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_LOC_POSTAL_CODES, object_name:JTF_LOC_POSTAL_CODES, status:VALID,
-
APPS.JTF_LOC_POSTAL_CODES_PVT dependencies on FND_API
12.1.1
-
Table: JTF_LOC_AREAS_B
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_LOC_AREAS_B, object_name:JTF_LOC_AREAS_B, status:VALID, product: JTF - CRM Foundation , description: A generic table to hold geographical location definitions that is not stored somewhere else in Oracle Applications. , implementation_dba_data: JTF.JTF_LOC_AREAS_B ,
-
PACKAGE BODY: APPS.JTF_LOC_POSTAL_CODES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_LOC_POSTAL_CODES_PVT, status:VALID,
-
Table: JTF_LOC_AREAS_B
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_LOC_AREAS_B, object_name:JTF_LOC_AREAS_B, status:VALID, product: JTF - CRM Foundation , description: A generic table to hold geographical location definitions that is not stored somewhere else in Oracle Applications. , implementation_dba_data: JTF.JTF_LOC_AREAS_B ,
-
APPS.JTF_LOC_POSTAL_CODES_PVT dependencies on FND_API
12.2.2
-
PACKAGE: APPS.JTF_LOC_POSTAL_CODES_PVT
12.1.1
-
APPS.JTF_LOC_POSTAL_CODES_PVT dependencies on JTF_UTILITY_PVT
12.1.1
-
PACKAGE: APPS.JTF_LOC_POSTAL_CODES_PVT
12.2.2
-
APPS.JTF_LOC_POSTAL_CODES_PVT dependencies on JTF_UTILITY_PVT
12.2.2
-
View: JTF_LOC_HIERARCHIES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_LOC_HIERARCHIES_VL, object_name:JTF_LOC_HIERARCHIES_VL, status:VALID, product: JTF - CRM Foundation , description: View based on JTF_LOC_HIERARCHIES_B table. , implementation_dba_data: APPS.JTF_LOC_HIERARCHIES_VL ,
-
View: JTF_LOC_HIERARCHIES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_LOC_HIERARCHIES_VL, object_name:JTF_LOC_HIERARCHIES_VL, status:VALID, product: JTF - CRM Foundation , description: View based on JTF_LOC_HIERARCHIES_B table. , implementation_dba_data: APPS.JTF_LOC_HIERARCHIES_VL ,