---
id: object/codeunit/20232
type: object
title: Codeunit 20232 "Tax Type Object Helper"
summary: Codeunit 20232 "Tax Type Object Helper" in INTaxEngine (Microsoft.Finance.TaxEngine.TaxTypeHandler). 11 public procedures, 1 events, 3 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - 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: 5d08bbd0548a80f4f28bdf9840179802b443742ae64f6a5186e3b376a7dccdad
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/INTaxEngine/app/TaxEngine-TaxTypeHandler/src/TaxType/codeunit/TaxTypeObjectHelper.Codeunit.al
    title: src/Apps/W1/INTaxEngine/app/TaxEngine-TaxTypeHandler/src/TaxType/codeunit/TaxTypeObjectHelper.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 20232
name: Tax Type Object Helper
namespace: Microsoft.Finance.TaxEngine.TaxTypeHandler
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: 17
  events: 1
  subscribers: 3
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 1
  calls: 3
  called_by: 14
  implements: 0
---

# Codeunit 20232 "Tax Type Object Helper"

> Codeunit 20232 "Tax Type Object Helper" in INTaxEngine (Microsoft.Finance.TaxEngine.TaxTypeHandler). 11 public procedures, 1 events, 3 event subscribers. Introduced in BC29, still in BC30.

INTaxEngine · Microsoft.Finance.TaxEngine.TaxTypeHandler · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/INTaxEngine/app/TaxEngine-TaxTypeHandler/src/TaxType/codeunit/TaxTypeObjectHelper.Codeunit.al) · facts from BC29

## Events published

- `OnBeforeValidateIfUpdateIsAllowed(TaxType: Code[20])` (integration)
  - subscribers: [Codeunit 20240 "Tax Type Entity Mgmt."](../codeunit/20240.md) OnBeforeValidateIfUpdateIsAllowed

## Event subscriptions

- OnEvaluateSymbolFormula subscribes to Codeunit "Script Symbol Store" OnEvaluateSymbolFormula
- OnValidateLookupTableName subscribes to Page "Script Symbol Lookup Dialog" OnValidateLookupTableName
- OnLookupLookupTableName subscribes to Page "Script Symbol Lookup Dialog" OnLookupLookupTableName

## Procedures

- `SearchTaxTypeTable(var TableID: Integer; var TableName: Text[30]; TaxType: Code[20]; IsTransactionTable: Boolean)`
- `SearchTaxOptionAttribute(TaxType: Code[20]; AttributeID: Integer; var AttributeValue: Text[250])`
- `OpenTaxTypeTableLookup(var TableID: Integer; var TableName: Text[30]; SearchText: Text; TaxType: Code[20])`
- `OpenTaxTypeTransactionTableLookup(var TableID: Integer; var TableName: Text[30]; SearchText: Text; TaxType: Code[20])`
- `CreateComponentFormula(TaxTypeCode: Code[20]; ID: Integer): Guid`
- `DeleteComponentFormula(ID: Guid)`
- `OpenComponentFormulaDialog(ID: Guid)`
- `EnableSelectedTaxTypes(var TaxType: Record "Tax Type")`
- `DisableSelectedTaxTypes(var TaxType: Record "Tax Type")`
- `GetFormulaValue(FromTransactionValue: Record "Tax Transaction Value"; SymbolID: Integer; FormulaID: Guid): Decimal`
- `GetComponentAmountFrmTransValue(TaxTransactionValue: Record "Tax Transaction Value"): Decimal`

Plus 2 local procedures.

## 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 20132 "Script Data Type Mgmt."](../codeunit/20132.md) (2 calls: `GetFormulaValue → EvaluateExpression`, `OnEvaluateSymbolFormula → EvaluateExpression`)
- [Codeunit 20291 "Tax Rate Computation"](../codeunit/20291.md) (2 calls: `GetComponentAmount → RoundAmount`, `GetComponentAmountFrmTransValue → RoundAmount`)
- [Page 20247 "Tax Entities"](../page/20247.md) (2 calls: `OpenTaxTypeTableLookup → (object)`, `OpenTaxTypeTransactionTableLookup → (object)`)

## Called by

- [Table 20233 "Record Attribute Mapping"](../table/20233.md) (5 calls: `GetAttributeValue → SearchTaxOptionAttribute`, `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, …)
- [Table 20246 "Tax Component"](../table/20246.md) (4 calls: `OnDelete → DeleteComponentFormula`, `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, …)
- [Table 20232 "Entity Attribute Mapping"](../table/20232.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20241 "Tax Attribute"](../table/20241.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20247 "Tax Component Formula"](../table/20247.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20248 "Tax Component Formula Token"](../table/20248.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20252 "Tax Rate Column Setup"](../table/20252.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20257 "Tax Entity"](../table/20257.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Codeunit 20301 "Tax Document Stats Mgmt."](../codeunit/20301.md) (2 calls: `FillComponentBuffer → GetComponentAmountFrmTransValue`, `FillTotalsByTaxType → GetComponentAmountFrmTransValue`)
- [Codeunit 20233 "Tax Setup Matrix Mgmt."](../codeunit/20233.md) (1 call: `GetAttributeOptionValue → SearchTaxOptionAttribute`)
- [Codeunit 20361 "Tax Json Deserialization"](../codeunit/20361.md) (1 call: `ReadTaxTypeComponent → CreateComponentFormula`)
- [Page 20240 "Tax Information Factbox"](../page/20240.md) (1 call: `GetTaxComponentsInJson → GetComponentAmountFrmTransValue`)
- [Page 20364 "Tax Engine Setup Wizard"](../page/20364.md) (1 call: `ClearTaxEngineSetup → DisableSelectedTaxTypes`)
- [Table 20234 "Tax Attribute Value Mapping"](../table/20234.md) (1 call: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`)

## 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: "codeunit", object_name: "Tax Type Object Helper")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
