INSERT INTO `ohrm_module` ( `name`, `status`) VALUES
( 'attendanceBulk', 1);

SET @module_id := (SELECT LAST_INSERT_ID());  

INSERT INTO ohrm_screen ( `name`, `module_id`, `action_url`) VALUES
('Bulk Update', @module_id, 'bulkUpdateAttendanceRecord');

SET @screen_id := (SELECT LAST_INSERT_ID()); 

INSERT INTO ohrm_user_role_screen (user_role_id, screen_id, can_read, can_create, can_update, can_delete) VALUES
(1, @screen_id, 1, 1, 1, 1),
(3, @screen_id, 1, 1, 1, 1);
