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
IntegerTable ID
DocumentType
IntegerDocument Type = 1 = Invoice, 2 = Credit Memo, 3 = Posted Invoice, 4 = Posted Credit Memo
DocumentNo
Code[20]Document No
ContributionRelatedTo
IntegerContribution Related To = 0 = “", 1 = Vendor, 2 = Company
ContributionAmountLCY
DecimalContribution 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
DecimalIsHandled
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
DecimalIsHandled
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
IntegerDocumentType
IntegerDocumentNo
Code[20]ContributionRelatedTo
IntegerContributionAmountLCY
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
DecimalIsHandled
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
DecimalIsHandled
Boolean
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.