---
id: object/page/20283
type: object
title: Page 20283 "Switch Statements"
summary: Page 20283 "Switch Statements" in INTaxEngine (Microsoft.Finance.TaxEngine.UseCaseBuilder). 2 public procedures, 2 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - intaxengine
versions:
  introduced: "29"
  last_changed: null
  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: d8c216b001daa9aa3bbde72915655e05cf479576de619ff91b3f1a0959ce975c
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/INTaxEngine/app/TaxEngine-UseCaseBuilder/src/Actions/page/SwitchStatements.Page.al
    title: src/Apps/W1/INTaxEngine/app/TaxEngine-UseCaseBuilder/src/Actions/page/SwitchStatements.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10516
object_type: page
object_id: 20283
name: Switch Statements
namespace: Microsoft.Finance.TaxEngine.UseCaseBuilder
app: INTaxEngine
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 9
  events: 2
  subscribers: 0
  controls: 3
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 2
  calls: 7
  called_by: 0
  implements: 0
---

# Page 20283 "Switch Statements"

> Page 20283 "Switch Statements" in INTaxEngine (Microsoft.Finance.TaxEngine.UseCaseBuilder). 2 public procedures, 2 events. Introduced in BC29, still in BC30.

INTaxEngine · Microsoft.Finance.TaxEngine.UseCaseBuilder · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/INTaxEngine/app/TaxEngine-UseCaseBuilder/src/Actions/page/SwitchStatements.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| SourceTable | Switch Case |
| PageType | List |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| GroupName | Case | `ConditionText` | Specifies the case to qualify a switch statement. |
|  | Sequence | [Sequence](../table/20283.md#fields) | Specifies the sequence of case validation. |
|  | Statement | `ActivityTextValue` | Specifies the statement of the switch statement |

## Events published

- `OnMappingAssitEdit(var SwitchCase: Record "Switch Case")` (integration)
  - subscribers: [Codeunit 20345 "Tax Posting Handler"](../codeunit/20345.md) OnMappingAssitEdit
- `OnSwitchCaseFormat(SwitchCase: Record "Switch Case"; var LookupValue: Text)` (integration)
  - subscribers: [Codeunit 20345 "Tax Posting Handler"](../codeunit/20345.md) OnSwitchCaseFormat

## Procedures

- `SetCurrentRecord(var SwitchStatement2: Record "Switch Statement"; SwitchCaseActionType: Enum "Switch Case Action Type")`
- `SetType(NewType: Enum "Switch Case Action Type")`

Plus 5 local procedures.

## Triggers

OnAfterGetRecord, OnAfterGetCurrRecord, OnInsertRecord

## Relations

- source table [Table 20283 "Switch Case"](../table/20283.md)

## 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 20141 "Lookup Entity Mgmt."](../codeunit/20141.md) (1 call: `OpenLookupDialog → CreateLookup`)
- [Codeunit 20142 "Lookup Mgmt."](../codeunit/20142.md) (1 call: `OpenLookupDialog → OpenLookupDialog`)
- [Codeunit 20143 "Lookup Serialization"](../codeunit/20143.md) (1 call: `FormatLine → LookupToString`)
- [Codeunit 20167 "Script Serialization"](../codeunit/20167.md) (1 call: `FormatLine → ConditionToString`)
- [Codeunit 20292 "Use Case Entity Mgmt."](../codeunit/20292.md) (1 call: `OpenTableRelationDialog → CreateTableRelation`)
- [Codeunit 20294 "Use Case Mgmt."](../codeunit/20294.md) (1 call: `OpenTableRelationDialog → OpenTableRelationDialog`)
- [Codeunit 20296 "Use Case Serialization"](../codeunit/20296.md) (1 call: `FormatLine → TableRelationToString`)

## Recent changes

- 2026-08-27 [#10516 Ruleset hardening: promote AL0468, AL0520, AL0589, AL0611, AL0749, AW0004 to Error](../../changes/bcapps/10516.md) (main, BC30, refactor)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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: "page", object_name: "Switch Statements")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
