Codeunit 20134 "Script Symbol Store"
INTaxEngine · Microsoft.Finance.TaxEngine.Core
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 73 connected objects and pages
INTaxEngine · Microsoft.Finance.TaxEngine.Core · BC29-30 · source at ea08af5e · 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” OnGetLookupValue, Codeunit 20297 “Use Case Symbols Handler” OnGetLookupValue, Codeunit 20345 “Tax Posting Handler” OnGetLookupValue
OnInitSymbols(CaseID: Guid; ScriptID: Guid; var Symbols: Record "Script Symbol Value" Temporary)(integration)- subscribers: Codeunit 20168 “Script Symbol Handler” OnInitSymbols, Codeunit 20297 “Use Case Symbols Handler” OnInitSymbols, Codeunit 20345 “Tax Posting Handler” 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” OnEvaluateSymbolFormula
OnBeforeValidateIfUpdateIsAllowed(CaseID: Guid)(integration)- subscribers: Codeunit 20292 “Use Case Entity Mgmt.” 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.” (18 calls:
GetConstantOrLookupValueOfType → ConvertText2Type,GetTableFieldValue → Variant2Text,SetSymbolMemberValue → Variant2Boolean, …) - Codeunit 20133 “Script Symbols Mgmt.” (7 calls:
GetSymbolMemberValue → GetSymbolName,GetSymbolValue → GetSymbolFormulaID,GetSymbolValue → GetSymbolName, …) - Codeunit 20131 “RecRef Handler” (2 calls:
ApplyTableFilters → SetFieldFilter,GetLookupValue → GetFieldValue) - Codeunit 20130 “App Object Helper” (1 call:
GetTableFieldValue → GetFieldName) - Codeunit 20143 “Lookup Serialization” (1 call:
GetTableFieldValue → TableSortingToString)
Called by
- Codeunit 20157 “Script Action Execution” (41 calls:
ExecuteAlertMessage → GetConstantOrLookupValue,ExecuteConcatenate → GetConstantOrLookupValue,ExecuteConcatenate → SetSymbol2, …) - Codeunit 20166 “Script Entity Mgmt.” (29 calls:
AddElseIfCondition → OnBeforeValidateIfUpdateIsAllowed,CreateAlertMessage → OnBeforeValidateIfUpdateIsAllowed,CreateComment → OnBeforeValidateIfUpdateIsAllowed, …) - Codeunit 20291 “Tax Rate Computation” (12 calls:
ExecuteComponentExpression → GetConstantOrLookupValue,ExecuteComponentExpression → SetSymbol2,GenerateTransactionRateID → GetSymbolOfType, …) - Codeunit 20297 “Use Case Symbols Handler” (8 calls:
GetTableAttributeValue → ApplyTableFilters,InitTaxAttributes → GetSymbolValue,InitTaxAttributes → InsertSymbolValue, …) - Codeunit 20168 “Script Symbol Handler” (5 calls:
OnGetLookupValue → GetSymbolMember,OnGetLookupValue → GetSymbolOfType,OnInitSymbols → GetSymbolValue, …) - Codeunit 20344 “Tax Posting Execution” (5 calls:
ExecutePosting → InitSymbols,ExecutePostingSetupWithRecord → InitSymbols,GetTaxPostingSetup → ApplyTableFilters, …) - Codeunit 20141 “Lookup Entity Mgmt.” (3 calls:
CreateLookup → OnBeforeValidateIfUpdateIsAllowed,CreateTableFilters → OnBeforeValidateIfUpdateIsAllowed,CreateTableSorting → OnBeforeValidateIfUpdateIsAllowed) - Codeunit 20342 “Tax Document Subledger Posting” (3 calls:
PopulateAttributeRateColumnVariables → SetDefaultSymbolValue,PopulateComponentVariables → SetDefaultSymbolValue,PopulatePostingFieldVariablesAndExecute → SetDefaultSymbolValue) - Codeunit 20343 “Tax Posting Buffer Mgmt.” (3 calls:
UpdateFormulaComponent → GetSymbolValue,UpdateFormulaComponent → InitSymbolContext,UpdateUseCaseVariables → SetDefaultSymbolValue) - Codeunit 20345 “Tax Posting Handler” (3 calls:
InsertTaxPostingField → GetSymbolValue,InsertTaxPostingField → InsertSymbolValue,OnGetLookupValue → GetSymbolOfType) - Table 20140 “Lookup Field Filter” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20141 “Lookup Field Sorting” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20144 “Script Symbol Lookup” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20156 “Action Comment” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20157 “Action Concatenate” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20158 “Action Concatenate Line” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20160 “Action Convert Case” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20161 “Action Date Calculation” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20162 “Action Date To DateTime” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20163 “Action Extract Date Part” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20164 “Action Extract DateTime Part” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20165 “Action Ext. Substr. From Index” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20166 “Action Ext. Substr. From Pos.” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20167 “Action Find Date Interval” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20168 “Action Find Substring” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20171 “Action If Statement” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20172 “Action Length Of String” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20173 “Action Loop N Times” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20174 “Action Loop Through Rec. Field” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20175 “Action Loop Through Records” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20176 “Action Loop With Condition” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20177 “Action Message” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20178 “Action Number Calculation” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20179 “Action Number Expression” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20180 “Action Number Expr. Token” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20181 “Action Replace Substring” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20182 “Action Round Number” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20183 “Action Set Variable” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20184 “Action String Expression” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20185 “Action String Expr. Token” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20191 “Tax Test Condition Item” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20201 “Script Editor Line” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20202 “Script Record Variable” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20203 “Script Variable” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20283 “Switch Case” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20285 “Tax Component Expression” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20308 “Use Case Component Calculation” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20309 “Use Case Rate Column Relation” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20334 “Tax Insert Record” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20335 “Tax Insert Record Field” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - and 13 more: data/code/graph/29/calls.json
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.