Results for “cs_tp_template_links_u1”

12 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The CS_TP_TEMPLATE_LINKS table is a Service (CS) module object within the Oracle E-Business Suite database, owned by the CS schema. Per its ETRM documentation, it is described as the "Template Driven SR and external objects linking table," implementing the one-to-many relationship between a template and external entities. In the context of Template Driven Service Requests (SRs), this table serves as the association point that binds a template record to one or more external objects registered in the JTF object framework, enabling the template engine to resolve which external entities a given template governs or interacts with.

From a Data Vault modeling perspective, the metadata classifies this object heuristically as a link table. This classification is a modeling suggestion rather than a physical design mandate: the table's structure — a surrogate primary key plus foreign keys pointing to two or more independent business entities — is characteristic of a link entity that resolves a many-to-many or one-to-many association between hubs. In this case, the participating entities are the template (CS_TP_TEMPLATES_B) and the external object (JTF_OBJECTS_B).

Key Information Stored

The table contains 28 documented columns, of which the most significant are described below.

  • LINK_ID — The surrogate primary key of the row, enforced by constraint CS_TP_T_LK_PK and backed by unique index CS_TP_TEMPLATE_LINKS_U1. This is the single business-key candidate documented for the table and uniquely identifies each link record.
  • TEMPLATE_ID — Foreign key referencing CS_TP_TEMPLATES_B. Identifies the template that owns or drives the SR behavior associated with this link.
  • OBJECT_CODE — Foreign key referencing JTF_OBJECTS_B. Identifies the external object type to which the template is linked within the JTF object framework.
  • OTHER_ID — Holds the identifier of the specific external entity instance associated with the link, complementing OBJECT_CODE to fully resolve the external object reference.
  • SECURITY_GROUP_ID — Foreign key referencing FND_SECURITY_GROUPS; supports multi-tenant or data-security partitioning consistent with EBS security group enforcement.
  • LOOKUP_CODE and LOOKUP_TYPE — Flexible lookup reference columns used to categorize or qualify the link.
  • ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE15 — The standard EBS descriptive flexfield (DFF) columns, providing extensibility for customer-specific attributes.
  • CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN — The standard "WHO" audit columns maintained by the EBS framework.

The distinction between the surrogate key (LINK_ID) and the composite business meaning (a template paired with an object code and object instance) is important: the unique index exists only on LINK_ID, while the meaningful uniqueness of a template-to-object association is implied by the foreign key relationships rather than enforced by a documented composite index.

Common Use Cases and Queries

Typical usage centers on resolving which external objects a given template touches, or conversely which templates reference a given object. A representative query joining the table to its parent template and object tables:

  • Retrieve all links for a template: SELECT l.LINK_ID, l.OBJECT_CODE, l.OTHER_ID FROM CS_TP_TEMPLATE_LINKS l WHERE l.TEMPLATE_ID = :template_id;
  • Resolve object descriptions: join OBJECT_CODE to JTF_OBJECTS_B to obtain readable object names for reporting.
  • Template-driven SR diagnostics: identify templates whose external object links are misconfigured or orphaned.
  • Security-scoped reporting: filter by SECURITY_GROUP_ID to honor EBS multi-org/security group boundaries.

Related Objects

  • CS_TP_TEMPLATES_B — Parent template table; join on CS_TP_TEMPLATE_LINKS.TEMPLATE_ID = CS_TP_TEMPLATES_B.TEMPLATE_ID.
  • JTF_OBJECTS_B — External object registry; join on CS_TP_TEMPLATE_LINKS.OBJECT_CODE = JTF_OBJECTS_B.OBJECT_CODE.
  • FND_SECURITY_GROUPS — Security group definition; join on CS_TP_TEMPLATE_LINKS.SECURITY_GROUP_ID = FND_SECURITY_GROUPS.SECURITY_GROUP_ID.
  • CS_TP_TEMPLATES_TL — Translatable template names, commonly joined for reporting displays.
  • JTF_OBJECTS_TL — Translatable object names for readable output.
  • CS_INCIDENTS_ALL and Service Request tables — Consume template linkage indirectly when templates drive SR creation.