Codeunit 18008371 EOS Comm. IT Event Publisher
Gathers all published events
procedure OnBeforeOnLinkCultLdgEntriesToCommEntriesIT(var EOSCommissionLedgerEntry: Record "EOS Commission Ledger Entry"; CustLedgerEntry: Record "Cust. Ledger Entry"; var Handled: Boolean)
Raised when during posting a new customer ledger entry is inserted
EOSCommissionLedgerEntry Record "EOS Commission Ledger Entry"
Commission ledger entry dataset filtered by document
CustLedgerEntry Record "Cust. Ledger Entry"
New customer ledger entry
Handled Boolean
No following standard code will be executed
procedure OnAfterOnLinkCultLdgEntriesToCommEntriesIT(var EOSCommissionLedgerEntry: Record "EOS Commission Ledger Entry"; CustLedgerEntry: Record "Cust. Ledger Entry")
Raised when during posting a new customer ledger entry is inserted
EOSCommissionLedgerEntry Record "EOS Commission Ledger Entry"
Commission ledger entry dataset filtered by document
CustLedgerEntry Record "Cust. Ledger Entry"
New customer ledger entry
procedure OnBeforeOnLinkCultLdgEntriesToCommEntriesFetchEntriesIT(var EOSCommissionLedgerEntry: Record "EOS Commission Ledger Entry"; CustLedgerEntry: Record "Cust. Ledger Entry"; var Found: Boolean; var Handled: Boolean)
Raised when recalculating commissions for a posted document after posting step
EOSCommissionLedgerEntry Record "EOS Commission Ledger Entry"
Commission ledger entry that you’re adding
CustLedgerEntry Record "Cust. Ledger Entry"
Customer ledger entry filtered by document
Found Boolean
Specifies if at least one Cust. Ledger Entry record has been found for the document
Handled Boolean
No following standard code will be executed
procedure OnAfterOnLinkCultLdgEntriesToCommEntriesFetchEntriesIT(var EOSCommissionLedgerEntry: Record "EOS Commission Ledger Entry"; CustLedgerEntry: Record "Cust. Ledger Entry")
Raised when recalculating commissions for a posted document after posting step
EOSCommissionLedgerEntry Record "EOS Commission Ledger Entry"
Commission ledger entry that you’re adding
CustLedgerEntry Record "Cust. Ledger Entry"
Customer ledger entry filtered by document
procedure OnBeforeDeleteNotRelatedCommLdgEntriesIT(GenJournalLine: Record "Gen. Journal Line"; var Handled: Boolean)
Raised when during posting commission ledger entries not related to a cust. ledger entry must be deleted
GenJournalLine Record "Gen. Journal Line"
Posted journal line, related document is checked to seek commission ledger entries
Handled Boolean
No following standard code will be executed
procedure OnAfterDeleteNotRelatedCommLdgEntriesIT(GenJournalLine: Record "Gen. Journal Line")
Raised when during posting commission ledger entries not related to a cust. ledger entry must be deleted
GenJournalLine Record "Gen. Journal Line"
Posted journal line, related document is checked to seek commission ledger entries
procedure OnBeforeCheckCustLdgEntryRenegotiable(CLE: Integer; var ResponseText: Text; var IsHandled: Boolean)
Raised before a customer ledger entry is checked to be renegotiate. CMS app checks if there is a related commission ledger entry and blocks if it is settled or in settlement
CLE Integer
Customer ledger entry to be checked as renegotiable
ResponseText Text
Return text with no renegotiable reason
IsHandled Boolean
No following standard code will be executed
procedure OnAfterCheckCustLdgEntryRenegotiable(CLE: Integer; var ResponseText: Text)
Raised after a customer ledger entry is checked to be renegotiate. CMS app checks if there is a related commission ledger entry and blocks if it is settled or in settlement
CLE Integer
Customer ledger entry to be checked as renegotiable
ResponseText Text
Return text with no renegotiable reason
procedure OnBeforeRenegotiateCommEntries(RenegotiationNo: Code[20]; var xSnapshot: Record "Gen. Journal Line"; var Snapshot: Record "Gen. Journal Line"; var IsHandled: Boolean)
Raised before analysing customer entries to renegotiate. CMS app will find related commission entries and update them following cust. ledeger entries modifications
RenegotiationNo Code[20]
Due date management renegotiation no.
xSnapshot Record "Gen. Journal Line"
Customer ledger entries snapshot before renegotiation
Snapshot Record "Gen. Journal Line"
Customer ledger entries snapshot after renegotiation
IsHandled Boolean
No following standard code will be executed
procedure OnAfterRenegotiateCommEntries(RenegotiationNo: Code[20]; var xSnapshot: Record "Gen. Journal Line"; var Snapshot: Record "Gen. Journal Line")
Raised after analysing customer entries to renegotiate. CMS app will find related commission entries and update them following cust. ledeger entries modifications
RenegotiationNo Code[20]
Due date management renegotiation no.
xSnapshot Record "Gen. Journal Line"
Customer ledger entries snapshot before renegotiation
Snapshot Record "Gen. Journal Line"
Customer ledger entries snapshot after renegotiation
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.