---
id: object/table/20171
type: object
title: Table 20171 "Action If Statement"
summary: Table 20171 "Action If Statement" in INTaxEngine (Microsoft.Finance.TaxEngine.ScriptHandler). 6 fields. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - 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: 85c5fde750b0e7a1cc18395ed99269d14a0ed8348e2d62e2cc2707d38043780e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/INTaxEngine/app/TaxEngine-ScriptHandler/src/Actions/table/ActionIfStatement.Table.al
    title: src/Apps/W1/INTaxEngine/app/TaxEngine-ScriptHandler/src/Actions/table/ActionIfStatement.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 20171
name: Action If Statement
namespace: Microsoft.Finance.TaxEngine.ScriptHandler
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: 6
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 1
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Table 20171 "Action If Statement"

> Table 20171 "Action If Statement" in INTaxEngine (Microsoft.Finance.TaxEngine.ScriptHandler). 6 fields. Introduced in BC29, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Caption | Action If Statement |
| Access | Public |
| Extensible | false |
| DataClassification | EndUserIdentifiableInformation |

## 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 | Case ID | Guid | — | DataClassification SystemMetadata |
| 2 | Script ID | Guid | — | DataClassification SystemMetadata |
| 3 | ID | Guid | — | DataClassification SystemMetadata |
| 4 | Condition ID | Guid | — | TableRelation [Table 20190 "Tax Test Condition"](../table/20190.md) ("Tax Test Condition".ID where("Script ID" = field("Script ID"))); DataClassification SystemMetadata |
| 5 | Else If Block ID | Guid | — | TableRelation [Table 20171 "Action If Statement"](../table/20171.md) ("Action If Statement".ID where("Script ID" = field("Script ID"))); DataClassification SystemMetadata |
| 6 | Parent If Block ID | Guid | — | DataClassification SystemMetadata |

## Keys

- K0: Case ID, Script ID, ID (clustered)

## Triggers

OnInsert, OnModify, OnDelete

## Relations

- Else If Block ID: TableRelation [Table 20171 "Action If Statement"](../table/20171.md)
- Condition ID: TableRelation [Table 20190 "Tax Test Condition"](../table/20190.md)

## Referenced by

1 fields in 1 objects relate to this table (TableRelation or CalcFormula).

- [Table 20171 "Action If Statement"](../table/20171.md): Else If Block ID

## 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 20134 "Script Symbol Store"](../codeunit/20134.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Codeunit 20166 "Script Entity Mgmt."](../codeunit/20166.md) (1 call: `OnDelete → DeleteCondition`)

## 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: "table", object_name: "Action If Statement")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
