codeunitFinanceofficial - Microsoftderived - from the source, no model text

Codeunit 6785 "Withholding Tax Mgmt."

WithholdingTax · Microsoft.WithholdingTax

Across versions

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

Neighbourhood 5 connected objects and pages

Codeunit 6786 "Withholding Tax Jnl Subscriber" (calls, 37 links)Withholding Tax Jnl SubscriberCodeunit 6784 "Wthldg Tax Purch. Subscribers" (calls, 9 links)Wthldg Tax Purch. SubscribersPage 456 "No. Series" (calls, 5 links)No. SeriesCodeunit 1373 "Batch Posting Print Mgt." (calls)Batch Posting Print Mgt.Codeunit 444 "Purchase-Post Prepayments" (calls)Purchase-Post Prepayments

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

Procedures

  • CheckApplicationPurchWithholdingTax(var PurchHeader: Record "Purchase Header")
  • CheckApplicationGenPurchWithholdingTax(var GenJnlLine: Record "Gen. Journal Line")
  • InsertVendInvoiceWithholdingTax(var PurchInvHeader: Record "Purch. Inv. Header")
  • InsertVendCreditWithholding(var PurchCreditHeader: Record "Purch. Cr. Memo Hdr."; AppliesID: Code[50])
  • InsertVendJournalWithholdingTax(var GenJnlLine: Record "Gen. Journal Line"): Integer
  • CheckWithholdingCalculationRule(TotalInvoiceAmountLCY: Decimal; WithholdingPostingSetup: Record "Withholding Tax Posting Setup"): Boolean
  • IsWithholdingTaxApplicable(InvoiceAmount: Decimal; WithholdingTaxPostingSetup: Record "Withholding Tax Posting Setup"): Boolean
  • InsertWithholdingTax(TransType: Option Purchase,Sale): Integer
  • NextEntryNo(): Integer
  • CheckPmtDisc(PostingDate: Date; PmtDiscDate: Date; Amount1: Decimal; Amount2: Decimal; Amount3: Decimal; Amount4: Decimal): Boolean
  • InitWithholdingTaxEntry(TempWithholdingTaxEntry: Record "Withholding Tax Entry"; AppldAmount: Decimal; PaymentAmount1: Decimal; var WithholdingTaxEntry3: Record "Withholding Tax Entry")
  • InsertVendPrepaymentInvoiceWithholding(var PurchInvHeader: Record "Purch. Inv. Header"; var PurchHeader: Record "Purchase Header")
  • InsertVendPrepaymentCrMemoWithholding(var PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr."; var PurchHeader: Record "Purchase Header")
  • InsertPrepaymentUnrealizedWithholding(TransType: Option Purchase,Sale): Integer
  • WithholdingAmountJournal(var GenJnlLine1: Record "Gen. Journal Line"; Post: Boolean): Decimal
  • CalcVendExtraWithholdingForEarliest(var GenJnlLine: Record "Gen. Journal Line"): Decimal
  • CalcAppliedWithholdingTaxAmount(var VendorLedgerEntry: Record "Vendor Ledger Entry"; AppliedAmountWithholding: Decimal; WithholdingTaxPercent: Decimal; ExitLoop: Boolean): Decimal
  • ABSMin(Decimal1: Decimal; Decimal2: Decimal): Decimal
  • PrintWHTSlips(var GLReg: Record "G/L Register"; ScheduleInJobQueue: Boolean)
  • ApplyVendInvoiceWHT(var VendLedgerEntry: Record "Vendor Ledger Entry"; var GenJnlLine: Record "Gen. Journal Line"): Integer
  • ProcessPayment(var GenJnlLine: Record "Gen. Journal Line"; TransactionNo: Integer; EntryNo: Integer; Source: Option Vendor,Customer; AmountWithDisc: Boolean): Integer
  • InsertWithholdingTaxPostingBuffer(var WithholdingTaxEntryGL: Record "Withholding Tax Entry"; var GenJnlLine: Record "Gen. Journal Line"; Source: Option Payment,Refund; Oldest: Boolean)
  • RoundWithholdingTaxAmount(Amount: Decimal): Decimal (internal)
  • ProcessManualReceipt(var GenJnlLine: Record "Gen. Journal Line"; TransactionNo: Integer; EntryNo: Integer; Source: Option Vendor,Customer): Integer
  • ApplyVendInvoiceWHTPosted(var VendLedgerEntry: Record "Vendor Ledger Entry"; var GenJnlLine: Record "Gen. Journal Line"; TransNo: Integer): Integer
  • ProcessPaymentPosted(var GenJnlLine: Record "Gen. Journal Line"; TransactionNo: Integer; EntryNo: Integer; Source: Option Vendor,Customer): Integer
  • CheckVendorWithholdingTaxLiable(GenJnlLine: Record "Gen. Journal Line"): Boolean
  • InitTextVariable()
  • FormatNoText(var NoText: array[2] of Text[80]; No: Decimal; CurrencyCode: Code[10])

Plus 13 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.

Called by

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

Evidence 1 sources