The company your friend used to work in should issue a request letter addressed to the immigration department for the exits and entries records. The letter will submitted by the company representative to the immigration and records will be issued on the spot. The cost will be 130 AED.