Codeunit 18008370 EOS Comm. Multiple Occurr.
Gathers all functions used to handle multiple occurrences
local procedure OnBeforeGetOccurrenceFactor(CustLedgerEntry: Record "Cust. Ledger Entry"; FromPosting: Boolean; var PaymentLineNo: Integer; DocumentLedgerEntryNo: Integer; var Factor: Decimal; var IsHandled: Boolean)
Raised before standard GetOccurrenceFactor procedure allowing custom processing
CustLedgerEntry Record "Cust. Ledger Entry"
Current Customer ledger entry
FromPosting Boolean
Executed while posting or while commission calculation
PaymentLineNo Integer
Current posted Payment Line Number
DocumentLedgerEntryNo Integer
Commission document ledger entry No.
Factor Decimal
Calculed Factor percentage
IsHandled Boolean
Return true ho skip standard GetOccurrenceFactor processing
local procedure OnAfterGetOccurrenceFactor(CustLedgerEntry: Record "Cust. Ledger Entry"; FromPosting: Boolean; var PaymentLineNo: Integer; DocumentLedgerEntryNo: Integer; var Factor: Decimal)
Raised after standard GetOccurrenceFactor procedure allowing custom “factor” calculation/changes
CustLedgerEntry Record "Cust. Ledger Entry"
Current Customer ledger entry
FromPosting Boolean
Executed while posting or while commission calculation
PaymentLineNo Integer
Current posted Payment Line Number
DocumentLedgerEntryNo Integer
Commission document ledger entry No.
Factor Decimal
Calculed Factor percentage
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.