Codeunit 20293 "Use Case Execution"
INTaxEngine · Microsoft.Finance.TaxEngine.UseCaseBuilder
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 9 connected objects and pages
INTaxEngine · Microsoft.Finance.TaxEngine.UseCaseBuilder · BC29-30 · source at ea08af5e · facts from BC29
Events published
OnImportUseCaseOnDemand(TaxType: Code[20]; CaseID: Guid)(integration)- subscribers: Codeunit 20366 “Tax Engine Assisted Setup” OnImportUseCaseOnDemand
OnUpdateUseCaseRecord(TaxType: Code[20]; CaseID: Guid; MajorVersion: Integer; var UseCaseUpdated: Boolean)(integration)- subscribers: Codeunit 20366 “Tax Engine Assisted Setup” OnUpdateUseCaseRecord
OnUpdateTaxTypeRecord(TaxType: Code[20]; MajorVersion: Integer; var TaxTypeUpdated: Boolean)(integration)- subscribers: Codeunit 20366 “Tax Engine Assisted Setup” OnUpdateTaxTypeRecord
Procedures
ExecuteUseCase(var UseCase: Record "Tax Use Case"; var SourceRecordRef: RecordRef; var Symbols: Record "Script Symbol Value" Temporary; CurrencyCode: Code[20]; CurrencyFactor: Decimal)ExecuteUseCaseWithRecord(var UseCase: Record "Tax Use Case"; var SourceRecord: Variant; var Symbols: Record "Script Symbol Value" Temporary; var PostingSetupRecID: RecordId; CurrencyCode: Code[20]; CurrencyFactor: Decimal)ExecuteUseCaseTree(UseCaseID: Guid; var CurrentRecord: Variant; var Symbols: Record "Script Symbol Value" temporary; var PostingSetupRecID: RecordId; CurrencyCode: Code[20]; CurrencyFactor: Decimal)IsLeafUseCase(UseCaseID: Guid): BooleanHandleEvent(EventName: Text; Record: Variant; CurrencyCode: Code[20]; CurrencyFactor: Decimal)ExecuteUseCaseTree(Record: Variant; CurrencyCode: Code[20]; CurrencyFactor: Decimal)
Plus 17 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 20291 “Tax Rate Computation” (4 calls:
ExecuteUseCase → CalculateTaxComponent,ExecuteUseCase → GetTaxAttributes,ExecuteUseCase → GetTaxColumns, …) - Codeunit 20134 “Script Symbol Store” (2 calls:
ExecuteUseCase → CopySymbols,ExecuteUseCase → InitSymbols) - Codeunit 20131 “RecRef Handler” (1 call:
ExecuteUseCaseWithRecord → VariantToRecRef) - Codeunit 20157 “Script Action Execution” (1 call:
ExecuteUseCase → ExecuteScript) - Codeunit 20161 “Condition Mgmt.” (1 call:
CanExecuteUseCase → CheckCondition) - Codeunit 20236 “Transaction Value Helper” (1 call:
ExecuteUseCase → UpdateCaseID)
Called by
- Codeunit 20286 “Use Case Event Handling” (4 calls:
BusinessRuleOnAfterUpdatePurchUnitPrice → HandleEvent,BusinessRuleOnAfterUpdateSalesLineAmountsDone → HandleEvent,OnAfterHandleBusinessUseCaseEvent → HandleEvent, …) - Page 20310 “Use Cases” (1 call:
FormatLine → IsLeafUseCase)
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: "Use Case Execution"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.