ReleaseUpdateCockpit.addJob Method [AX 2012]

Adds an upgrade job to the ReleaseUpdateScripts table.

public int addJob(
    IdentifierName _methodName, 
    ClassDescription _description, 
    ClassId _classId, 
    ReleaseUpdateScriptType _scriptType, 
    ReleaseUpdateScriptStage _scriptStage, 
    ReleaseUpdateModule _module, 
    sysReleasedVersion _scriptVersion, 
    container _configKeys, 
    boolean _requiresXact, 
   [RefRecId _bulkCopyRecId, 
    ReleaseUpdatePriority _priorityCoefficient])

Run On

Server

Parameters

_methodName
Type: IdentifierName Extended Data Type
The method name of the Script.
_description
Type: ClassDescription Extended Data Type
The script description.
_classId
Type: ClassId Extended Data Type
The class ID of the script.
_scriptType
Type: ReleaseUpdateScriptType Enumeration
The script type.
_scriptStage
Type: ReleaseUpdateScriptStage Enumeration
The script stage.
_module
Type: ReleaseUpdateModule Extended Data Type
The script module.
_scriptVersion
Type: sysReleasedVersion Enumeration
The script version.
_configKeys
Type: container
A container that contains the script configuration keys.
_requiresXact
Type: boolean
A Boolean value that indicates whether an outer transaction is needed.
_bulkCopyRecId
Type: RefRecId Extended Data Type
The record ID of the bulk copy.
_priorityCoefficient
Type: ReleaseUpdatePriority Extended Data Type
The ReleaseUpdatePriority value.

Return Value

Type: int
The scriptID value of the ReleaseUpdatePriority table.

Community Additions

ADD
Show: