ReleaseUpdateCockpit.addDependency Method [AX 2012]

Adds a script dependency.

public void addDependency(
    ClassId _firstClassId, 
    IdentifierName _firstMethodName, 
    sysReleasedVersion _firstScriptVersion, 
    ClassId _thenClassId, 
    IdentifierName _thenMethodName, 
    sysReleasedVersion _thenScriptVersion, 
    NoYesId _crossModule)

Run On

Server

Parameters

_firstClassId
Type: ClassId Extended Data Type
The class ID of the first script.
_firstMethodName
Type: IdentifierName Extended Data Type
The name of the method in the first script.
_firstScriptVersion
Type: sysReleasedVersion Enumeration
The version of the first script.
_thenClassId
Type: ClassId Extended Data Type
The class ID of the Then script.
_thenMethodName
Type: IdentifierName Extended Data Type
The name of the method in the Then script.
_thenScriptVersion
Type: sysReleasedVersion Enumeration
The version of the Then script.
_crossModule
Type: NoYesId Extended Data Type
A value that indicates whether this is a cross module dependency.

The first method will be executed and finished before the Then method is executed.

Community Additions

ADD
Show: