use socle;
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_administration_nbCollaborateursGender'), -- Widget: Number of employees
('advanced', 'home_indicateurs_payroll'), -- Widget: Payroll
('advanced', 'home_indicateurs_average_salaries_by_career_path'), -- Widget: Average salaries by career path
('advanced', 'home_indicateurs_supervision_rate'), -- Widget: Management rate
('advanced', 'company_compensation'), -- Menu: Compensation
('advanced', 'company_quiz'), -- Menu: HR Policy and Practices
('advanced', 'quiz_selected_sector'), -- Option: HRPP by Sector		--Changelog
('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_import'), 
('advanced','company_compensation','compensation_search'),
('advanced','company_compensation','compensation_export'),
('advanced','company_compensation','compensation_create'),
('advanced','company_compensation','compensation_delete'),
-- quiz
( 'advanced','company_quiz', 'quiz_Submit'),  
( 'advanced','company_quiz', 'quiz_View'),
-- report
('advanced','report', 'report_create'), 
('advanced','report', 'report_View'), 
('advanced','report', 'report_update'), 
('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'),
-- entities
('advanced','myCompany_entities','company_entites_Create'), 
('advanced','myCompany_entities','company_entites_update'),  
('advanced','myCompany_entities','company_entites_delete'),
-- profiles
('advanced','myCompany_profiles','company_profil_Create'),  
('advanced','myCompany_profiles','company_profil_update'),  
('advanced','myCompany_profiles','company_profil_delete'),  
-- languages
('advanced','myCompany_settings_language', 'company_language_activate');