I am logging data every time new entry is inserted into the table EmployeeTimeRegisterations. So, for that , I have created a trigger which is calling a function
EmployeeTimeRegisterations