Search Results jty_dea_attr_products_sql
Overview
JTY_DEA_ATTR_PRODUCTS_SQL is a CRM Foundation (JTF) transactional configuration table within Oracle E-Business Suite 12.1.1 and 12.2.2. It stores attribute-level product SQL definitions that drive date effectivity assignment (DEA) processing. In practical terms, the table holds the batch SQL statements used by the Date Effectivity Assignment engine to match and assign date-effective attributes to products and territories. Each row represents a stored SQL fragment—typically associated with a source, transaction type, and program context—that the concurrent processing framework executes during DEA batch runs.
The ETRM metadata classifies this object, using a heuristic Data Vault model, as standalone. That classification is a modeling suggestion: the table's only documented foreign key points to FND_SECURITY_GROUPS (via SECURITY_GROUP_ID), and it has no inbound or outbound business-entity relationships mined from the FK structure. It therefore behaves as a reference/configuration satellite rather than a hub or link in a strict Data Vault sense, though its WHO-columns (CREATED_BY, LAST_UPDATED_BY, REQUEST_ID) give it the characteristic audit signature of a satellite-style record.
Key Information Stored
The physical schema in 12.2.2 exposes 20 columns owned by JTF. The most significant are:
- DEA_ATTR_PRODUCTS_SQL_ID — the surrogate primary key for each stored SQL definition.
- SOURCE_ID and TRANS_TYPE_ID — identify the source system and transaction type the SQL applies to, scoping which DEA records the statement processes.
- ATTR_RELATION_PRODUCT — the attribute-relation product identifier that binds the SQL to a specific product attribute relation.
- BATCH_DEA_MATCH_SQL and BATCH_DEA_MATCH_SQL_WITH_TERR — the core business payload: the SQL text used for batch DEA matching, with the second variant incorporating territory criteria.
- PROGRAM_NAME, PROGRAM_ID, PROGRAM_APPLICATION_ID, PROGRAM_LOGIN_ID, REQUEST_ID, PROGRAM_UPDATE_DATE — concurrent program audit context identifying which request created or last modified the SQL definition.
- KEEP_FLAG — a retention indicator governing whether the SQL definition should be preserved during maintenance or regeneration.
- SECURITY_GROUP_ID — mutable security grouping, documented as a foreign key to FND_SECURITY_GROUPS.
- OBJECT_VERSION_NUMBER — optimistic locking column used by the OAF/BC4J framework.
- LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, CREATION_DATE, CREATED_BY — standard WHO audit columns.
The documented unique indexes (SYS_IL0000405290C00011$$ and SYS_IL0000405290C00020$$) correspond to LOB segment indexes for the two CLOB/nested SQL columns rather than business-key candidates. The true business key is effectively the combination of SOURCE_ID, TRANS_TYPE_ID, and ATTR_RELATION_PRODUCT, with DEA_ATTR_PRODUCTS_SQL_ID as the surrogate.
Common Use Cases and Queries
Technical consultants query this table to inspect or troubleshoot DEA batch matching logic, verify that SQL was generated correctly for a given source and transaction type, and audit concurrent program executions. Typical patterns include filtering by SOURCE_ID and TRANS_TYPE_ID to retrieve the active SQL, or joining to FND_CONCURRENT_REQUESTS on REQUEST_ID to trace generation. Administrators may review KEEP_FLAG before purging regenerated definitions.
SELECT dea_attr_products_sql_id, source_id, trans_type_id,
attr_relation_product, batch_dea_match_sql
FROM jtf.jty_dea_attr_products_sql
WHERE source_id = :p_source
AND trans_type_id = :p_trans_type;
Related Objects
The documented relationship set is minimal, reflecting the standalone classification. The principal joins are:
- FND_SECURITY_GROUPS — joined on SECURITY_GROUP_ID to resolve the owning security group.
- FND_CONCURRENT_REQUESTS / FND_CONCURRENT_PROGRAMS — joined via REQUEST_ID, PROGRAM_ID, and PROGRAM_APPLICATION_ID to identify the concurrent job that populated the row.
- FND_APPLICATION — resolves PROGRAM_APPLICATION_ID in program audit queries.
- JTY_DEA_* companion tables (DEA attribute and product configuration tables) — logically related through ATTR_RELATION_PRODUCT, SOURCE_ID, and TRANS_TYPE_ID, though no enforced FK is documented.
- FND_USER — joined on CREATED_BY / LAST_UPDATED_BY for audit reporting.
-
Table: JTY_DEA_ATTR_PRODUCTS_SQL
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTY_DEA_ATTR_PRODUCTS_SQL, object_name:JTY_DEA_ATTR_PRODUCTS_SQL, status:VALID, product: JTF - CRM Foundation , description: This table stores attribute product SQL for date effectivity assignment. , implementation_dba_data: JTF.JTY_DEA_ATTR_PRODUCTS_SQL ,
-
Table: JTY_DEA_ATTR_PRODUCTS_SQL
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTY_DEA_ATTR_PRODUCTS_SQL, object_name:JTY_DEA_ATTR_PRODUCTS_SQL, status:VALID, product: JTF - CRM Foundation , description: This table stores attribute product SQL for date effectivity assignment. , implementation_dba_data: JTF.JTY_DEA_ATTR_PRODUCTS_SQL ,
-
SYNONYM: APPS.JTY_DEA_ATTR_PRODUCTS_SQL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTY_DEA_ATTR_PRODUCTS_SQL, status:VALID,
-
VIEW: JTF.JTY_DEA_ATTR_PRODUCTS_SQL#
12.2.2
owner:JTF, object_type:VIEW, object_name:JTY_DEA_ATTR_PRODUCTS_SQL#, status:VALID,
-
SYNONYM: APPS.JTY_DEA_ATTR_PRODUCTS_SQL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTY_DEA_ATTR_PRODUCTS_SQL, status:VALID,
-
TABLE: JTF.JTY_DEA_ATTR_PRODUCTS_SQL
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTY_DEA_ATTR_PRODUCTS_SQL, object_name:JTY_DEA_ATTR_PRODUCTS_SQL, status:VALID,
-
VIEW: JTF.JTY_DEA_ATTR_PRODUCTS_SQL#
12.2.2
-
TABLE: JTF.JTY_DEA_ATTR_PRODUCTS_SQL
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTY_DEA_ATTR_PRODUCTS_SQL, object_name:JTY_DEA_ATTR_PRODUCTS_SQL, status:VALID,
-
PACKAGE BODY: APPS.JTY_TAE_CONTROL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JTY_TAE_CONTROL_PVT, status:VALID,
-
PACKAGE BODY: APPS.JTY_TAE_GEN_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JTY_TAE_GEN_PVT, status:VALID,
-
PACKAGE BODY: APPS.JTY_ASSIGN_BULK_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JTY_ASSIGN_BULK_PUB, status:VALID,
-
PACKAGE BODY: APPS.JTY_ASSIGN_BULK_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JTY_ASSIGN_BULK_PUB, status:VALID,
-
PACKAGE BODY: APPS.JTY_TAE_GEN_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JTY_TAE_GEN_PVT, status:VALID,
-
PACKAGE BODY: APPS.JTY_TAE_CONTROL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JTY_TAE_CONTROL_PVT, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.JTY_TAE_GEN_PVT SQL Statements
12.2.2
-
APPS.JTY_TAE_GEN_PVT SQL Statements
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.JTY_TAE_GEN_PVT dependencies on JTY_DEA_ATTR_PRODUCTS_SQL
12.1.1
-
APPS.JTY_ASSIGN_BULK_PUB dependencies on JTY_DEA_ATTR_PRODUCTS_SQL
12.1.1
-
APPS.JTY_TAE_CONTROL_PVT dependencies on JTY_DEA_ATTR_PRODUCTS_SQL
12.1.1
-
APPS.JTY_TAE_GEN_PVT dependencies on JTY_DEA_ATTR_PRODUCTS_SQL
12.2.2
-
APPS.JTY_ASSIGN_BULK_PUB dependencies on JTY_DEA_ATTR_PRODUCTS_SQL
12.2.2
-
APPS.JTY_TAE_CONTROL_PVT dependencies on JTY_DEA_ATTR_PRODUCTS_SQL
12.2.2
-
APPS.JTY_ASSIGN_BULK_PUB SQL Statements
12.2.2
-
APPS.JTY_TAE_CONTROL_PVT SQL Statements
12.2.2
-
APPS.JTY_TAE_CONTROL_PVT dependencies on JTY_DEA_ATTR_PRODUCTS_S
12.2.2
-
APPS.JTY_ASSIGN_BULK_PUB dependencies on JTY_DEA_ATTR_PRODUCTS
12.2.2
-
APPS.JTY_TAE_GEN_PVT dependencies on JTY_DEA_ATTR_PRODUCTS
12.1.1
-
APPS.JTY_TAE_GEN_PVT dependencies on JTY_DEA_ATTR_PRODUCTS
12.2.2
-
APPS.JTY_TAE_CONTROL_PVT dependencies on JTY_DEA_ATTR_PRODUCTS_S
12.1.1
-
APPS.JTY_TAE_CONTROL_PVT SQL Statements
12.1.1
-
APPS.JTY_ASSIGN_BULK_PUB dependencies on JTY_DEA_ATTR_PRODUCTS
12.1.1
-
APPS.JTY_ASSIGN_BULK_PUB SQL Statements
12.1.1
-
APPS.JTY_TAE_CONTROL_PVT dependencies on JTY_DEA_ATTR_PRODUCTS
12.2.2
-
PACKAGE BODY: APPS.JTY_TAE_GEN_PVT
12.2.2
-
PACKAGE BODY: APPS.JTY_TAE_CONTROL_PVT
12.2.2
-
APPS.JTY_TAE_CONTROL_PVT dependencies on JTY_DEA_ATTR_PRODUCTS
12.1.1
-
PACKAGE BODY: APPS.JTY_TAE_GEN_PVT
12.1.1
-
PACKAGE BODY: APPS.JTY_ASSIGN_BULK_PUB
12.2.2
-
PACKAGE BODY: APPS.JTY_TAE_CONTROL_PVT
12.1.1
-
PACKAGE BODY: APPS.JTY_ASSIGN_BULK_PUB
12.1.1
-
eTRM - JTF Tables and Views
12.2.2
description: Interface table to store data that needs to be displayed in Excel ,
-
eTRM - JTF Tables and Views
12.1.1
description: Interface table to store data that needs to be displayed in Excel ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - JTF Tables and Views
12.2.2
description: Interface table to store data that needs to be displayed in Excel ,