Codeunit 12101 "Withholding - Contribution" (IT)
IT country layer · Microsoft.Finance.WithholdingTax
Across versions
- BC23-28not present
- BC29-30present
IT country layer · Microsoft.Finance.WithholdingTax · BC29-30 · source at ea08af5e · facts from BC29
An object of the IT localization, not part of W1.
Events published
OnBeforeCalculateWithholdingTax(var PurchaseHeader: Record "Purchase Header"; Recalculate: Boolean; var IsHandled: Boolean)(integration)OnBeforeCreateTmpWithhSocSec(var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean)(integration)OnBeforePostPayments(var TmpWithholdingContribution: Record "Tmp Withholding Contribution"; GenJournalLine: Record "Gen. Journal Line"; CalledFromVendBillLine: Boolean; var IsHandled: Boolean)(integration)OnBeforeTmpWithholdingSocSecInsert(var TmpWithholdingContribution: Record "Tmp Withholding Contribution"; ComputedWithholdingTax: Record "Computed Withholding Tax"; GenJournalLine: Record "Gen. Journal Line")(integration)OnBeforeWithholdingTaxInsert(var WithholdingTax: Record "Withholding Tax"; TmpWithholdingContribution: Record "Tmp Withholding Contribution"; GenJnlLine: Record "Gen. Journal Line")(integration)OnBeforeWithholdApplicable(TmpWithholdingContribution: Record "Tmp Withholding Contribution"; CalledFromVendBillLine: Boolean; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeWithholdLineFilter(var WithholdCodeLine: Record "Withhold Code Line"; WithholdCode: Code[20]; ValidityDate: Date; var IsHandled: Boolean)(integration)OnCalculateWithholdingTaxOnRecalculate(var PurchWithhContribution: Record "Purch. Withh. Contribution"; PurchaseHeader: Record "Purchase Header"; var TotAmount: Decimal)(integration)OnCalculateWithholdingTaxOnAfterPurchLineSetFilters(var PurchLine: Record "Purchase Line"; PurchaseHeader: Record "Purchase Header")(integration)OnGetRemainingWithhTaxAmountOnAfterVendLedgEntrySetFilters(var VendLedgEntry: Record "Vendor Ledger Entry"; CreateVendLedgEntry: Record "Vendor Ledger Entry"; ComputedWithholdingTax: Record "Computed Withholding Tax"; AppliestoOccurrenceNo: Integer)(integration)OnPostPaymentsOnBeforeComputedWithholdingTaxModify(var TempWithholdingSocSec: Record "Tmp Withholding Contribution"; var ComputedWithholdingTax: Record "Computed Withholding Tax")(integration)
Procedures
PostPayments(var TempWithholdingSocSec: Record "Tmp Withholding Contribution"; GenJnlLine: Record "Gen. Journal Line"; CalledFromVendBillLine: Boolean)CalculateWithholdingTax(var PurchHeader: Record "Purchase Header"; Recalculate: Boolean)CreateTmpWithhSocSec(var GenJnlLine: Record "Gen. Journal Line")WithholdLineFilter(var WithholdCodeLine: Record "Withhold Code Line"; WithholdCode: Code[20]; ValidityDate: Date)SetSocSecLineFilters(var SocSecCodeLine: Record "Contribution Code Line"; SocialSecurityCode: Code[20]; StartingDate: Date; TipoContributo: Option INPS,INAIL)SetSocSecBracketFilters(var SocSecBracketLine: Record "Contribution Bracket Line"; SocialSecurityBracketCode: Code[10]; TipoContributo: Option INPS,INAIL; Code: Code[20])GetRemainingWithhTaxAmount(ComputedWithholdingTax: Record "Computed Withholding Tax"; AppliestoOccurrenceNo: Integer): DecimalWithholdApplicable(TempWithholdingSocSec: Record "Tmp Withholding Contribution"; CalledFromVendBillLine: Boolean): BooleanSocialSecurityApplicable(TempWithholdingSocSec: Record "Tmp Withholding Contribution"; CalledFromVendBillLine: Boolean): BooleanGetCompContribRemGrossAmtForVendorInPeriod(VendorNo: Code[20]; StartDate: Date; EndDate: Date): Decimal
Plus 2 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: "Withholding - Contribution"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.
A IT country object, not part of W1: the default corpus does not have it; bcatlas_list_countries shows which countries the atlas has.