Share via


EventTypeDue.canExecute Method [AX 2012]

Determines whether the record that is currently being processed can be executed.

Syntax

public boolean canExecute()

Run On

Called

Return Value

Type: boolean
true when the current buffer can be processed; otherwise, false.

Remarks

To check whether the record that is currently being processed can be executed, this method checks whether a record occurs in the EventRuleIgnore table. When a record exists, the method checks whether the record has a date value different from the alert field in the current buffer.

When it returns false, it is because the current buffer has already been alerted.

Deleting the EventRuleIgnore table will make the due date processor regenerate alerts.

See Also

EventTypeDue Class

EventTypeDue.isMatchingRule Method

EventRuleIgnore Table