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


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



EOS Labs -