Codeunit 18008370 EOS Comm. Multiple Occurr.
Codeunit 18008370 EOS Comm. Multiple Occurr.
Gathers all functions used to handle multiple occurrences
Events
OnBeforeGetOccurrenceFactor
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
Parameters / Return Value
CustLedgerEntry
Record "Cust. Ledger Entry"Current Customer ledger entry
FromPosting
BooleanExecuted while posting or while commission calculation
PaymentLineNo
IntegerCurrent posted Payment Line Number
DocumentLedgerEntryNo
IntegerCommission document ledger entry No.
Factor
DecimalCalculed Factor percentage
IsHandled
BooleanReturn true ho skip standard GetOccurrenceFactor processing
OnAfterGetOccurrenceFactor
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
Parameters / Return Value
CustLedgerEntry
Record "Cust. Ledger Entry"Current Customer ledger entry
FromPosting
BooleanExecuted while posting or while commission calculation
PaymentLineNo
IntegerCurrent posted Payment Line Number
DocumentLedgerEntryNo
IntegerCommission document ledger entry No.
Factor
DecimalCalculed Factor percentage
OnBeforeInsertEOSCommissionLedgerEntry
local procedure OnBeforeInsertEOSCommissionLedgerEntry(var EOSCommissionLedgerEntryNew: Record "EOS Commission Ledger Entry"; EOSCommissionLedgerEntry: Record "EOS Commission Ledger Entry"; CustLedgerEntry: Record "Cust. Ledger Entry"; FromPosting: Boolean)
Raised before standard CreateCommLdgEntryByOcc Insert procedure allowing custom processing
Parameters / Return Value
EOSCommissionLedgerEntryNew
Record "EOS Commission Ledger Entry"Commission Ledger Entry being inserted
EOSCommissionLedgerEntry
Record "EOS Commission Ledger Entry"Commission Ledger Entry being processed
CustLedgerEntry
Record "Cust. Ledger Entry"Customer Ledger Entry
FromPosting
Booleanis From Posting
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.