Codeunit 20232 "Tax Type Object Helper"
INTaxEngine · Microsoft.Finance.TaxEngine.TaxTypeHandler
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 18 connected objects and pages
INTaxEngine · Microsoft.Finance.TaxEngine.TaxTypeHandler · BC29-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeValidateIfUpdateIsAllowed(TaxType: Code[20])(integration)- subscribers: Codeunit 20240 “Tax Type Entity Mgmt.” 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): GuidDeleteComponentFormula(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): DecimalGetComponentAmountFrmTransValue(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.” (2 calls:
GetFormulaValue → EvaluateExpression,OnEvaluateSymbolFormula → EvaluateExpression) - Codeunit 20291 “Tax Rate Computation” (2 calls:
GetComponentAmount → RoundAmount,GetComponentAmountFrmTransValue → RoundAmount) - Page 20247 “Tax Entities” (2 calls:
OpenTaxTypeTableLookup → (object),OpenTaxTypeTransactionTableLookup → (object))
Called by
- Table 20233 “Record Attribute Mapping” (5 calls:
GetAttributeValue → SearchTaxOptionAttribute,OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed, …) - Table 20246 “Tax Component” (4 calls:
OnDelete → DeleteComponentFormula,OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed, …) - Table 20232 “Entity Attribute Mapping” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20241 “Tax Attribute” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20247 “Tax Component Formula” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20248 “Tax Component Formula Token” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20252 “Tax Rate Column Setup” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Table 20257 “Tax Entity” (3 calls:
OnDelete → OnBeforeValidateIfUpdateIsAllowed,OnInsert → OnBeforeValidateIfUpdateIsAllowed,OnModify → OnBeforeValidateIfUpdateIsAllowed) - Codeunit 20301 “Tax Document Stats Mgmt.” (2 calls:
FillComponentBuffer → GetComponentAmountFrmTransValue,FillTotalsByTaxType → GetComponentAmountFrmTransValue) - Codeunit 20233 “Tax Setup Matrix Mgmt.” (1 call:
GetAttributeOptionValue → SearchTaxOptionAttribute) - Codeunit 20361 “Tax Json Deserialization” (1 call:
ReadTaxTypeComponent → CreateComponentFormula) - Page 20240 “Tax Information Factbox” (1 call:
GetTaxComponentsInJson → GetComponentAmountFrmTransValue) - Page 20364 “Tax Engine Setup Wizard” (1 call:
ClearTaxEngineSetup → DisableSelectedTaxTypes) - Table 20234 “Tax Attribute Value Mapping” (1 call:
OnDelete → OnBeforeValidateIfUpdateIsAllowed)
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.