ProdMultiStartUp.unpack Method [AX 2012]
Deserializes the _packedClass parameter value to an instance of the ProdMultiStartUp class.
The following example demonstrates the use of the unpack method. However, this example will not compile in a job as it must be run in the context of a class, form, or other object.
public boolean unpack(container packedClass)
{
Version version = runbase::getVersion(packedClass);
#localmacro.list1 // This is the first list
transDate
#endmacro
switch (version)
{
case #CurrentVersion:
[version,#CurrentList] = packedClass;
break;
case 1:
[version,#list1] = packedClass;
default:
return false;
}
return true;
}
Community Additions
ADD
Show: