Codeunit 28040 "WHTManagement" (AU)
AU country layer · Microsoft.Finance.WithholdingTax
Across versions
- BC23-28not present
- BC29-30present
AU country layer · Microsoft.Finance.WithholdingTax · BC29-30 · source at ea08af5e · facts from BC29
An object of the AU localization, not part of W1.
Properties
| Property | Value |
|---|---|
| Permissions | TableData “Cust. Ledger Entry” = rimd, TableData “Vendor Ledger Entry” = rimd, TableData “G/L Register” = rimd |
Procedures
ApplyVendInvoiceWHT(var VendLedgerEntry: Record "Vendor Ledger Entry"; var GenJnlLine: Record "Gen. Journal Line"): IntegerApplyCustInvoiceWHT(var CustLedgerEntry: Record "Cust. Ledger Entry"; var GenJnlLine: Record "Gen. Journal Line"): IntegerApplyManualCustInvoiceWHT(var CustLedgerEntry: Record "Cust. Ledger Entry"; var GenJnlLine: Record "Gen. Journal Line"): IntegerInsertVendInvoiceWHT(var PurchInvHeader: Record "Purch. Inv. Header")InsertVendCreditWHT(var PurchCreditHeader: Record "Purch. Cr. Memo Hdr."; AppliesID: Code[20])InsertCustInvoiceWHT(var SalesInvHeader: Record "Sales Invoice Header")InsertCustCreditWHT(var SalesCreditHeader: Record "Sales Cr.Memo Header"; AppliesID: Code[20])ProcessPayment(var GenJnlLine: Record "Gen. Journal Line"; TransactionNo: Integer; EntryNo: Integer; Source: Option Vendor,Customer; AmountWithDisc: Boolean): IntegerProcessManualReceipt(var GenJnlLine: Record "Gen. Journal Line"; TransactionNo: Integer; EntryNo: Integer; Source: Option Vendor,Customer): IntegerInsertWHTPostingBuffer(var WHTEntryGL: Record "WHT Entry"; var GenJnlLine: Record "Gen. Journal Line"; Source: Option Payment,Refund; Oldest: Boolean)NextEntryNo(): IntegerNextTempEntryNo(): IntegerPrintWHTSlips(var GLReg: Record "G/L Register"; ScheduleInJobQueue: Boolean)InsertVendJournalWHT(var GenJnlLine: Record "Gen. Journal Line"): IntegerInsertCustJournalWHT(var GenJnlLine: Record "Gen. Journal Line"): IntegerInsertWHT(TransType: Option Purchase,Sale): IntegerWHTAmountJournal(var GenJnlLine1: Record "Gen. Journal Line"; Post: Boolean): DecimalApplyCustCalcWHT(var GenJnlLine: Record "Gen. Journal Line"): DecimalCalcWHT(var GenJnlLine: Record "Gen. Journal Line"; Source: Option Vendor,Customer): DecimalApplyTempWHTEntry(var GenJnlLine: Record "Gen. Journal Line"; Source: Option Vendor,Customer): IntegerApplyTempVendInvoiceWHT(var GenJnlLine: Record "Gen. Journal Line"): IntegerVoidCheck2(CheckLedgEntry: Record "Check Ledger Entry")ApplyVendInvoiceWHTPosted(var VendLedgerEntry: Record "Vendor Ledger Entry"; var GenJnlLine: Record "Gen. Journal Line"; TransNo: Integer): IntegerApplyCustInvoiceWHTPosted(var CustLedgerEntry: Record "Cust. Ledger Entry"; var GenJnlLine: Record "Gen. Journal Line"; TransNo: Integer; AppliedEntryTransNo: Integer): IntegerProcessPaymentPosted(var GenJnlLine: Record "Gen. Journal Line"; TransactionNo: Integer; EntryNo: Integer; Source: Option Vendor,Customer): IntegerCheckPmtDisc(PostingDate: Date; PmtDiscDate: Date; Amount1: Decimal; Amount2: Decimal; Amount3: Decimal; Amount4: Decimal): BooleanPreprintingWHT(var GenJournalLine: Record "Gen. Journal Line")CheckApplicationSalesWHT(var SalesHeader: Record "Sales Header")CheckApplicationPurchWHT(var PurchHeader: Record "Purchase Header")CheckApplicationGenSalesWHT(var GenJnlLine: Record "Gen. Journal Line")CheckApplicationGenPurchWHT(var GenJnlLine: Record "Gen. Journal Line")CalcVendExtraWHTForEarliest(var GenJnlLine: Record "Gen. Journal Line"): DecimalCalcCustExtraWHTForEarliest(var GenJnlLine: Record "Gen. Journal Line"): DecimalInsertVendPrepaymentInvoiceWHT(var PurchInvHeader: Record "Purch. Inv. Header"; var PurchHeader: Record "Purchase Header")InsertPrepaymentUnrealizedWHT(TransType: Option Purchase,Sale): IntegerInitWHTEntry(TempWHTEntry: Record "WHT Entry"; AppldAmount: Decimal; PaymentAmount1: Decimal; var WHTEntry3: Record "WHT Entry")CheckWHTCalculationRule(TotalInvoiceAmountLCY: Decimal; WHTPostingSetup: Record "WHT Posting Setup"): BooleanInsertVendPrepaymentCrMemoWHT(var PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr."; var PurchHeader: Record "Purchase Header")ABSMin(Decimal1: Decimal; Decimal2: Decimal): DecimalCalcAppliedWHTAmount(var VendorLedgerEntry: Record "Vendor Ledger Entry"; AppliedAmountWHT: Decimal; WHTPercent: Decimal; ExitLoop: Boolean): DecimalRoundWHTAmount(Amount: Decimal): Decimal(internal)
Plus 11 local procedures.
Triggers
OnRun
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: "WHTManagement"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.
A AU country object, not part of W1: the default corpus does not have it; bcatlas_list_countries shows which countries the atlas has.