Assert method in the ExecutePermission class tells the AOS the programmer has investigated the possible security implications of the code that follows the command and has assessed that it is safe?
Below is X++ Code to get Company name , Phone and fax in D365FO. You can try in Job to check to values. CompanyInfo Company; ; Company = CompanyInfo::find(); info(strFmt("Company Name : %1", Company.Name)); info(strFmt("Company Phone : %1", Company.phone())); info(strFmt("Company Phone : %1", Company.telefax()));