ReleaseUpdateDB::registerForMinorUpgradeScript Method [AX 2012]

Registers a script to be run during minor version upgrade.

server public static boolean registerForMinorUpgradeScript(ClassName _className, MethodName _methodName)

Run On

Server

Parameters

_className
Type: ClassName Extended Data Type
The script class name.
_methodName
Type: MethodName Extended Data Type
The script method name.

Return Value

Type: boolean
true if the script is successfully registered; otherwise, false.

If a script is registered two times, the method will return false the second time.

This API can be used by ISV or SE every time new scripts are installed alongside the solution.

Show: