Codeunit 18123796 EOS068 EX014

Codeunit 18123796 EOS068 EX014

Methods

GetContributionAmountFromContrLedgerEntry

procedure GetContributionAmountFromContrLedgerEntry(TableID: Integer; DocumentType: Integer; DocumentNo: Code[20]; ContributionRelatedTo: Integer; var ContributionAmountLCY: Decimal)

Invoke evento OnGetContributionAmountFromContrLedgerEntry to returns the sum of contribution amount from the Contribution Ledger Entry

Parameters / Return Value

  • TableID Integer

    Table ID

  • DocumentType Integer

    Document Type = 1 = Invoice, 2 = Credit Memo, 3 = Posted Invoice, 4 = Posted Credit Memo

  • DocumentNo Code[20]

    Document No

  • ContributionRelatedTo Integer

    Contribution Related To = 0 = “", 1 = Vendor, 2 = Company

  • ContributionAmountLCY Decimal

    Contribution Amount LCY


RaiseOnHandleNonIncomeAmountsEvaluation

procedure RaiseOnHandleNonIncomeAmountsEvaluation(var GenJournalLine: Record "Gen. Journal Line"; Amount: Decimal; var IsHandled: Boolean)

This method raise event OnHandleNonIncomeAmountsEvaluation

Parameters / Return Value

  • GenJournalLine Record "Gen. Journal Line"

  • Amount Decimal

  • IsHandled Boolean


RaiseOnHandleNonIncomeAmountsEvaluationFromVendorBill

procedure RaiseOnHandleNonIncomeAmountsEvaluationFromVendorBill(var VendorBillWithholdingTax: Record "Vendor Bill Withholding Tax"; Amount: Decimal; var IsHandled: Boolean)

This method raise event OnHandleNonIncomeAmountsEvaluationFromVendorBill

Parameters / Return Value

  • VendorBillWithholdingTax Record "Vendor Bill Withholding Tax"

  • Amount Decimal

  • IsHandled Boolean


Events

OnGetContributionAmountFromContrLedgerEntry

local procedure OnGetContributionAmountFromContrLedgerEntry(TableID: Integer; DocumentType: Integer; DocumentNo: Code[20]; ContributionRelatedTo: Integer; var ContributionAmountLCY: Decimal)

This method allows you to have the XML generated by the FTE without having the FTE as a dependency

Parameters / Return Value

  • TableID Integer

  • DocumentType Integer

  • DocumentNo Code[20]

  • ContributionRelatedTo Integer

  • ContributionAmountLCY Decimal


OnHandleNonIncomeAmountsEvaluation

local procedure OnHandleNonIncomeAmountsEvaluation(var GenJournalLine: Record "Gen. Journal Line"; Amount: Decimal; var IsHandled: Boolean)

This method is raised during Tmp Whitholding Contribution creation after the GenJournalLine insertion

Parameters / Return Value

  • GenJournalLine Record "Gen. Journal Line"

  • Amount Decimal

  • IsHandled Boolean


OnHandleNonIncomeAmountsEvaluationFromVendorBill

local procedure OnHandleNonIncomeAmountsEvaluationFromVendorBill(var VendorBillWithholdingTax: Record "Vendor Bill Withholding Tax"; Amount: Decimal; var IsHandled: Boolean)

This method is raised during Tmp Whitholding Contribution creation after the GenJournalLine insertion

Parameters / Return Value

  • VendorBillWithholdingTax Record "Vendor Bill Withholding Tax"

  • Amount Decimal

  • IsHandled Boolean



EOS Labs -