xInfo::productName Method [AX 2012]

Retrieves the name of the product.

client server public static str productName()

Run On

ClientOrServer

Return Value

Type: str
A string that contains the name of the product.

The following example returns system information, including the name of the product.

str environment() 
{ 
    return xInfo::buildNo() + ' - '  
        + xInfo::compilationDate() + ' - '  
        + xInfo::dbName() + ' - '  
        + xInfo::osName() + ' - '  
        + xInfo::productName() + ' - '  
        + xInfo::releaseVersion(); 
}
Show: