JmgArchiveFutureRegistrations.unpack Method [AX 2012]
Deserializes the packedClass parameter value to an instance of the JmgArchiveFutureRegistrations class.
When the RunBase.isSwappingPrompt method returns true, you may have to unpack some prompt-related variables also.
The following example:
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: