Codeunit 18008371 EOS Comm. IT Event Publisher
Codeunit 18008371 EOS Comm. IT Event Publisher
Gathers all published events
Events
OnBeforeOnLinkCultLdgEntriesToCommEntriesIT
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
Parameters / Return Value
EOSCommissionLedgerEntry
Record "EOS Commission Ledger Entry"Commission ledger entry dataset filtered by document
CustLedgerEntry
Record "Cust. Ledger Entry"New customer ledger entry
Handled
BooleanNo following standard code will be executed
OnAfterOnLinkCultLdgEntriesToCommEntriesIT
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
Parameters / Return Value
EOSCommissionLedgerEntry
Record "EOS Commission Ledger Entry"Commission ledger entry dataset filtered by document
CustLedgerEntry
Record "Cust. Ledger Entry"New customer ledger entry
OnBeforeOnLinkCultLdgEntriesToCommEntriesFetchEntriesIT
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
Parameters / Return Value
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
BooleanSpecifies if at least one Cust. Ledger Entry record has been found for the document
Handled
BooleanNo following standard code will be executed
OnAfterOnLinkCultLdgEntriesToCommEntriesFetchEntriesIT
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
Parameters / Return Value
EOSCommissionLedgerEntry
Record "EOS Commission Ledger Entry"Commission ledger entry that you’re adding
CustLedgerEntry
Record "Cust. Ledger Entry"Customer ledger entry filtered by document
OnBeforeDeleteNotRelatedCommLdgEntriesIT
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
Parameters / Return Value
GenJournalLine
Record "Gen. Journal Line"Posted journal line, related document is checked to seek commission ledger entries
Handled
BooleanNo following standard code will be executed
OnAfterDeleteNotRelatedCommLdgEntriesIT
procedure OnAfterDeleteNotRelatedCommLdgEntriesIT(GenJournalLine: Record "Gen. Journal Line")
Raised when during posting commission ledger entries not related to a cust. ledger entry must be deleted
Parameters / Return Value
GenJournalLine
Record "Gen. Journal Line"Posted journal line, related document is checked to seek commission ledger entries
OnBeforeCheckCustLdgEntryRenegotiable
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
Parameters / Return Value
CLE
IntegerCustomer ledger entry to be checked as renegotiable
ResponseText
Text[]Return text with no renegotiable reason
IsHandled
BooleanNo following standard code will be executed
OnAfterCheckCustLdgEntryRenegotiable
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
Parameters / Return Value
CLE
IntegerCustomer ledger entry to be checked as renegotiable
ResponseText
Text[]Return text with no renegotiable reason
OnBeforeRenegotiateCommEntries
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
Parameters / Return Value
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
BooleanNo following standard code will be executed
OnAfterRenegotiateCommEntries
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
Parameters / Return Value
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
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.