Share via


RetailConnSchedulerUtilities::runScheduleJob Method [AX 2012]

Creates the log transaction for the job, runs the job, and updates the final messages and data into the RetailConnSchedulerJobTable table.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          client server public static RetailConnSchedulerJobTable runScheduleJob(
            RetailConnSchedulerJobTable _schedulerJobTable, 
           [Batch _currentBatch, 
            boolean _useLog, 
            Common _schedulerLog, 
            str _locationGroupFilter, 
            Common _locList])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static RetailConnSchedulerJobTable runScheduleJob(
            RetailConnSchedulerJobTable _schedulerJobTable, 
           [Batch _currentBatch, 
            boolean _useLog, 
            RetailConnSchedulerLog _schedulerLog, 
            str _locationGroupFilter, 
            RetailConnLocationList _locList])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static RetailConnSchedulerJobTable runScheduleJob(
            RetailConnSchedulerJobTable _schedulerJobTable, 
           [Batch _currentBatch, 
            boolean _useLog, 
            RetailConnSchedulerLog _schedulerLog, 
            str _locationGroupFilter, 
            RetailConnLocationList _locList])

Run On

Called

Parameters

  • _currentBatch
    Type: Batch Table
    A Batch record; optional.
  • _useLog
    Type: boolean
    A Boolean value that indicates whether to create and update the log; optional.
  • _schedulerLog
    Type: Common Table
    A RetailConnSchedulerLog record; optional.
  • _locationGroupFilter
    Type: str
    A user-selected value that will be used in a rerun of a job; optional.
  • _locList
    Type: Common Table
    A user-selected RetailConnLocationList value; optional.

Return Value

Type: RetailConnSchedulerJobTable Table
A RetailConnSchedulerJobTable record with the updated log.

See Also

Reference

RetailConnSchedulerUtilities Class