Codeunit 18543 "Calculate Tax" (IN)
IN country layer · Microsoft.Finance.TaxBase
Across versions
- BC23-28not present
- BC29-30present
IN country layer · Microsoft.Finance.TaxBase · BC29-30 · source at 4e6a307c · facts from BC29
An object of the IN localization, not part of W1.
Events published
OnAfterValidateGenJnlLineFields(var GenJnlLine: Record "Gen. Journal Line")(integration)OnAfterValidateSalesLineFields(var SalesLine: Record "Sales Line")(integration)OnAfterValidatePurchaseLineFields(var PurchaseLine: Record "Purchase Line")(integration)OnAfterValidateServiceLineFields(var ServiceLine: Record "Service Line")(integration)OnAfterValidateFinChargeMemoLineFields(var FinanceChargeMemoLine: Record "Finance Charge Memo Line")(integration)OnBeforeCallTaxEngineForGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)(integration)OnBeforeUpdateTaxAmountOnGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; var xGenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)(integration)OnBeforeCallTaxEngineForSalesLine(var SalesLine: Record "Sales Line"; var IsHandled: Boolean)(integration)OnBeforeCallTaxEngineForPurchaseLine(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)(integration)OnBeforeCallTaxEngineForServiceLine(var ServiceLine: Record "Service Line"; var IsHandled: Boolean)(integration)
Event subscriptions
- OnAddGenJnlLineUseCaseEventstoLibrary subscribes to Codeunit “Use Case Event Library” OnAddUseCaseEventstoLibrary
- HandleGenJnlLineUseCase subscribes to Codeunit “Calculate Tax” OnAfterValidateGenJnlLineFields
- OnAddSalesUseCaseEventstoLibrary subscribes to Codeunit “Use Case Event Library” OnAddUseCaseEventstoLibrary
- HandleSalesUseCase subscribes to Codeunit “Calculate Tax” OnAfterValidateSalesLineFields
- OnAddPurchaseUseCaseEventstoLibrary subscribes to Codeunit “Use Case Event Library” OnAddUseCaseEventstoLibrary
- HandlePurchaseUseCase subscribes to Codeunit “Calculate Tax” OnAfterValidatePurchaseLineFields
- OnAddServiceUseCaseEventstoLibrary subscribes to Codeunit “Use Case Event Library” OnAddUseCaseEventstoLibrary
- HandleServiceUseCase subscribes to Codeunit “Calculate Tax” OnAfterValidateServiceLineFields
- OnAddFinanceUseCaseEventstoLibrary subscribes to Codeunit “Use Case Event Library” OnAddUseCaseEventstoLibrary
- HandleFinanceChargeMemoUseCase subscribes to Codeunit “Calculate Tax” OnAfterValidateFinChargeMemoLineFields
- OnBeforePostVAT subscribes to Codeunit “Gen. Jnl.-Post Line” OnBeforePostVAT
Procedures
CallTaxEngineOnGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; var xGenJournalLine: Record "Gen. Journal Line")RunOnBeforeUpdateTaxAmountOnGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; var xGenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)CallTaxEngineOnSalesLine(var SalesLine: Record "Sales Line"; var xSalesLine: Record "Sales Line")CallTaxEngineOnPurchaseLine(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line")CallTaxEngineOnServiceLine(var ServiceLine: Record "Service Line"; var xServiceLine: Record "Service Line")CallTaxEngineOnFinanceChargeMemoLine(var FinanceChargeMemoLine: Record "Finance Charge Memo Line"; var xFinanceChargeMemoLine: Record "Finance Charge Memo Line")
Plus 1 local procedures.
Recent changes
- 2026-08-12 #9968 [BC-IN] TDS Amount Not Calculated on Initial TDS Section Selection in Bank Payment Voucher (main, BC30, fix)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Calculate withholding tax for vendors — possibly related: Documents calculating and managing withholding tax for purchase invoices and orders. (model-linked)
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). 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: "Calculate Tax"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.
A IN country object, not part of W1: the default corpus does not have it; bcatlas_list_countries shows which countries the atlas has.