Search Results csf_lf_roadsegm_names




Overview

CSF_LF_ROADSEGM_NAMES is a table within the CSF (Field Service) product schema in Oracle E-Business Suite, present in both 12.1.1 and 12.2.2. Its documented purpose is to define the relationship between road segments and the name table. In practical terms, this is an association table that links a record in CSF_LF_ROADSEGMENTS (a physical or logical road segment used for routing and scheduling field service engineers) to a record in CSF_LF_NAMES (a names repository that stores descriptive name records). Because a single road segment can be associated with multiple name entries, and because name entries may be reused across road segments, this table acts as the intersection point implementing that many-to-many relationship.

The heuristic Data Vault classification derived from the foreign key structure is link. This is a modeling suggestion rather than a physical implementation detail: the table carries a surrogate primary key (ROADSEGMENT_NAME_ID) alongside two foreign keys referencing the two parents, which is the classic pattern of a link table resolving a relationship between two hubs (road segments and names).

Key Information Stored

The documented physical schema exposes five columns. The most significant are:

  • ROADSEGMENT_NAME_ID — the surrogate primary key defined by CSF_LF_ROADSEGM_NAMES_PK. It uniquely identifies each association record and is the column most frequently used for direct lookups.
  • ROADSEGMENT_ID — foreign key to CSF_LF_ROADSEGMENTS. It identifies which road segment the row pertains to and is the primary join column when resolving road segment attributes.
  • NAME_ID — foreign key to CSF_LF_NAMES. It identifies the name record associated with the road segment and is the join column used to retrieve descriptive name data.
  • NAME_TYPE — a discriminator column indicating the category or classification of the name entry, allowing a road segment to carry more than one kind of name (for example, alternate labels or language-specific variants).
  • SECURITY_GROUP_ID — the multi-tenant / data-access control column referencing FND_SECURITY_GROUPS. It governs row-level visibility and is essential in any query executed in a secured environment.

The surrogate key ROADSEGMENT_NAME_ID is the only documented unique identifier. No separate business-key unique index is documented, so in the absence of a natural key constraint the combination of ROADSEGMENT_ID and NAME_ID is typically treated as the logical business key for de-duplication purposes, but this is not enforced by a documented index.

Common Use Cases and Queries

Typical usage centers on resolving which names apply to a given road segment, or conversely, which road segments reference a particular name. A representative lookup joining both parents is:

  • SELECT r.ROADSEGMENT_ID, n.NAME_ID, n.NAME, rn.NAME_TYPE FROM CSF_LF_ROADSEGM_NAMES rn, CSF_LF_ROADSEGMENTS r, CSF_LF_NAMES n WHERE rn.ROADSEGMENT_ID = r.ROADSEGMENT_ID AND rn.NAME_ID = n.NAME_ID AND rn.SECURITY_GROUP_ID = :security_group_id;
  • Validation queries that count orphaned associations: SELECT COUNT(*) FROM CSF_LF_ROADSEGM_NAMES rn WHERE NOT EXISTS (SELECT 1 FROM CSF_LF_ROADSEGMENTS r WHERE r.ROADSEGMENT_ID = rn.ROADSEGMENT_ID);
  • Reporting that aggregates name counts per road segment, useful when auditing how descriptive labels are distributed across a routing network.
  • Filtering by NAME_TYPE to isolate a specific naming convention for downstream dispatch or mapping exports.

All queries should include SECURITY_GROUP_ID predicates when run through secured reporting, since omitting it can expose rows across security groups.

Related Objects

  • CSF_LF_ROADSEGMENTS — parent table; joined via CSF_LF_ROADSEGM_NAMES.ROADSEGMENT_ID = CSF_LF_ROADSEGMENTS.ROADSEGMENT_ID.
  • CSF_LF_NAMES — parent table holding the name entries; joined via CSF_LF_ROADSEGM_NAMES.NAME_ID = CSF_LF_NAMES.NAME_ID.
  • FND_SECURITY_GROUPS — security group master referenced by SECURITY_GROUP_ID for row-level access control.
  • CSF_LF_ROADSEGM_NAMES_PK — the primary key constraint on ROADSEGMENT_NAME_ID.

These four objects constitute the immediate dependency set. Any extension or interface that maintains road segment naming must respect the foreign key relationships above to preserve referential integrity within the CSF Field Service schema.