Begining of report generation from sever side.