Codeunit 18122411 EOS012 DDM Event Subscribers

Codeunit 18122411 EOS012 DDM Event Subscribers

Methods

AddNewRestrictedRecord

procedure AddNewRestrictedRecord(var TempRestrictedRecord: Record "Restricted Record"; RecID: RecordId; Detail: Text)

Parameters / Return Value

  • TempRestrictedRecord Record "Restricted Record"

  • RecID RecordId

  • Detail Text


Events

OnBeforeRemindersChecks

local procedure OnBeforeRemindersChecks(CustLedgerEntry: Record "Cust. Ledger Entry"; var TempRestrictedRecord: Record "Restricted Record"; var Handled: Boolean)

This event is raised before all reminders checks. Return “Handled” = true to skip all checks or add/replace with custom checks.

Parameters / Return Value

  • CustLedgerEntry Record "Cust. Ledger Entry"

    Current Customer Ledger Entry

  • TempRestrictedRecord Record "Restricted Record"

    Block reason list

  • Handled Boolean

    Return true to skip all checks


OnBeforeAddReminderLineBlock

local procedure OnBeforeAddReminderLineBlock(CustLedgerEntry: Record "Cust. Ledger Entry"; ReminderLine: Record "Reminder Line"; var TempRestrictedRecord: Record "Restricted Record"; var Handled: Boolean)

This event is raised before add a block reason caused by this “ReminderLine”. Return “Handled” = true to skip.

Parameters / Return Value

  • CustLedgerEntry Record "Cust. Ledger Entry"

    Current Customer Ledger Entry

  • ReminderLine Record "Reminder Line"

    Current Reminder Line

  • TempRestrictedRecord Record "Restricted Record"

    Block reason list

  • Handled Boolean

    Return true to skip this block


OnBeforeAddReminderFinChargeEntryBlock

local procedure OnBeforeAddReminderFinChargeEntryBlock(CustLedgerEntry: Record "Cust. Ledger Entry"; ReminderFinChargeEntry: Record "Reminder/Fin. Charge Entry"; var TempRestrictedRecord: Record "Restricted Record"; var Handled: Boolean)

This event is raised before add a block reason caused by this “ReminderFinChargeEntry”. Return “Handled” = true to skip.

Parameters / Return Value

  • CustLedgerEntry Record "Cust. Ledger Entry"

    Current Customer Ledger Entry

  • ReminderFinChargeEntry Record "Reminder/Fin. Charge Entry"

    Current Reminder Financial Charge Entry

  • TempRestrictedRecord Record "Restricted Record"

    Block reason list

  • Handled Boolean

    Return true to skip this block


OnAfterRemindersChecks

local procedure OnAfterRemindersChecks(CustLedgerEntry: Record "Cust. Ledger Entry"; var TempRestrictedRecord: Record "Restricted Record")

This event is raised after all reminders checks. This list may include block reasons from other tables and app subscriptors. Other subscriptors could add other blocking reasons after this event.

Parameters / Return Value

  • CustLedgerEntry Record "Cust. Ledger Entry"

    Current Customer Ledger Entry

  • TempRestrictedRecord Record "Restricted Record"

    Block reason list



EOS Labs -