Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Schedules a script in a batch.
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
          protected RefRecId scheduleBatchTask(
            ReleaseUpdateScripts _releaseUpdateScripts, 
            PartitionKey _partitionKey, 
            DataAreaId _company)
  Microsoft Dynamics AX 2012 R2 (SYS)
          protected RefRecId scheduleBatchTask(
            ReleaseUpdateScripts _releaseUpdateScripts, 
            PartitionKey _partitionKey, 
            DataAreaId _company)
  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected RefRecId scheduleBatchTask(ReleaseUpdateScripts _releaseUpdateScripts, DataAreaId _company)
  Microsoft Dynamics AX 2012 (FPK)
          protected RefRecId scheduleBatchTask(ReleaseUpdateScripts _releaseUpdateScripts, DataAreaId _company)
  Microsoft Dynamics AX 2012 (SYS)
          protected RefRecId scheduleBatchTask(ReleaseUpdateScripts _releaseUpdateScripts, DataAreaId _company)
Run On
Server
Parameters
- _releaseUpdateScripts
 Type: ReleaseUpdateScripts Table
 The script information.
- _partitionKey
 Type: PartitionKey Extended Data Type
- _company
 Type: DataAreaId Extended Data Type
 The company that the script will run on.
Return Value
Type: RefRecId Extended Data Type
The batch record ID of the script.