xInfo::buildNo Method [AX 2012]
Retrieves the kernel build number of the current Microsoft Dynamics AX executable.
The following example uses this method to return the kernel build number as part of a string that contains Microsoft Dynamics AX version information.
static client str axaptaReleaseID()
{
#define.versionPrefix('v')
#define.versionNumber('#')
#define.versionPartition('/')
return #versionprefix+xInfo::releaseVersion()+
#versionNumber+xInfo::buildNo()+
#versionPartition+ApplicationVersion::buildNo();
}
Show: