Results for “jtf_terr_columns_v”
16 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
JTF_TERR_COLUMNS_V is a read-only database view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the JTF (CRM Foundation) product family. Its documented purpose is to present the set of columns associated with a given table, specifically to support the definition of user-defined qualifiers within the Oracle Territory Management and CRM Foundation framework. In practical terms, the view acts as a filtered, ordered projection of the data dictionary, giving application code and administrators a stable, product-scoped interface for enumerating table columns without querying the data dictionary directly.
Because the view is defined in the APPS schema and is marked VALID, it is available to any EBS responsibility or concurrent program with appropriate grants. It functions as a metadata access layer rather than a transactional object; no DML is performed against it. Its principal consumers are territory administration forms, qualifier setup logic, and reporting or integration processes that need to discover which columns are available on a table before building dynamic predicates.
Underlying Base Objects
The view is defined over a single documented base object: ALL_TAB_COLUMNS, accessed through a synonym. The full view text, as recorded in the ETRM repository, is:
- SELECT TABLE_NAME, COLUMN_NAME, COLUMN_ID, DATA_TYPE, DATA_LENGTH, NULLABLE FROM ALL_TAB_COLUMNS ORDER BY TABLE_NAME, COLUMN_ID
ALL_TAB_COLUMNS is the standard Oracle data dictionary view describing every column of every table, view, and cluster visible to the current user. While the dictionary view is schema- and privilege-aware, JTF_TERR_COLUMNS_V does not add its own filtering predicate on owner or on a specific JTF table; the restriction to relevant tables occurs in the calling application logic. The only transformation applied is the explicit column list and the ORDER BY TABLE_NAME, COLUMN_ID sort, which guarantees deterministic column ordering across releases.
Key Columns
- TABLE_NAME — Name of the table (or view/cluster) to which the column belongs. This is the primary grouping key for all consumers of the view.
- COLUMN_NAME — Name of the individual column, used as the identifier when constructing user-defined qualifier definitions.
- COLUMN_ID — Numeric ordinal position of the column within the table definition. Because the view is sorted by TABLE_NAME and COLUMN_ID, this column also determines the presentation order in territory qualifier setup screens.
- DATA_TYPE — Declared datatype of the column (for example VARCHAR2, NUMBER, DATE). This governs the type of comparison operator and value validation offered when a qualifier is defined.
- DATA_LENGTH — Declared maximum length in bytes (or characters for character-semantics columns) of the column. This is the attribute most often searched for, since it bounds the size of values that a qualifier may accept and is used to size validation and display logic.
- NULLABLE — Indicates whether the column permits null values (Y or N), which influences whether a qualifier may be left unconstrained.
Common Use Cases and Queries
The view is typically joined to territory qualifier setup tables to render a list of selectable columns for a given base table, or queried ad hoc by implementers validating datatypes and lengths before configuring user-defined qualifiers.
To inspect available columns for a specific table:
- SELECT COLUMN_ID, COLUMN_NAME, DATA_TYPE, DATA_LENGTH, NULLABLE FROM APPS.JTF_TERR_COLUMNS_V WHERE TABLE_NAME = :p_table_name ORDER BY COLUMN_ID;
To locate columns by length, which matches the common search term associated with this object:
- SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE, DATA_LENGTH FROM APPS.JTF_TERR_COLUMNS_V WHERE DATA_LENGTH > 100 AND NULLABLE = 'Y' ORDER BY TABLE_NAME, COLUMN_ID;
To obtain a distinct inventory of tables exposed through the view for a given owner context, a DISTINCT query on TABLE_NAME with an application-side restriction is used, since the view itself imposes none. Because JTF_TERR_COLUMNS_V inherits the privilege model of ALL_TAB_COLUMNS, results reflect only objects visible to the querying user, so results may differ between the APPS account and a restricted end-user schema. On 12.1.1 and 12.2.2 the definition is unchanged, making the view a reliable, release-independent metadata source for territory qualifier configuration.
-
View: JTF_TERR_COLUMNS_V 12.1.1
Shows a list of column associated with a table. This is used for defining user defined qualifiers
APPS.JTF_TERR_COLUMNS_V·↳ ALL_TAB_COLUMNS·Explore JTF module →
-
View: JTF_TERR_COLUMNS_V 12.2.2
Shows a list of column associated with a table. This is used for defining user defined qualifiers
APPS.JTF_TERR_COLUMNS_V·↳ ALL_TAB_COLUMNS·Explore JTF module →
-
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
-
12.2.2 FND Design Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
eTRM - JTF Tables and Views 12.2.2
Interface table to store data that needs to be displayed in Excel
-
eTRM - JTF Tables and Views 12.1.1
Interface table to store data that needs to be displayed in Excel
-
eTRM - JTF Tables and Views 12.1.1
Interface table to store data that needs to be displayed in Excel
-
eTRM - JTF Tables and Views 12.2.2
Interface table to store data that needs to be displayed in Excel