---
id: object/table/8620
type: object
title: Table 8620 "Config. Tmpl. Selection Rules"
summary: Table 8620 "Config. Tmpl. Selection Rules" in Base Application (System.IO). 6 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24-25.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "25"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 3abf09cb75b75aa04f5b8546308bd5cd32398e596b88cbcbf3ab3b7b2f6c9777
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/RapidStart/ConfigTmplSelectionRules.Table.al
    title: src/Layers/W1/BaseApp/System/RapidStart/ConfigTmplSelectionRules.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/admin-configuring-api-template
  objects: []
  features: []
  topics:
    - topic/business-central/development-and-administration/administration-tasks-in-business-central
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 8620
name: Config. Tmpl. Selection Rules
namespace: System.IO
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 6
  procedures: 5
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 0
  implements: 0
---

# Table 8620 "Config. Tmpl. Selection Rules"

> Table 8620 "Config. Tmpl. Selection Rules" in Base Application (System.IO). 6 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24-25.

Base Application · System.IO · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/RapidStart/ConfigTmplSelectionRules.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 5469 "API Setup"](../page/5469.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Config. Tmpl. Selection Rules |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Table ID | Integer | Specifies the table that the template applies to. <small>via [Page 5469 "API Setup"](../page/5469.md)</small> | TableRelation AllObjWithCaption."Object ID" where("Object Type" = const(Table)) |
| 2 | Template Code | Code[10] | Specifies the config template that should be applied <small>via [Page 5469 "API Setup"](../page/5469.md)</small> | TableRelation [Table 8618 "Config. Template Header"](../table/8618.md) ("Config. Template Header".Code where("Table ID" = field("Table ID"))); NotBlank |
| 5 | Selection Criteria | BLOB | — |  |
| 6 | Description | Text[250] | Specifies a description for the API template selection. <small>via [Page 5469 "API Setup"](../page/5469.md)</small> | FlowField: lookup("Config. Template Header".Description where(Code = field("Template Code"), "Table ID" = field("Table ID"))); not editable |
| 10 | Order | Integer | Specifies the order of the entry. <small>via [Page 5469 "API Setup"](../page/5469.md)</small> |  |
| 11 | Page ID | Integer | Specifies the API web service page that the template applies to. <small>via [Page 5469 "API Setup"](../page/5469.md)</small> |  |

## Keys

- Key1: Table ID, Template Code, Page ID (clustered)
- Key2: Order

## Procedures

- `SetSelectionCriteria()`
- `GetFiltersAsTextDisplay(): Text`
- `FindTemplateBasedOnRecordFields(RecordVariant: Variant; var ConfigTemplateHeader: Record "Config. Template Header"): Boolean`

Plus 2 local procedures.

## Relations

- Description: CalcFormula [Table 8618 "Config. Template Header"](../table/8618.md)
- Template Code: TableRelation [Table 8618 "Config. Template Header"](../table/8618.md)

## Pages and codeunits on this table

- [Page 5469 "API Setup"](../page/5469.md) (source table)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 1530 "Request Page Parameters Helper"](../codeunit/1530.md) (3 calls: `FindTemplateBasedOnRecordFields → ConvertParametersToFilters`, `GetFiltersAsTextDisplay → ConvertParametersToFilters`, `SetSelectionCriteria → ShowRequestPageAndGetFilters`)
- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (3 calls: `FindTemplateBasedOnRecordFields → FromRecord`, `FindTemplateBasedOnRecordFields → HasValue`, `GetFiltersAsTextDisplay → FromRecord`)
- [Codeunit 701 "Data Type Management"](../codeunit/701.md) (1 call: `FindTemplateBasedOnRecordFields → GetRecordRef`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-25

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Config. Tmpl. Selection Rules")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
