---
id: object/codeunit/20134
type: object
title: Codeunit 20134 "Script Symbol Store"
summary: Codeunit 20134 "Script Symbol Store" in INTaxEngine (Microsoft.Finance.TaxEngine.Core). 22 public procedures, 4 events. 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: 32d913fcfcdd3d1a038f6a05b4fa223531f15f9ba1e66ccdc1b450a457ae5403
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/INTaxEngine/app/TaxEngine-Core/src/Core/Codeunit/ScriptSymbolStore.Codeunit.al
    title: src/Apps/W1/INTaxEngine/app/TaxEngine-Core/src/Core/Codeunit/ScriptSymbolStore.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: 20134
name: Script Symbol Store
namespace: Microsoft.Finance.TaxEngine.Core
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: 29
  events: 4
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 8
  calls: 5
  called_by: 63
  implements: 0
---

# Codeunit 20134 "Script Symbol Store"

> Codeunit 20134 "Script Symbol Store" in INTaxEngine (Microsoft.Finance.TaxEngine.Core). 22 public procedures, 4 events. Introduced in BC29, still in BC30.

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

## Events published

- `OnGetLookupValue(var SourceRecordRef: RecordRef; ScriptSymbolLookup: Record "Script Symbol Lookup"; var IsHandled: Boolean; var Value: Variant)` (integration)
  - subscribers: [Codeunit 20168 "Script Symbol Handler"](../codeunit/20168.md) OnGetLookupValue, [Codeunit 20297 "Use Case Symbols Handler"](../codeunit/20297.md) OnGetLookupValue, [Codeunit 20345 "Tax Posting Handler"](../codeunit/20345.md) OnGetLookupValue
- `OnInitSymbols(CaseID: Guid; ScriptID: Guid; var Symbols: Record "Script Symbol Value" Temporary)` (integration)
  - subscribers: [Codeunit 20168 "Script Symbol Handler"](../codeunit/20168.md) OnInitSymbols, [Codeunit 20297 "Use Case Symbols Handler"](../codeunit/20297.md) OnInitSymbols, [Codeunit 20345 "Tax Posting Handler"](../codeunit/20345.md) OnInitSymbols
- `OnEvaluateSymbolFormula(SymbolType: Enum "Symbol Type"; SymbolID: Integer; FormulaID: Guid; var Symbols: Record "Script Symbol Value" Temporary; var Value: Variant; var Handled: Boolean)` (integration)
  - subscribers: [Codeunit 20232 "Tax Type Object Helper"](../codeunit/20232.md) OnEvaluateSymbolFormula
- `OnBeforeValidateIfUpdateIsAllowed(CaseID: Guid)` (integration)
  - subscribers: [Codeunit 20292 "Use Case Entity Mgmt."](../codeunit/20292.md) OnBeforeValidateIfUpdateIsAllowed

## Procedures

- `InitSymbols(CaseID: Guid; ScriptID: Guid; var Symbols: Record "Script Symbol Value" Temporary)`
- `InitSymbolContext(TaxType: Code[20]; CaseID: Guid)`
- `InsertSymbolValue(SymbolType: Enum "Symbol Type"; Datatype: Enum "Symbol Data Type"; SymbolID: Integer; Value: Variant)`
- `InsertSymbolValue(SymbolType: Enum "Symbol Type"; Datatype: Enum "Symbol Data Type"; SymbolID: Integer)`
- `InsertDictionaryValue(Datatype: Enum "Symbol Data Type"; SymbolID: Integer; FieldID: Integer; Value: Variant)`
- `InsertDictionaryValue(Datatype: Enum "Symbol Data Type"; SymbolID: Integer; FieldID: Integer)`
- `CopySymbols(var ToSymbols: Record "Script Symbol Value" temporary)`
- `GetSymbolOfType(Type: enum "Symbol Type"; SymbolID: Integer; var Value: Variant)`
- `GetSymbolMember(SymbolID: Integer; MemberID: Integer; var Value: Variant)`
- `GetSymbolValue(var Symbol: Record "Script Symbol Value" Temporary; var Value: Variant)`
- `GetSymbolMemberValue(var SymbolMembers: Record "Script Symbol Member Value" Temporary; var Value: Variant)`
- `SetSymbol2(SymbolType: Enum "Symbol Type"; SymbolID: Integer; Value: Variant)`
- `SetSymbolMember(SymbolID: Integer; MemberID: Integer; Value: Variant)`
- `SetSymbolValue(var Symbol: Record "Script Symbol Value" Temporary; Value: Variant)`
- `SetSymbolMemberValue(var SymbolMembers: Record "Script Symbol Member Value" Temporary; Value: Variant)`
- `GetLookupSourceType(CaseID: Guid; ScriptID: Guid; LookupID: Guid): Enum "Symbol Type"`
- `TransferRecRefToSymbolMembers(var RecordRef: RecordRef; SymbolID: Integer)`
- `SetDefaultSymbolValue(var Symbols: Record "Script Symbol Value" temporary; Type: Enum "Symbol Type"; SymbolID: Integer; Value: Variant; DataType: Enum "Symbol Data Type")`
- `GetLookupValue(var SourceRecordRef: RecordRef; CaseID: Guid; ScriptID: Guid; LookupID: Guid; var Value: Variant)`
- `ApplyTableFilters(var SourceRecordRef: RecordRef; CaseID: Guid; ScriptID: Guid; var RecordRef: RecordRef; TableFilterID: Guid)`
- `GetConstantOrLookupValue(var SourceRecordRef: RecordRef; CaseID: Guid; ScriptID: Guid; ValueType: Option Constant,"Lookup"; ConstantText: Text; LookupID: Guid; var Value: Variant)`
- `GetConstantOrLookupValueOfType(var SourceRecordRef: RecordRef; CaseID: Guid; ScriptID: Guid; ValueType: Option Constant,"Lookup"; ConstantText: Text; LookupID: Guid; ToDatatype: Enum "Symbol Data Type"; OptionString: Text; var Value: Variant)`

Plus 3 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) (18 calls: `GetConstantOrLookupValueOfType → ConvertText2Type`, `GetTableFieldValue → Variant2Text`, `SetSymbolMemberValue → Variant2Boolean`, …)
- [Codeunit 20133 "Script Symbols Mgmt."](../codeunit/20133.md) (7 calls: `GetSymbolMemberValue → GetSymbolName`, `GetSymbolValue → GetSymbolFormulaID`, `GetSymbolValue → GetSymbolName`, …)
- [Codeunit 20131 "RecRef Handler"](../codeunit/20131.md) (2 calls: `ApplyTableFilters → SetFieldFilter`, `GetLookupValue → GetFieldValue`)
- [Codeunit 20130 "App Object Helper"](../codeunit/20130.md) (1 call: `GetTableFieldValue → GetFieldName`)
- [Codeunit 20143 "Lookup Serialization"](../codeunit/20143.md) (1 call: `GetTableFieldValue → TableSortingToString`)

## Called by

- [Codeunit 20157 "Script Action Execution"](../codeunit/20157.md) (41 calls: `ExecuteAlertMessage → GetConstantOrLookupValue`, `ExecuteConcatenate → GetConstantOrLookupValue`, `ExecuteConcatenate → SetSymbol2`, …)
- [Codeunit 20166 "Script Entity Mgmt."](../codeunit/20166.md) (29 calls: `AddElseIfCondition → OnBeforeValidateIfUpdateIsAllowed`, `CreateAlertMessage → OnBeforeValidateIfUpdateIsAllowed`, `CreateComment → OnBeforeValidateIfUpdateIsAllowed`, …)
- [Codeunit 20291 "Tax Rate Computation"](../codeunit/20291.md) (12 calls: `ExecuteComponentExpression → GetConstantOrLookupValue`, `ExecuteComponentExpression → SetSymbol2`, `GenerateTransactionRateID → GetSymbolOfType`, …)
- [Codeunit 20297 "Use Case Symbols Handler"](../codeunit/20297.md) (8 calls: `GetTableAttributeValue → ApplyTableFilters`, `InitTaxAttributes → GetSymbolValue`, `InitTaxAttributes → InsertSymbolValue`, …)
- [Codeunit 20168 "Script Symbol Handler"](../codeunit/20168.md) (5 calls: `OnGetLookupValue → GetSymbolMember`, `OnGetLookupValue → GetSymbolOfType`, `OnInitSymbols → GetSymbolValue`, …)
- [Codeunit 20344 "Tax Posting Execution"](../codeunit/20344.md) (5 calls: `ExecutePosting → InitSymbols`, `ExecutePostingSetupWithRecord → InitSymbols`, `GetTaxPostingSetup → ApplyTableFilters`, …)
- [Codeunit 20141 "Lookup Entity Mgmt."](../codeunit/20141.md) (3 calls: `CreateLookup → OnBeforeValidateIfUpdateIsAllowed`, `CreateTableFilters → OnBeforeValidateIfUpdateIsAllowed`, `CreateTableSorting → OnBeforeValidateIfUpdateIsAllowed`)
- [Codeunit 20342 "Tax Document Subledger Posting"](../codeunit/20342.md) (3 calls: `PopulateAttributeRateColumnVariables → SetDefaultSymbolValue`, `PopulateComponentVariables → SetDefaultSymbolValue`, `PopulatePostingFieldVariablesAndExecute → SetDefaultSymbolValue`)
- [Codeunit 20343 "Tax Posting Buffer Mgmt."](../codeunit/20343.md) (3 calls: `UpdateFormulaComponent → GetSymbolValue`, `UpdateFormulaComponent → InitSymbolContext`, `UpdateUseCaseVariables → SetDefaultSymbolValue`)
- [Codeunit 20345 "Tax Posting Handler"](../codeunit/20345.md) (3 calls: `InsertTaxPostingField → GetSymbolValue`, `InsertTaxPostingField → InsertSymbolValue`, `OnGetLookupValue → GetSymbolOfType`)
- [Table 20140 "Lookup Field Filter"](../table/20140.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20141 "Lookup Field Sorting"](../table/20141.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20144 "Script Symbol Lookup"](../table/20144.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20156 "Action Comment"](../table/20156.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20157 "Action Concatenate"](../table/20157.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20158 "Action Concatenate Line"](../table/20158.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20160 "Action Convert Case"](../table/20160.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20161 "Action Date Calculation"](../table/20161.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20162 "Action Date To DateTime"](../table/20162.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20163 "Action Extract Date Part"](../table/20163.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20164 "Action Extract DateTime Part"](../table/20164.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20165 "Action Ext. Substr. From Index"](../table/20165.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20166 "Action Ext. Substr. From Pos."](../table/20166.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20167 "Action Find Date Interval"](../table/20167.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20168 "Action Find Substring"](../table/20168.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20171 "Action If Statement"](../table/20171.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20172 "Action Length Of String"](../table/20172.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20173 "Action Loop N Times"](../table/20173.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20174 "Action Loop Through Rec. Field"](../table/20174.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20175 "Action Loop Through Records"](../table/20175.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20176 "Action Loop With Condition"](../table/20176.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20177 "Action Message"](../table/20177.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20178 "Action Number Calculation"](../table/20178.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20179 "Action Number Expression"](../table/20179.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20180 "Action Number Expr. Token"](../table/20180.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20181 "Action Replace Substring"](../table/20181.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20182 "Action Round Number"](../table/20182.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20183 "Action Set Variable"](../table/20183.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20184 "Action String Expression"](../table/20184.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20185 "Action String Expr. Token"](../table/20185.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20191 "Tax Test Condition Item"](../table/20191.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20201 "Script Editor Line"](../table/20201.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20202 "Script Record Variable"](../table/20202.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20203 "Script Variable"](../table/20203.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20283 "Switch Case"](../table/20283.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20285 "Tax Component Expression"](../table/20285.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20308 "Use Case Component Calculation"](../table/20308.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20309 "Use Case Rate Column Relation"](../table/20309.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20334 "Tax Insert Record"](../table/20334.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- [Table 20335 "Tax Insert Record Field"](../table/20335.md) (3 calls: `OnDelete → OnBeforeValidateIfUpdateIsAllowed`, `OnInsert → OnBeforeValidateIfUpdateIsAllowed`, `OnModify → OnBeforeValidateIfUpdateIsAllowed`)
- and 13 more: data/code/graph/29/calls.json

## 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: "Script Symbol Store")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
