Codeunit 18122274 EOS DCF Withh.-Contrib

Codeunit 18122274 EOS DCF Withh.-Contrib

Methods

CreateTmpWithhSocSec_DCF

procedure CreateTmpWithhSocSec_DCF(var GenJnlLine: Record "Gen. Journal Line"; var DocFImport: Record "EOS DCF Import"; tryExecute: Boolean)

CreateTmpWithhSocSec_DCF

Parameters / Return Value

  • GenJnlLine Record "Gen. Journal Line"

    The GenJnlLine that will be valued

  • DocFImport Record "EOS DCF Import"

  • tryExecute Boolean


CreateTmpWithhSocSec_Notula

procedure CreateTmpWithhSocSec_Notula(var GenJnlLine: Record "Gen. Journal Line"; var DocFImport: Record "EOS DCF Import"; PurchWithhContribution: Record "EOS Purch. Withh. Contr. Note"; tryExecute: Boolean)

CreateTmpWithhSocSec_Notula

Parameters / Return Value

  • GenJnlLine Record "Gen. Journal Line"

    The GenJnlLine that will be valued

  • DocFImport Record "EOS DCF Import"

  • PurchWithhContribution Record "EOS Purch. Withh. Contr. Note"

    The PurchWithhContribution that will provide the amounts

  • tryExecute Boolean


CreateTmpWithhSocSec

procedure CreateTmpWithhSocSec(var GenJnlLine: Record "Gen. Journal Line"; var DocFImport: Record "EOS DCF Import"; var TmpWithholdingSocSec: Record "Tmp Withholding Contribution")

Parameters / Return Value

  • GenJnlLine Record "Gen. Journal Line"

  • DocFImport Record "EOS DCF Import"

  • TmpWithholdingSocSec Record "Tmp Withholding Contribution"


GetRemainingWithhTaxAmount

procedure GetRemainingWithhTaxAmount(ComputedWithholdingTax: Record "Computed Withholding Tax"; AppliestoOccurrenceNo: Integer; var DCFImport: Record "EOS DCF Import"; var GenJnlLine: Record "Gen. Journal Line") RemainingWithhTaxAmount: Decimal

Parameters / Return Value

  • ComputedWithholdingTax Record "Computed Withholding Tax"

  • AppliestoOccurrenceNo Integer

  • DCFImport Record "EOS DCF Import"

  • GenJnlLine Record "Gen. Journal Line"

  • Returns Decimal


CheckForMultipleInstallment

procedure CheckForMultipleInstallment(DocumentNo: Code[20]): Boolean

Parameters / Return Value

  • DocumentNo Code[20]

  • Returns Boolean


GetWithhTaxTotAmount

procedure GetWithhTaxTotAmount(VendLedgEntry: Record "Vendor Ledger Entry"): Decimal

Parameters / Return Value

  • VendLedgEntry Record "Vendor Ledger Entry"

  • Returns Decimal


Events

OnBeforeGetRemaningWithhTaxAmount

local procedure OnBeforeGetRemaningWithhTaxAmount(ComputedWithholdingTax: Record "Computed Withholding Tax"; AppliestoOccurrenceNo: Integer; var DCFImport: Record "EOS DCF Import"; var GenJnlLine: Record "Gen. Journal Line"; var RemainingWithhTaxAmount: Decimal; var Handled: Boolean)

Event raised before calculating the Remaining Withholding Tax Amount. Allows to override the default calculation and set a custom value.

Parameters / Return Value

  • ComputedWithholdingTax Record "Computed Withholding Tax"

    The source Computed Withholding Tax record

  • AppliestoOccurrenceNo Integer

    Occurrence No. to which the payment applies

  • DCFImport Record "EOS DCF Import"

    Source EOS DCF Import record

  • GenJnlLine Record "Gen. Journal Line"

    Linked General Journal Line record

  • RemainingWithhTaxAmount Decimal

    Returned Remaining Withholding Tax Amount

  • Handled Boolean

    Flag to override the default calculation


OnBeforeGetCompanyAmount

local procedure OnBeforeGetCompanyAmount(var GenJnlLine: Record "Gen. Journal Line"; var DCFImport: Record "EOS DCF Import"; var CompAmount: Decimal; Handled: Boolean)

Event raised before calculating the Company Amount. Allows to override the default calculation and set a custom value.

Parameters / Return Value

  • GenJnlLine Record "Gen. Journal Line"

    Linked General Journal Line record

  • DCFImport Record "EOS DCF Import"

    Source EOS DCF Import record

  • CompAmount Decimal

    Returned Company Amount

  • Handled Boolean

    Flag to override the default calculation


OnAfterCreateTmpWithhSocSec

local procedure OnAfterCreateTmpWithhSocSec(var GenJnlLine: Record "Gen. Journal Line"; DocFImport: Record "EOS DCF Import"; var TmpWithholdingSocSec: Record "Tmp Withholding Contribution")

Event raised after creating the Tmp Withholding Contribution record.

Parameters / Return Value

  • GenJnlLine Record "Gen. Journal Line"

    Linked General Journal Line record

  • DocFImport Record "EOS DCF Import"

    Source EOS DCF Import record

  • TmpWithholdingSocSec Record "Tmp Withholding Contribution"

    Tmp Withholding Contribution record



EOS Labs -