Share via


WrkCtrScheduler_Req.addInfologMessage Method [AX 2012]

Adds an Infolog entry for an order that failed scheduling.

Syntax

protected void addInfologMessage(
    WrkCtrParmSchedule _wrkCtrParmSchedule, 
   [WrkCtrJobSchedulingError _jobSchedulingError, 
    str _infologMessage, 
    Common _common, 
    boolean _throwError])

Run On

Server

Parameters

  • _wrkCtrParmSchedule
    Type: WrkCtrParmSchedule Class
    An instance of the WrkCtrParmSchedule class that contains the order scheduling parameters.
  • _jobSchedulingError
    Type: WrkCtrJobSchedulingError Enumeration
    A WrkCtrJobSchedulingError value that indicates the error to report; optional.
    If the parameter value is WrkCtrJobSchedulingError::None then a call is made to the scheduling engine in order to get the scheduling error.
  • _infologMessage
    Type: str
    A string that should be put in the Infolog as error or information.
  • _common
    Type: Common Table
    A Common table buffer that identifies the record that triggered the failure.
  • _throwError
    Type: boolean
    true if an error should be thrown; false if the message should be added as information.

See Also

Reference

WrkCtrScheduler_Req Class