Share via


EventTypeDue.setBuffer Method [AX 2012]

Sets an internal buffer variable that is used when it processes due dates.

Syntax

public void setBuffer(Common _common)

Run On

Called

Parameters

Remarks

This method must be called before other methods on the class can be called, such as the isMatchingRule method.

Examples

void MyMethod(EventTypeDue _dueType, common _buffer) 
{ 
 
    _dueType.setBuffer(_buffer); 
    if (! _dueType.canExecute()) 
    { 
        return; 
    } 
    if (! _dueType.isMatchingRule()) 
    { 
        return; 
    } 
}

See Also

EventTypeDue Class

EventTypeDue.isMatchingRule Method

EventTypeDue.setBuffer Method