
CREATE TABLE `apps_empresa` (
  `app_name` varchar(128) NOT NULL,
  `app_description` varchar(255) NOT NULL,
  `tipo_apps` varchar(45) NOT NULL,
  `priv_access` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_insert` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_delete` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_update` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_export` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_print` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_access_administrador` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_insert_administrador` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_delete_administrador` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_update_administrador` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_export_administrador` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_print_administrador` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_access_supervisor_N1` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_insert_supervisor_N1` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_delete_supervisor_N1` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_update_supervisor_N1` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_export_supervisor_N1` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_print_supervisor_N1` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_access_supervisor_N2` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_insert_supervisor_N2` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_delete_supervisor_N2` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_update_supervisor_N2` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_export_supervisor_N2` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_print_supervisor_N2` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_access_tecnico` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_insert_tecnico` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_delete_tecnico` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_update_tecnico` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_export_tecnico` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_print_tecnico` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_access_qualidade` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_insert_qualidade` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_delete_qualidade` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_update_qualidade` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_export_qualidade` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_print_qualidade` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_access_operador` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_insert_operador` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_delete_operador` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_update_operador` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_export_operador` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N',
  `priv_print_operador` varchar(1) NOT NULL DEFAULT 'N' COMMENT 'Y/N'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

INSERT INTO apps_empresa VALUES("wfr_equipamento_checklist_mp","CADASTRO DE ITENS DO CHECK LIST DO EQUIPAMENTO","wfr","Y","Y","Y","Y","N","N","Y","Y","Y","S","N","N","Y","Y","Y","Y","N","N","N","N","N","N","N","N","Y","Y","N","Y","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_empresa_cliente","CADASTRO DA EMPRESA DO CLIENTE","wfr","Y","Y","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_usuario_cliente","CONSULTA DE USUÁRIO DA EMPRESA DO CLIENTE","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_usuario_cliente","CADASTRO DE USUÁRIO DA EMPRESA DO CLIENTE","wfr","Y","N","Y","Y","N","N","Y","N","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_local_equipamento_cliente","CONSULTA DE LOCAL DE EQUIPAMENTO DO CLIENTE","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_local_equipamento_cliente","CADASTRO DE LOCAL DE EQUIPAMENTO DO CLIENTE","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_fornecedor_cliente","CONSULTA DE FORNECEDOR","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_fornecedor_cliente","CADASTRO DE FORNECEDOR DO CLIENTE","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_equipamento_cliente","CONSULTA DE EQUIPAMENTO CONTROLADOS","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_equipamento_cliente","CADASTRO DE EQUIPAMENTO DO CLIENTE","wfr","Y","Y","N","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","Y","Y","N","Y","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_ordem_servico_cliente","CONSULTA DE ORDEM DE SERVIÇO DE CLIENTE","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_ordem_servico_cliente","CADASTRO DE ORDEM DE SERVIÇO DO CLIENTE","wfr","Y","Y","N","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","Y","N","N","Y","N","N");
INSERT INTO apps_empresa VALUES("wmn_adm_cliente","MENU DE ADMINSITRAÇÃO DO CLIENTE","wmn","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_centro_custo_cliente","CADASTRO DE CENTRO DE CUSTO DO CLIENTE","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_tipo_pendencia_ordem_servico","CADASTRO DE TIPO DE PENDÊNCIA","wfr","Y","Y","N","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_tipo_defeito","CADASTRO DE TIPO DE DEFEITO","wfr","Y","Y","Y","Y","N","N","Y","Y","Y","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wct_change_departamento","CONTROLE QUE FAZ A ESCOLHA DO DEPARTAMENTO DO OPERADOR","wct","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wct_gera_ordem_servico_cliente","CONTROLE QUE FAZ A ABERTURA DE OS","wct","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_equipamento_cliente_operador","CONSULTA DE EQUIPAMENTOS DO OPERADOR","wcn","Y","N","N","N","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wct_dash_cliente","DASHBOARD DO ADMINISTRADOR","wct","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_equip_cliente_calibracao","CONSULTA DE EQUIPAMENTOS - CALIBRAÇÃO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_ordem_servico_analise","RELATÓRIO DE ORDEM DE SERVIÇO EM ANÁLISE","wcn","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_valor_equipamento","RELATÓRIO DE VALOR DO EQUIPAMENTO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_relatorio_ordem_servico_cliente","RELATÓRIO DE ORDEM DE SERVIÇO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_rel_cli_os_corretiva","RELATÓRIO DE OS - MANUTENÇÃO CORRETIVA","wcn","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_relatorio_os_servico_cliente","RELATÓRIO DE OS - POR SERVIÇO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_relatorio_os_servico_pendencia_cliente","RELATÓRIO DE OS - POR PENDÊNCIA","wcn","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_relatorio_os_status_cliente","RELATÓRIO DE OS - POR SITUAÇÃO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_ordem_servico_cliente_operador","CONSULTA DE ORDEM DE SEVIÇO DO OPERADOR","wct","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_os_corretiva_cliente","CADASTRO DE OS CORRETIVA","wfr","Y","N","N","Y","N","N","Y","N","N","S","N","N","N","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","Y","N","N","Y","N","N","Y","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_equipamento_local","CONSULTA DE LOCAL DO EQUIPAMENTO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_equipamento_local","CADASTRO DE LOCAL DE EQUIPAMENTO","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","Y","Y","N","Y","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_equipamento_departamento","CONSULTA DE DEPARTAMENTO DO EQUIPAMENTO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_equipamento_predio","CONSULTA DE PRÉDIO DO EQUIPAMENTO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_equipamento_sala","CONSULTA DE SALA DE EQUIPAMENTO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_equipamento_predio","CADASTRO DE PRÉDIO DO EQUIPAMENTO","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","Y","Y","N","Y","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_equipamento_sala","CADASTRO DE SALA DO EQUIPAMENTO","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","Y","Y","N","Y","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_equip_cliente_qualificacao","CONSULTA DE EQUIPAMENTOS - QUALIFICAÇÃO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_minhas_os","CONSULTA DAS O.S. DO RESPONSAVEL TECNICO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","N","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_ordem_servico_despesas","CONSULTA DE DESPESA DA ORDEM DE SERVIÇO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_ordem_servico_despesas","CADASTRO DE DESPESA DA ORDEM DE SERVIÇO","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_equipamento_departamento","CADASTRO DE DEPARTAMENTO DO EQUIPAMENTO","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","Y","Y","N","Y","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wct_get_notification_mobile","RETORNA A NOTIFICAÇÃO DAS O.S.","wct","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wct_app_mobile","APLICAÇÃO INICIAL DO MOBILE","wct","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wmn_sertin_cliente_mobile","MENU MOBILE CLIENTE","wmn","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_os_calibracao_cliente","CADASTRO DE OS CALIBRAÇÃO","wfr","Y","Y","Y","Y","N","N","Y","N","N","S","N","N","Y","N","N","Y","N","N","N","N","N","N","N","N","Y","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_equipamento_familia","CADASTRO DE FAMÍLIA DO EQUIPAMENTO","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","Y","Y","N","Y","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wct_escolhe_os_calib_distribuicao","CONTROLE QUE FAZ DISTRIBUIÇÃO DE OS - CALIBRACAO","wct","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_os_calib_distribuicao","CONSULTA DE O.S. PARA DISTRIBUIÇÃO DE CALIBRAÇÃO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_ordem_servico_rnc","CONSULTA DE RNC - CLIENTE","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_ordem_servico_rnc","CADASTRO DE RNC - CLIENTE","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_resumo_os_cliente","CONSULTA DE RESUMO DE O.S. CORRETIVA - CLIENTE","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_edit_profile","CADASTRO DOS DADOS DO USUÁRIO - LIBERAR ACESSO A TODOS","","Y","N","N","Y","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wct_grupos_x_apps_empresa","FILTRO DO GRUPO PARA PERMISSAO","wct","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_grupos_x_apps_empresa","CADASTRO DE PERMISSÕES PARA ÁREA DE CLIENTE","wfr","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wct_import_equipamento_cliente","CONTROLE QUE FAZ A IMPORTAÇÃO DOS EQUIPAMENTOS","wct","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_equipamento_cliente_nao_controlado","CONSULTA DE EQUIPAMENTOS NÃO CONTROLADOS","wcn","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","Y","N","N","N","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wct_escolhe_os_distribuicao","CONTROLE PARA DISTRIBUIÇÃO DE ORDEM DE SERVIÇO","wct","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wct_abre_os_encerrada","CONTROLE QUE FAZ ATUALIZAÇÃO DE O.S. FINALIZADAS","wct","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_empresa_acesso_sistema","CONSULTA DE EMPRESAS COM ACESSO AO SIG CLIENTE","wcn","Y","N","N","N","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_usuario_sig_cliente","CONSULTA DE USUÁRIOS DO SIG CLIENTE","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_equipamento_checklist_mp","CONSULTA DE ITENS DO CHECK LIST DO EQUIPAMENTO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_familia_checklist_mp","CONSULTA DE ITENS DO CHECK LIST DA FAMILIA","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_familia_checklist_mp","CADASTRO DE ITENS DO CHECK LIST DA FAMILIA","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","Y","Y","N","Y","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_recorrencia_chamados","RELATORIO DE RECORRÊNCIA DE ORDEM DE SERVIÇO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_ordem_servico_responsavel","RELATORIO DE ORDEM DE SERVIÇO POR RESPONSÁVEL","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_equipamento_servico","RELATORIO DE CALIBRAÇÃO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_tempo_atendimento_os","RELATÓRIO DE TEMPO DE ATENDIMENTO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_panorama_os","RELATORIO DE PANORAMA","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_os_x_usuario_fechamento","RELATÓRIO DE O.S. POR USUÁRIO QUE FECHOU ","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_os_qualificacao_cliente","CADASTRO DE QUALIFICAÇÃO TÉRMICA - CLIENTE","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","N","Y","N","Y","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_equipamento_cliente_operador","CADASTRO DE EQUIPE DO CLIENTE - OPERADOR","wfr","Y","Y","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_plano_anual_preventiva","CONSULTA DE PLANO ANUAL - PREVENTIVA","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_plano_anual_calibracao","CONSULTA DE PLANO ANUAL - CALIBRAÇÃO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_plano_anual_qualificacao","CONSULTA DE PLANO ANUAL - QUALIFICAÇÃO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_marca_equipamento_cliente","CONSULTA DE MARCAS DO EQUIPAMENTO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_marca_equipamento_cliente","CADASTRO DE MARCAS DO EQUIPAMENTO DO CLIENTE","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_departamento_usuarios","CONSULTA DE USUARIOS POR DEPARTAMENTO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_qualificacao_termica_cliente","CONSULTA DE QUALIFICAÇÃO TERMICA DO CLIENTE","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wct_nova_qualificacao_cliente","CONTROLE DE INCLUSÃO DE QUALIFICAÇÃO TERMICA DO CLIENTE","wct","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_equipamento_novo_cliente","CADASTRO DE EQUIPAMENTO DO CLIENTE (QUALIFICAÇÃO TÉRMICA)","wfr","Y","Y","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_qualificacao_termica_cliente","CADASTRO DE QUALIFICAÇÃO TERMICA DO CLIENTE","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","N","Y","Y","N","N","N","N","N","N","N","N","Y","Y","N","Y","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_qualificacao_termica_estudo_cliente","CADASTRO DE ESTUDO DE QUALIFICAÇÃO TÉRMICA - CLIENTE","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","Y","Y","N","Y","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_equip_cliente_preventiva","RELATORIO DE EQUIPAMENTOS EM MANUTENÇÃO PREVENTIVA","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wct_empresta_equipamento","CONTROLE QUE FAZ O EMPRESTIMO DE EQUIPAMENTO","wct","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wct_devolve_equipamento","CONTROLE QUE FAZ A DEVOLUÇÃO DE EQUIPAMENTO","wct","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_equipamento_familia","CONSULTA DE FAMÍLIA DO EQUIPAMENTO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_equipamento_subfamilia","CONSULTA DE SUBFAMÍLIA DO EQUIPAMENTO","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_motivo_rnc","CONSULTA DE MOTIVO DE RNC","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_motivo_rnc","CADASTRO DE MOTIVO DE RNC","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_grupo_cliente","CONSULTA DE GRUPOS DO CLIENTE","wcn","Y","N","N","N","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_grupo_cliente","CADASTRO DE GRUPOS DO CLIENTE","wfr","Y","Y","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_apps_empresa","CONSULTA DE APLICAÇÕES","wcn","Y","N","N","N","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_apps_empresa","CADASTRO DE APLICAÇÕES","wfr","Y","Y","Y","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_usuario","CONSULTA DE USUARIOS ","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_ordem_servico_check_list","CADASTRO DO CHECK LIST DA MP - O.S.","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","Y","N","N","Y","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_os_atend_preventiva_cliente","CONSULTA DE ATENDIMENTO DA ORDEM DE SERVIÇO DE MANUTENÇÃO PREVENTIVA","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wfr_os_atend_preventiva_cliente","CADASTRO DE ATENDIMENTO DA ORDEM DE SERVIÇO DE MANUTENÇÃO PREVENTIVA","wfr","Y","Y","Y","Y","N","N","Y","Y","N","S","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N","Y","Y","N","Y","N","N","Y","Y","N","Y","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_distribui_os_preventiva","CONSULTA QUE FAZ A DISTRIBUIÇÃO DE O.S. DE PREVENTIVA","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wct_designa_os_preventiva","CONTROLE QUE FAZ A DESIGNIAÇÃO DAS O.S. PREVENTIVAS","wct","Y","N","N","N","N","N","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_idade_equipamento_instalacao","CONSULTA DE IDADE DO PARQUE","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_check_list_mp","CONSULTA DE CHECK LIST DA FAMÍLIA","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_empresa_cliente","CONSULTA DE EMPRESA DO CLIENTE","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_usuarios_empresa","RELATÓRIO DE USUÁRIOS DA EMPRESA","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_usuario_departamento","RELATÓRIO DE USUÁRIOS DA EMPRESA","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_ordem_servico_cliente_qualificacao_concluida","CONSULTA DE O.S. DE QUALIFICACÃO CONCLUIDA PARA ANÁLISE","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");
INSERT INTO apps_empresa VALUES("wcn_ordem_servico_cliente_calibracao_concluida","CONSULTA DE O.S. DE CALIBRAÇÃO CONCLUIDA PARA ANÁLISE","wcn","Y","N","N","N","Y","Y","Y","N","N","N","N","N","Y","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N");


