use salarymarket ;
INSERT INTO solution_subscription_menu ( subscriptionCode, menuCode) VALUES
('advanced', 'home'), -- SubMenu: Indicators
('advanced', 'home_indicators'), -- SubMenu: Indicators
('advanced', 'home_indicateurs_number_of_employees'), -- Widget: Number of employees
('advanced', 'home_indicateurs_employees_per_gender'), -- Widget: Number of employees
('advanced', 'home_indicateurs_payroll'), -- Widget: Payroll
('advanced', 'home_indicateurs_median_salaries_by_career_path'), -- Widget: Average salaries by career path
('advanced', 'home_indicateurs_supervision_rate'), -- Widget: Management rate
('advanced', 'home_indicateurs_median_salaries_by_grade'),  -- Widget:median salaries by grade
('advanced', 'company_compensation'), -- Menu: Compensation
('advanced', 'company_quiz'), -- Menu: HR Policy and Practices
('advanced', 'quiz_current_sector'), -- Option: HRPP by current Sector
('advanced', 'quiz_market'), -- Option: Quiz by Market
('advanced', 'report'), -- Menu: Reports
('advanced', 'myCompany'), -- Menu: Company
('advanced', 'myCompany_informations'), -- SubMenu: Informations
('advanced', 'myCompany_users'), -- SubMenu: Users
('advanced', 'myCompany_entities'), -- SubMenu: Entities
('advanced', 'myCompany_profiles'), -- SubMenu: Profiles
('advanced', 'myCompany_configuration'), -- SubMenu: Configuration
('advanced', 'myCompany_settings'), -- SubMenu: Settings
('advanced', 'myCompany_settings_language'); -- SubMenu: Language
INSERT INTO solution_subscription_menu_rights 
(subscriptionCode, menuCode, solution_menu_rights_code) VALUES
-- Advanced 
-- Compensation
('advanced','company_compensation','compensation_search'),
('advanced','company_compensation','compensation_configuration'),
('advanced','company_compensation','compensation_import'), 
('advanced','company_compensation','compensation_export'),
('advanced','company_compensation','compensation_create'),
('advanced','company_compensation','compensation_delete'),
('advanced','company_compensation','compensation_update'),
('advanced','company_compensation','compensation_view'),
-- quiz
( 'advanced','company_quiz', 'quiz_Submit'),  
( 'advanced','company_quiz', 'quiz_View'),
-- report
('advanced','report', 'report_create'), 
('advanced','report', 'report_View'), 
('advanced','report', 'report_delete'), 
('advanced','report', 'report_upload'),
-- Informations
( 'advanced','myCompany_informations', 'company_Informations_update'), 
-- Users
('advanced','myCompany_users', 'company_user_create'),
('advanced','myCompany_users', 'company_user_update'),
('advanced','myCompany_users', 'company_user_delete'), 
('advanced','myCompany_users', 'company_user_desactivate'),
('advanced','myCompany_users', 'company_user_activity'),
('advanced','myCompany_users', 'company_user_view'),
-- entities
('advanced','myCompany_entities','company_entity_create'), 
('advanced','myCompany_entities','company_entity_update'),  
('advanced','myCompany_entities','company_entity_delete'),
('advanced','myCompany_entities','company_entity_view'),
-- profiles
('advanced','myCompany_profiles','company_profil_Create'),  
('advanced','myCompany_profiles','company_profil_update'),  
('advanced','myCompany_profiles','company_profil_delete'),  
('advanced','myCompany_profiles','company_profil_view'),  
-- languages
('advanced','myCompany_settings_language', 'company_language_activate');