Thursday, February 16, 2012

Application environment

Sometimes when I'm working on a new customer and I don't know the Ax environment, I run this job. Check out the xInfo class for more information:

static void environment(Args _args)
{
   ;

   info( xInfo::buildNo() + ' - '
     + xInfo::compilationDate() + ' - '
     + xInfo::dbName() + ' - '
     + xInfo::osName() + ' - '
     + xInfo::productName() + ' - '
     + xInfo::releaseVersion());

   info(xinfo::componentName());

   info(xinfo::configuration());

   info(xInfo::directory(DirectoryType::Bin));
}

No comments:

Post a Comment