codeunitFinanceofficial - Microsoftderived - from the source, no model text

Codeunit 6784 "Wthldg Tax Purch. Subscribers"

WithholdingTax · Microsoft.WithholdingTax

Across versions

  1. BC23-28not present
  2. BC29-30present

Neighbourhood 2 connected objects and pages

Codeunit 6785 "Withholding Tax Mgmt." (calls, 9 links)Withholding Tax Mgmt.Codeunit 12 "Gen. Jnl.-Post Line" (calls, 4 links)Gen. Jnl.-Post Line

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

WithholdingTax · Microsoft.WithholdingTax · BC29-30 · source at ea08af5e · facts from BC29

Event subscriptions

  • CopyVendorInfo subscribes to Table “Purchase Header” OnAfterCopyBuyFromVendorFieldsFromVendor
  • CopyHeaderInfo subscribes to Table “Purchase Line” OnAfterInitHeaderDefaults
  • AssignGLAccValue subscribes to Table “Purchase Line” OnAfterAssignGLAccountValues
  • AssignItemValue subscribes to Table “Purchase Line” OnAfterAssignItemValues
  • AssignFAValue subscribes to Table “Purchase Line” OnAfterAssignFixedAssetValues
  • OnAfterPrepareInvoicePostingBuffer subscribes to Codeunit “Purch. Post Invoice Events” OnAfterPrepareInvoicePostingBuffer
  • OnPrepareGenJnlLineOnAfterCopyToGenJnlLine subscribes to Codeunit “Purch. Post Invoice Events” OnPrepareGenJnlLineOnAfterCopyToGenJnlLine
  • OnPostLedgerEntryOnBeforeGenJnlPostLine subscribes to Codeunit “Purch. Post Invoice Events” OnPostLedgerEntryOnBeforeGenJnlPostLine
  • OnPostBalancingEntryOnAfterInitNewLine subscribes to Codeunit “Purch. Post Invoice Events” OnPostBalancingEntryOnAfterInitNewLine
  • OnPrepareLineOnAfterAssignAmounts subscribes to Codeunit “Purch. Post Invoice Events” OnPrepareLineOnAfterAssignAmounts
  • OnAfterInitGenJnlLineAmountFieldsFromTotalLines subscribes to Codeunit “Purch. Post Invoice Events” OnAfterInitGenJnlLineAmountFieldsFromTotalLines
  • CheckWithholdingApplication subscribes to Codeunit “Purch.-Post” OnCheckAndUpdateOnBeforeSetPostingFlags
  • PostPurchWithholdingTax subscribes to Codeunit “Purch.-Post” OnPostInvoiceOnAfterPostLines
  • VendorPrepaymentInvoiceWithholdingTax subscribes to Codeunit “Purchase-Post Prepayments” OnAfterCreateLinesOnBeforeGLPosting
  • PostPrepmtInvLineBuffer subscribes to Codeunit “Purchase-Post Prepayments” OnBeforePostPrepmtInvLineBuffer
  • OnBeforePostVendorEntry subscribes to Codeunit “Purchase-Post Prepayments” OnBeforePostVendorEntry
  • OnBeforePostBalancingEntry subscribes to Codeunit “Purchase-Post Prepayments” OnBeforePostBalancingEntry
  • VendorPrepaymentCrMemoWithholdingTax subscribes to Codeunit “Purchase-Post Prepayments” OnCodeOnAfterUpdateHeaderAndLines

Procedures

  • InsertGenJournalWithholding(var PurchHeader: Record "Purchase Header"; var GenJnlLine: Record "Gen. Journal Line"; AccountNo: Code[20]; SrcCode: Code[10]; GenJnlLineDocType: Enum "Gen. Journal Document Type"; GenJnlLineDocNo: Code[20]; GenJnlLineExtDocNo: Code[35]; TotalAmount: Decimal; TotalPurchLineLCY: Record "Purchase Line")

Plus 7 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 6785 “Withholding Tax Mgmt.” (9 calls: CheckWithholdingApplication → CheckApplicationPurchWithholdingTax, OnBeforePostBalancingEntry → CheckVendorWithholdingTaxLiable, PostPrepmtInvLineBuffer → CheckVendorWithholdingTaxLiable, …)
  • Codeunit 12 “Gen. Jnl.-Post Line” (4 calls: PostWithholdingTax → (object), PostWithholdingTax → GetGLReg, PostWithholdingTax → IncreaseTaxEntryNo, …)

Recent changes

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: "Wthldg Tax Purch. Subscribers"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources