To retrieve Dynamics AX Server and database name at run time can use SqlSystem class
static void Test_Job(Args _args)
{
SqlSystem sqlSystem = new SqlSystem();
;
box::info('Server Name-Database Name: '+ SqlSystem::databaseBackendDesc());
}
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.