
use salarymarket;

INSERT INTO solution_subscription_menu (id, subscriptionCode, menuCode) VALUES
(30,'advanced', 'home'), -- SubMenu: Indicators
(31,'advanced', 'home_indicators'), -- SubMenu: Indicators
(32,'advanced', 'home_indicateurs_number_of_employees'), -- Widget: Number of employees
(33,'advanced', 'home_indicateurs_payroll'), -- Widget: Payroll
(34,'advanced', 'home_indicateurs_average_salaries_by_career_path'), -- Widget: Average salaries by career path
(35,'advanced', 'home_indicateurs_supervision_rate'), -- Widget: Management rate
(36,'advanced', 'company_compensation'), -- Menu: Compensation
(37,'advanced', 'company_quiz'), -- Menu: HR Policy and Practices
(38,'advanced', 'quiz_sector'), -- Option: HRPP by Sector
(39,'advanced', 'quiz_market'), -- Option: Quiz by Market
(40,'advanced', 'report'), -- Menu: Reports
(41,'advanced', 'myCompany'), -- Menu: Company
(42,'advanced', 'myCompany_informations'), -- SubMenu: Informations
(43,'advanced', 'myCompany_users'), -- SubMenu: Users
(44,'advanced', 'myCompany_entities'), -- SubMenu: Entities
(45,'advanced', 'myCompany_profiles'), -- SubMenu: Profiles
(46,'advanced', 'myCompany_configuration'), -- SubMenu: Configuration
(47,'advanced', 'myCompany_settings'), -- SubMenu: Settings
(48,'advanced', 'myCompany_settings_language'); -- SubMenu: Language

-- rights   for this type

INSERT INTO solution_subscription_menu_rights (id, subscriptionCode, menuCode, solution_menu_rights_code) VALUES
-- Advanced 
-- Compensation
(45, 'advanced','company_compensation','compensation_import'), 
(46, 'advanced','company_compensation','compensation_search'),
(47, 'advanced','company_compensation','compensation_export'),
(48, 'advanced','company_compensation','compensation_create'),
(49, 'advanced','company_compensation','compensation_delete'),
(50, 'advanced','company_compensation','compensation_upload'),
-- quiz
(51, 'advanced','company_quiz', 'quiz_View'),
-- report
(52, 'advanced','report', 'report_create'), 
(53, 'advanced','report', 'report_View'), 
(54, 'advanced','report', 'report_update'), 
(55, 'advanced','report', 'report_delete'), 
(56, 'advanced','report', 'report_upload'),
-- Informations
(57, 'advanced','myCompany_informations', 'company_Informations_update'), 
-- Users
(58,'advanced','myCompany_users', 'company_user_create'),
(59,'advanced','myCompany_users', 'company_user_update'),
(60,'advanced','myCompany_users', 'company_user_delete'), 
(61,'advanced','myCompany_users', 'company_user_desactivate'),
(62,'advanced','myCompany_users', 'company_user_activate'),
(63,'advanced','myCompany_users', 'company_user_activity'),
-- entities
(64,'advanced','myCompany_entities','company_entites_Create'), 
(65,'advanced','myCompany_entities','company_entites_update'),  
(66,'advanced','myCompany_entities','company_entites_delete'),
-- profiles
(67,'advanced','myCompany_profiles','company_profil_Create'),  
(68,'advanced','myCompany_profiles','company_profil_update'),  
(69,'advanced','myCompany_profiles','company_profil_delete'),  
-- languages
(70, 'advanced','myCompany_settings_language', 'company_language_activate');
