Codeunit 18716 "TDS Subscribers" (IN)
IN country layer · Microsoft.Finance.TDS.TDSOnPurchase
Across versions
- BC23-28not present
- BC29-30present
IN country layer · Microsoft.Finance.TDS.TDSOnPurchase · BC29-30 · source at 4e6a307c · facts from BC29
An object of the IN localization, not part of W1.
Events published
OnBeforeValidatePurchLine(PurchaseHeader: Record "Purchase Header"; PurchLine: Record "Purchase Line"; var IsHandled: Boolean)(integration)OnBeforeValidatePurchLineAppliesToID(PurchaseHeader: Record "Purchase Header"; PurchLine: Record "Purchase Line"; var IsHandled: Boolean)(integration)OnBeforeRecalcTaxOnAfterCalcPurchaseDiscount(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)(integration)OnFindPurchaseLineOnAfterCalcPurchaseDiscount(var PurchaseLine: Record "Purchase Line"; var PurchaseHeader: Record "Purchase Header")(integration)OnBeforeUpdateTDSCertificateUsage(var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)(integration)OnBeforeRecalculateTDSOnPurchaseHeader(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)(integration)
Event subscriptions
- AssignTDSSectionCodePurchaseLine subscribes to Table “Purchase Line” OnAfterValidateEvent (No.)
- InsertTDSSectionCodeGenJnlLineOnPostLedgerEntryOnBeforeGenJnlPostLine subscribes to Codeunit “Purch. Post Invoice Events” OnPostLedgerEntryOnBeforeGenJnlPostLine
- CheckTANNo subscribes to Codeunit “Purch.-Post” OnBeforePostPurchaseDoc
- InsertTDSSectionCodeinVendLedgerEntry subscribes to Table “Vendor Ledger Entry” OnAfterCopyVendLedgerEntryFromGenJnlLine
- OnAfterCalcPurchaseDiscount subscribes to Codeunit “Purch.-Calc.Discount” OnAfterCalcPurchaseDiscount
- CheckPANDetails subscribes to Table “Purchase Line” OnAfterValidateEvent (TDS Section Code)
- CheckPANDetailsOnGenJnlLine subscribes to Table “Gen. Journal Line” OnAfterValidateEvent (TDS Section Code)
- OnBeforeCallingTaxEngineFromPurchLine subscribes to Codeunit “Tax Base Subscribers” OnBeforeCallingTaxEngineFromPurchLine
- OnAfterValidateAmount subscribes to Table “Purchase Line” OnAfterValidateEvent (Direct Unit Cost)
- OnAfterValidateQuantity subscribes to Table “Purchase Line” OnAfterValidateEvent (Quantity)
- OnAfterValidateAppliesToDocNo subscribes to Table “Purchase Header” OnAfterValidateEvent (Applies-to Doc. No.)
- OnAfterValidatePostingDateForTDS subscribes to Table “Purchase Header” OnAfterValidateEvent (Posting Date)
- OnAfterDeletePurchaseLine subscribes to Table “Purchase Line” OnAfterDeleteEvent
- OnAfterValidateGenJnlAmount subscribes to Table “Gen. Journal Line” OnAfterValidateEvent (Amount)
- OnAfterValidateGenJnlTDSSection subscribes to Table “Gen. Journal Line” OnAfterValidateEvent (TDS Section Code)
- OnAfterDeleteGenJnlLine subscribes to Table “Gen. Journal Line” OnAfterDeleteEvent
- CallTaxEngineOnCopyPurchDocPurchLineOnAfterCopyPurchLine subscribes to Codeunit “Copy Document Mgt.” OnCopyPurchDocPurchLineOnAfterCopyPurchLine
- OnBeforeCalcAplication subscribes to Codeunit “Gen. Jnl.-Post Line” OnBeforeCalcAplication
- OnBeforeTestTDSPurchaseInvoiceIsPaid subscribes to Codeunit “Correct Posted Purch. Invoice” OnBeforeTestIfInvoiceIsPaid
Procedures
6 local procedures, no public ones.
Recent changes
- 2026-10-21 #13075 [MAIN] [IN] Add extensibility events to support deferred TDS calculation on purchase documents (main, BC30, feature)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- TDS Calculation on Purchase and Payment Transactions — possibly related: Documents TDS calculation on purchase and payment transactions that subscribers would implement (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: "TDS Subscribers"), 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.