RunBase::getVersion Method [AX 2012]

Returns the version number from a container with a packed class.

client server public static Integer getVersion(container packedClass)

Run On

ClientOrServer

Parameters

packedClass
Type: container
The container that holds a packed class.

Return Value

Type: Integer Extended Data Type
The version number of the container.

Use this method instead of, for example, conpeek(c,1);.

Show: