DELETE FROM `ohrm_module` WHERE name ='requestDesk';

DELETE FROM `ohrm_screen` WHERE `name` LIKE 'Request Desk Configuration';

DELETE FROM `ohrm_data_group` WHERE `name`='request_desk_configuration';

SET @rd_menu_item_id = (SELECT id FROM ohrm_menu_item WHERE menu_title = 'Request Desk' and level = 2);

DELETE FROM `ohrm_menu_item` WHERE `parent_id`=@rd_menu_item_id;

DELETE FROM `ohrm_menu_item` WHERE `id`=@rd_menu_item_id;

SET @rd_menu_item_id = (SELECT id FROM ohrm_menu_item WHERE menu_title = 'Request Desk' and level = 2);

DELETE FROM `ohrm_menu_item` WHERE `parent_id`=@rd_menu_item_id;

DELETE FROM `ohrm_menu_item` WHERE `id`=@rd_menu_item_id;

DELETE FROM `ohrm_menu_item` WHERE menu_title = 'Employee Requests';
DELETE FROM `ohrm_menu_item` WHERE menu_title = 'My Requests';

DELETE FROM `ohrm_report_folder` WHERE `name`='Request Desk';

DELETE FROM `ohrm_config` WHERE `property` IN('pim_wizard_status_onboarding','days_to_onboarding','days_to_offboarding');