-- Table structure for coa_componente_alergico
-- ----------------------------
CREATE TABLE `coa_componente_alergico`  (
  `coa_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal del componente alergico',
  `coa_nombre` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre del componente al que se es alergico',
  `coa_descripcion` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'descripción',
  `coa_estado` int(11) NOT NULL DEFAULT 1 COMMENT 'Estado del Registro, 0=inactivo, 1=activo',
  `coa_fecha_creacion` datetime NOT NULL COMMENT 'Auditoria',
  `coa_usu_creacion` int(11) NOT NULL COMMENT 'Auditoria',
  `coa_usu_modificacion` int(11) NOT NULL COMMENT 'Auditoria',
  `coa_fecha_modificacion` datetime NOT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`coa_id`) USING BTREE,
  INDEX `tpl_nombre_planilla`(`coa_nombre` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Catálogo de componentes alergicos (medicamentos, sustancias,' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of coa_componente_alergico
-- ----------------------------
INSERT INTO `coa_componente_alergico` VALUES (1, 'Alergias a Medicamentos', 'Alergias a Medicamentos', 1, '2019-10-16 08:59:08', 1, 5, '2020-04-24 14:08:04');
INSERT INTO `coa_componente_alergico` VALUES (2, 'Alergias a Alimentos', 'Alergias a Alimentos', 1, '2020-04-24 14:09:32', 5, 5, '2020-04-24 14:09:32');
INSERT INTO `coa_componente_alergico` VALUES (3, 'Alergias Respiratorias', 'Alergias Respiratorias', 1, '2020-04-24 14:09:32', 5, 5, '2020-04-24 14:09:32');
INSERT INTO `coa_componente_alergico` VALUES (4, 'Alergias Dermicas', 'Alergias Dermicas', 1, '2020-04-24 14:09:32', 5, 5, '2020-04-24 14:09:32');
INSERT INTO `coa_componente_alergico` VALUES (5, 'Penicilina', NULL, 1, '2024-01-10 10:07:19', 1, 1, '2024-01-10 10:07:19');

-- ----------------------------
-- Table structure for cob_cobrador
-- ----------------------------
CREATE TABLE `cob_cobrador`  (
  `cob_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de Cobrador',
  `cob_id_emp` int(11) NULL DEFAULT NULL COMMENT 'Id de Empleado',
  `cob_codigo` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Codigo del cobrador',
  `cob_nombre` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombres del cobrador',
  `cob_apellido` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Apellidos del cobrador',
  `cob_telefono` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Contacto del cobrador',
  `cob_email` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Contacto del cobrador',
  `cob_estado` tinyint(4) NOT NULL COMMENT '0=inactivo, 1=activo',
  `cob_usu_creacion` int(11) NOT NULL COMMENT 'Auditoria',
  `cob_fecha_creacion` datetime NOT NULL COMMENT 'Auditoria',
  `cob_usu_modificacion` int(11) NOT NULL COMMENT 'Auditoria',
  `cob_fecha_modificacion` datetime NOT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`cob_id`) USING BTREE,
  INDEX `fk_cob_id_emp`(`cob_id_emp` ASC) USING BTREE,
  CONSTRAINT `fk_cob_id_emp` FOREIGN KEY (`cob_id_emp`) REFERENCES `emp_empleado` (`emp_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Catálogo de Cobradores' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cob_cobrador
-- ----------------------------
INSERT INTO `cob_cobrador` VALUES (1, 15, 'COB01', 'Ana', 'Torres', '7000-6000', NULL, 1, 1, '2019-06-12 10:07:07', 68, '2024-12-18 14:39:52');
INSERT INTO `cob_cobrador` VALUES (2, 19, '', '', '', NULL, NULL, 1, 7, '2019-08-08 17:04:19', 1, '2019-10-10 13:11:32');
INSERT INTO `cob_cobrador` VALUES (3, 20, '', '', '', NULL, NULL, 0, 7, '2019-08-08 17:04:19', 9, '2020-03-31 10:23:48');
INSERT INTO `cob_cobrador` VALUES (4, 72, '', '', '', NULL, NULL, 1, 7, '2019-10-23 19:08:01', 9, '2020-03-31 10:22:54');
INSERT INTO `cob_cobrador` VALUES (5, 18, '', '', '', NULL, NULL, 1, 9, '2020-03-26 09:20:59', 9, '2020-03-26 09:20:59');
INSERT INTO `cob_cobrador` VALUES (6, 77, '', '', '', NULL, NULL, 1, 9, '2020-03-26 09:21:20', 9, '2020-03-26 09:21:20');
INSERT INTO `cob_cobrador` VALUES (7, 80, '', '', '', NULL, NULL, 1, 9, '2020-03-26 09:21:39', 9, '2020-03-26 09:21:39');
INSERT INTO `cob_cobrador` VALUES (8, 83, '', '', '', NULL, NULL, 1, 9, '2020-03-31 10:25:28', 9, '2020-03-31 10:25:28');
INSERT INTO `cob_cobrador` VALUES (9, 23, '', '', '', NULL, NULL, 1, 9, '2020-03-31 10:26:27', 9, '2020-03-31 10:26:27');
INSERT INTO `cob_cobrador` VALUES (10, 1, '', '', '', NULL, NULL, 1, 9, '2020-05-25 18:24:41', 9, '2020-05-25 18:26:28');
INSERT INTO `cob_cobrador` VALUES (11, 9, '', '', '', NULL, NULL, 1, 9, '2020-06-22 17:09:11', 9, '2020-06-22 17:09:11');
INSERT INTO `cob_cobrador` VALUES (12, 25, '', '', '', NULL, NULL, 1, 9, '2020-06-22 17:09:36', 9, '2020-06-22 17:09:36');
INSERT INTO `cob_cobrador` VALUES (13, 26, '', '', '', NULL, NULL, 1, 9, '2020-06-22 17:09:36', 9, '2020-06-22 17:09:36');

-- ----------------------------
-- Table structure for coc_cotizacion_compra
-- ----------------------------
CREATE TABLE `coc_cotizacion_compra`  (
  `coc_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de la cotización compra',
  `coc_id_usu_aprueba` int(11) NULL DEFAULT NULL,
  `coc_id_usu_rechaza` int(11) NULL DEFAULT NULL,
  `coc_id_prv` int(11) NULL DEFAULT NULL COMMENT 'Llave primaria de proveedor',
  `coc_id_rxi` int(11) NULL DEFAULT NULL COMMENT 'Llave principal de la requisición',
  `coc_id_psp` int(11) NULL DEFAULT NULL COMMENT 'Llave principal de tipo de presupuesto',
  `coc_id_tpg` int(11) NULL DEFAULT NULL COMMENT 'Llave principal - tipo de pago',
  `coc_id_cod` int(11) NULL DEFAULT NULL COMMENT 'Llave princial de condicion',
  `coc_id_ace` int(11) NULL DEFAULT NULL COMMENT 'Llave principal de Actividad especifica',
  `coc_id_acg` int(11) NULL DEFAULT NULL COMMENT 'Llave principal de Actividad general',
  `coc_id_pcl` int(11) NULL DEFAULT NULL COMMENT 'Llave principal de proyecto cliente',
  `coc_numero` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Número de cotización',
  `coc_fecha` datetime NOT NULL COMMENT 'Fecha de Cotización',
  `coc_periodo_validez` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Periodo de validez de la cotización',
  `coc_vendedor` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Vendedor',
  `coc_tipo_requerimiento` tinyint(4) NOT NULL COMMENT 'tipo 1=Producto, 2=servicio, 3=activo fijo ',
  `coc_observacion` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Observaciones generales',
  `coc_observacion_rechazo` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Descripcion del rechazo de la cotización',
  `coc_observacion_aprueba` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Descripcion de la aprobación de la cotización',
  `coc_fecha_aprueba` datetime NULL DEFAULT NULL COMMENT 'Fecha aprueba cotización',
  `coc_fecha_rechaza` datetime NULL DEFAULT NULL COMMENT 'Fecha rechaza cotización',
  `coc_codiciones_entrega` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Condiciones de entrega que el proveedor posee',
  `coc_entrega` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Entrega',
  `coc_impuesto` decimal(19, 4) NULL DEFAULT NULL COMMENT 'Impuesto total aplicados',
  `coc_descuento` decimal(19, 4) NULL DEFAULT NULL COMMENT 'Descuento total aplicado a la cotización',
  `coc_otros_gastos` decimal(19, 4) NULL DEFAULT NULL COMMENT 'Otros gastos ( total aplicado a la cotización)',
  `coc_subtotal` decimal(19, 4) NOT NULL COMMENT 'sub total (sumatoria de los subtotales de los detalles)',
  `coc_total` decimal(19, 4) NOT NULL COMMENT 'Total - total de la cotización (sumatoria de los totales de cada detalle)',
  `coc_aprobacion_comparativo` tinyint(4) NULL DEFAULT NULL COMMENT '1 = Aprobada por comparativo, 0 = No aprobada por comparativo',
  `coc_estado` tinyint(4) NOT NULL COMMENT '1=Creada pendiente aprobación, 2=Aprobada, 3=anulada',
  `coc_usu_creacion` int(11) NOT NULL COMMENT 'Auditoria',
  `coc_fecha_creacion` datetime NOT NULL COMMENT 'Auditoria',
  `coc_usu_modificacion` int(11) NOT NULL COMMENT 'Auditoria',
  `coc_fecha_modificacion` datetime NOT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`coc_id`) USING BTREE,
  INDEX `fk_coc_id_usu_aprueba`(`coc_id_usu_aprueba` ASC) USING BTREE,
  INDEX `fk_coc_id_usu_rechaza`(`coc_id_usu_rechaza` ASC) USING BTREE,
  INDEX `fk_coc_id_prv`(`coc_id_prv` ASC) USING BTREE,
  INDEX `fk_coc_id_rxi`(`coc_id_rxi` ASC) USING BTREE,
  INDEX `fk_coc_id_acg`(`coc_id_acg` ASC) USING BTREE,
  INDEX `fk_coc_id_psp`(`coc_id_psp` ASC) USING BTREE,
  INDEX `fk_coc_id_ace`(`coc_id_ace` ASC) USING BTREE,
  INDEX `fk_coc_id_cod`(`coc_id_cod` ASC) USING BTREE,
  INDEX `fk_coc_id_tpg`(`coc_id_tpg` ASC) USING BTREE,
  CONSTRAINT `fk_coc_id_ace` FOREIGN KEY (`coc_id_ace`) REFERENCES `ace_actividad_especifica` (`ace_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_coc_id_acg` FOREIGN KEY (`coc_id_acg`) REFERENCES `acg_actividad_general` (`acg_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_coc_id_cod` FOREIGN KEY (`coc_id_cod`) REFERENCES `cod_condicion` (`cod_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_coc_id_prv` FOREIGN KEY (`coc_id_prv`) REFERENCES `prv_proveedor` (`prv_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_coc_id_psp` FOREIGN KEY (`coc_id_psp`) REFERENCES `psp_presupuesto` (`psp_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_coc_id_rxi` FOREIGN KEY (`coc_id_rxi`) REFERENCES `rxi_requisicion_inventario` (`rxi_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_coc_id_tpg` FOREIGN KEY (`coc_id_tpg`) REFERENCES `tpg_tipo_pago` (`tpg_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_coc_id_usu_aprueba` FOREIGN KEY (`coc_id_usu_aprueba`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_coc_id_usu_rechaza` FOREIGN KEY (`coc_id_usu_rechaza`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Cotización de las compras' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of coc_cotizacion_compra
-- ----------------------------
INSERT INTO `coc_cotizacion_compra` VALUES (1, 1, NULL, 3, 1, NULL, 2, 3, NULL, NULL, NULL, '0001', '2021-02-18 00:00:00', NULL, NULL, 4, NULL, NULL, NULL, '2021-02-18 11:24:30', NULL, NULL, NULL, 0.0000, 0.0000, 0.0000, 27.0000, 27.0000, 1, 2, 1, '2021-02-18 11:20:46', 1, '2021-02-18 11:24:30');
INSERT INTO `coc_cotizacion_compra` VALUES (2, 1, NULL, 4, 1, NULL, 2, 4, NULL, NULL, NULL, '0002', '2021-02-18 00:00:00', NULL, NULL, 4, NULL, NULL, NULL, '2021-02-18 11:24:30', NULL, NULL, '5 dias', 0.0000, 0.0000, 0.0000, 33.0000, 33.0000, 1, 2, 1, '2021-02-18 11:21:32', 1, '2021-02-18 11:24:30');
INSERT INTO `coc_cotizacion_compra` VALUES (3, 1, NULL, 401, 8, NULL, 1, 3, NULL, NULL, NULL, '0003', '2022-01-18 00:00:00', '30', 'Jose Perez', 1, NULL, NULL, NULL, '2022-01-18 10:38:07', NULL, NULL, 'Bodega', 13.8100, 0.0000, 0.0000, 106.2500, 120.0600, 1, 2, 1, '2022-01-18 10:03:56', 1, '2022-01-18 10:38:07');
INSERT INTO `coc_cotizacion_compra` VALUES (4, NULL, 1, 14, 8, NULL, 2, 4, NULL, NULL, NULL, '0004', '2022-01-18 00:00:00', NULL, 'Maria Perez', 1, NULL, NULL, NULL, NULL, '2022-01-18 10:38:07', NULL, 'Bodega', 13.9800, 0.0000, 0.0000, 107.5000, 121.4800, NULL, 3, 1, '2022-01-18 10:04:50', 1, '2022-01-18 10:38:07');
INSERT INTO `coc_cotizacion_compra` VALUES (5, 1, NULL, 1, 9, NULL, NULL, NULL, NULL, NULL, NULL, '0005', '2022-01-18 00:00:00', NULL, NULL, 1, NULL, NULL, NULL, '2022-01-18 11:31:29', NULL, NULL, NULL, 65.0000, 0.0000, 0.0000, 500.0000, 565.0000, 1, 2, 1, '2022-01-18 11:27:44', 1, '2022-01-18 11:31:29');
INSERT INTO `coc_cotizacion_compra` VALUES (6, 1, NULL, 2, 9, NULL, NULL, NULL, NULL, NULL, NULL, '0006', '2022-01-18 00:00:00', NULL, NULL, 1, NULL, NULL, NULL, '2022-01-18 11:31:29', NULL, NULL, NULL, 78.0000, 0.0000, 0.0000, 600.0000, 678.0000, 1, 2, 1, '2022-01-18 11:28:02', 1, '2022-01-18 11:31:29');

-- ----------------------------
-- Table structure for cod_condicion
-- ----------------------------
CREATE TABLE `cod_condicion`  (
  `cod_id` int(11) NOT NULL AUTO_INCREMENT,
  `cod_nombre` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'nombre',
  `cod_descripcion` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'descripcion',
  `cod_estado` tinyint(4) NOT NULL COMMENT 'auditoria',
  `cod_usu_crea` int(11) NOT NULL COMMENT 'auditoria',
  `cod_fecha_crea` datetime NOT NULL COMMENT 'auditoria',
  `cod_usu_mod` int(11) NOT NULL COMMENT 'auditoria',
  `cod_fecha_mod` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`cod_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'condiciones para una cotización.' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cod_condicion
-- ----------------------------
INSERT INTO `cod_condicion` VALUES (1, 'Contado', 'Contado', 1, 1, '2020-05-12 12:00:00', 1, '2020-05-12 12:00:00');
INSERT INTO `cod_condicion` VALUES (2, 'Credito', 'Credito', 1, 1, '2020-05-12 12:00:00', 1, '2020-05-12 12:00:00');
INSERT INTO `cod_condicion` VALUES (3, 'Crédito 15 días ', 'Crédito 15 días ', 1, 1, '2020-05-12 12:00:00', 1, '2020-05-12 12:00:00');
INSERT INTO `cod_condicion` VALUES (4, 'Crédito 30 días ', 'Crédito 30 días ', 1, 1, '2020-05-12 12:00:00', 1, '2020-05-12 12:00:00');
INSERT INTO `cod_condicion` VALUES (5, 'Crédito 60 días ', 'Crédito 60 días ', 1, 1, '2020-05-12 12:00:00', 1, '2020-05-12 12:00:00');
INSERT INTO `cod_condicion` VALUES (6, 'Crédito 90 días ', 'Crédito 90 días ', 1, 1, '2020-05-12 12:00:00', 1, '2020-05-12 12:00:00');
INSERT INTO `cod_condicion` VALUES (7, 'Crédito 120 días ', 'Crédito 120 días ', 1, 1, '2020-05-12 12:00:00', 1, '2020-05-12 12:00:00');
INSERT INTO `cod_condicion` VALUES (8, 'Crédito 45 días ', 'Crédito 45 días ', 1, 1, '2020-05-12 12:00:00', 1, '2020-05-12 12:00:00');
INSERT INTO `cod_condicion` VALUES (9, 'Anticipado', 'Anticipado', 1, 1, '2020-05-12 12:00:00', 1, '2020-05-12 12:00:00');
INSERT INTO `cod_condicion` VALUES (10, 'Credito 8 Dias', 'Credito 8 Dias', 1, 1, '2020-05-12 12:00:00', 1, '2020-05-12 12:00:00');

-- ----------------------------
-- Table structure for coe_competencia_evaluacion
-- ----------------------------
CREATE TABLE `coe_competencia_evaluacion`  (
  `coe_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de competencia de evaluación',
  `coe_id_cte` int(11) NOT NULL COMMENT 'Llave principal de categoria evaluación',
  `coe_id_eva` int(11) NOT NULL COMMENT 'Llave principal de evaluación',
  `coe_nombre` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre de la competencia',
  `coe_descripcion` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'descripción general del registro',
  `coe_tipo` int(11) NOT NULL COMMENT 'tipo de pregunta 1=abierta, 2=cerrada',
  `coe_orden` int(11) NOT NULL COMMENT 'Orden de la competencia (orden en el que se mostrarán al usuario)',
  `coe_estado` int(11) NOT NULL DEFAULT 1 COMMENT 'Estado del Registro, 0=inactivo, 1=activo',
  `coe_fecha_creacion` datetime NOT NULL COMMENT 'Auditoria',
  `coe_usu_creacion` int(11) NOT NULL COMMENT 'Auditoria',
  `coe_usu_modificacion` int(11) NOT NULL COMMENT 'Auditoria',
  `coe_fecha_modificacion` datetime NOT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`coe_id`) USING BTREE,
  INDEX `fk_coe_id_eva`(`coe_id_eva` ASC) USING BTREE,
  INDEX `fk_com_id_cte`(`coe_id_cte` ASC) USING BTREE,
  CONSTRAINT `fk_coe_id_eva` FOREIGN KEY (`coe_id_eva`) REFERENCES `eva_evaluacion` (`eva_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_com_id_cte` FOREIGN KEY (`coe_id_cte`) REFERENCES `cte_categoria_evaluacion` (`cte_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Competencias para la evaluacion' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of coe_competencia_evaluacion
-- ----------------------------
INSERT INTO `coe_competencia_evaluacion` VALUES (1, 1, 1, 'No presenta atrasos en el cumplimiento de metas o se esfuerza por lograrlas.', NULL, 2, 1, 1, '2024-02-14 09:31:26', 1, 1, '2024-02-14 09:38:17');
INSERT INTO `coe_competencia_evaluacion` VALUES (2, 2, 1, 'Inusualmente es necesario corregir su trabajo y presenta problemas de nitidez, exactitud y errores.', NULL, 2, 2, 1, '2024-02-14 09:32:05', 1, 1, '2024-02-14 09:32:05');
INSERT INTO `coe_competencia_evaluacion` VALUES (3, 3, 1, 'Sobresale por su disposición a integrarse con el grupo de trabajo, transmite conocimientos que conducen al cumplimiento de metas. Logra Sinergia con el equipo.', NULL, 2, 3, 1, '2024-02-14 09:33:45', 1, 1, '2024-02-14 09:38:40');
INSERT INTO `coe_competencia_evaluacion` VALUES (4, 4, 1, 'Es cuidadoso en el uso y mantenimiento de los recursos asignados y toma de medidas para evitar sus deterioro o extravío', NULL, 2, 4, 1, '2024-02-14 09:34:20', 1, 1, '2024-02-14 09:34:20');
INSERT INTO `coe_competencia_evaluacion` VALUES (5, 4, 1, 'Aspectos a mejorar', NULL, 1, 5, 1, '2024-02-14 09:34:44', 1, 1, '2024-02-14 09:34:44');
INSERT INTO `coe_competencia_evaluacion` VALUES (6, 1, 2, 'Meta 1', NULL, 2, 1, 1, '2024-02-21 10:38:37', 1, 1, '2024-02-21 10:39:31');
INSERT INTO `coe_competencia_evaluacion` VALUES (7, 2, 2, 'Meta 2', NULL, 2, 2, 1, '2024-02-21 10:38:59', 1, 1, '2024-02-21 10:43:25');
INSERT INTO `coe_competencia_evaluacion` VALUES (8, 4, 2, 'Meta 3', NULL, 2, 3, 1, '2024-02-21 10:39:20', 1, 1, '2024-02-21 10:44:39');
INSERT INTO `coe_competencia_evaluacion` VALUES (9, 3, 2, 'Meta 4', NULL, 2, 4, 1, '2024-02-21 10:44:00', 1, 1, '2024-02-21 10:44:00');

-- ----------------------------
-- Table structure for cof_correlativo_factura
-- ----------------------------
CREATE TABLE `cof_correlativo_factura`  (
  `cof_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'llave primaria- Correlativo de documentos',
  `cof_id_sef` int(11) NOT NULL COMMENT 'llave foranea de la serie a la que pertenece',
  `cof_inicio` int(11) NOT NULL COMMENT 'inicio correlativo',
  `cof_fin` int(11) NOT NULL COMMENT 'fin correlativo',
  `cof_estado` int(11) NOT NULL COMMENT '1=activo,0=inactivo',
  `cof_usu_mod` int(11) NOT NULL COMMENT 'auditoria',
  `cof_fecha_mod` datetime NOT NULL COMMENT 'auditoria',
  `cof_usu_crea` int(11) NOT NULL COMMENT 'Auditoría',
  `cof_fecha_crea` datetime NOT NULL COMMENT 'Auditoría',
  `cof_masivo` int(11) NOT NULL COMMENT 'Flag para facturacion masiva',
  `cof_actual` int(11) NOT NULL COMMENT 'Numero actual de correlativo',
  PRIMARY KEY (`cof_id`) USING BTREE,
  INDEX `fk_cof_id_sef`(`cof_id_sef` ASC) USING BTREE,
  CONSTRAINT `fk_cof_id_sef` FOREIGN KEY (`cof_id_sef`) REFERENCES `sef_serie_factura` (`sef_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 24 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'correlativos de facturación' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cof_correlativo_factura
-- ----------------------------
INSERT INTO `cof_correlativo_factura` VALUES (1, 1, 3745, 4500, 0, 9, '2020-05-05 15:06:00', 9, '2020-05-05 15:06:00', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (2, 2, 1285, 2000, 1, 9, '2020-05-05 15:09:34', 9, '2020-05-05 15:09:34', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (3, 3, 427, 2000, 1, 9, '2020-05-05 15:10:53', 9, '2020-05-05 15:10:53', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (4, 4, 675, 2000, 1, 9, '2020-05-05 15:12:57', 9, '2020-05-05 15:12:57', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (5, 5, 1, 4000, 1, 9, '2020-05-05 15:15:36', 9, '2020-05-05 15:15:36', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (6, 6, 1811, 4000, 1, 9, '2020-05-05 15:18:19', 9, '2020-05-05 15:18:19', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (7, 7, 928, 2000, 1, 9, '2020-05-07 11:24:59', 9, '2020-05-07 11:24:59', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (8, 8, 1, 99999999, 0, 1, '2020-05-12 12:00:00', 1, '2020-05-12 12:00:00', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (9, 9, 1, 1000, 1, 1, '2020-08-24 14:59:18', 1, '2020-08-24 14:59:18', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (10, 9, 1001, 1500, 1, 1, '2020-08-24 15:03:27', 1, '2020-08-24 15:03:27', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (11, 10, 1, 100, 1, 1, '2021-05-06 09:43:00', 1, '2021-05-06 09:43:00', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (12, 10, 101, 500, 1, 1, '2023-01-13 10:13:15', 1, '2023-01-13 10:13:15', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (13, 11, 1, 10000, 1, 1, '2023-05-25 11:00:14', 1, '2023-05-25 11:00:14', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (14, 12, 1, 1000, 1, 1, '2023-10-04 15:23:08', 1, '2023-10-04 15:23:08', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (15, 1, 4501, 25000, 0, 1, '2023-12-26 19:18:58', 1, '2023-12-26 19:18:58', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (16, 15, 1, -1, 1, 1, '2024-05-04 20:45:08', 1, '2024-05-04 20:45:08', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (17, 14, 1, -1, 1, 1, '2024-05-04 20:45:27', 1, '2024-05-04 20:45:27', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (18, 13, 1, -1, 1, 1, '2024-05-04 21:36:17', 1, '2024-05-04 21:36:17', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (19, 16, 1, 1000000, 1, 1, '2024-08-28 13:28:36', 1, '2024-08-28 13:28:36', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (20, 18, 1, -1, 1, 1, '2024-11-11 13:36:02', 1, '2024-11-11 13:36:02', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (21, 17, 1, -1, 1, 1, '2024-11-11 13:36:02', 1, '2024-11-11 13:36:02', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (22, 19, 1, -1, 1, 1, '2024-11-11 13:36:02', 1, '2024-11-11 13:36:02', 0, 0);
INSERT INTO `cof_correlativo_factura` VALUES (23, 20, 1, -1, 1, 1, '2024-11-11 13:36:02', 1, '2024-11-11 13:36:02', 0, 0);

-- ----------------------------
-- Table structure for cog_cotiz_ganada
-- ----------------------------
CREATE TABLE `cog_cotiz_ganada`  (
  `cog_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Correlativo de la cotizacion ganada',
  `cog_id_cot` int(11) NULL DEFAULT NULL COMMENT 'Codigo de la cotizacion',
  `cog_fecha_cierre` datetime NOT NULL COMMENT 'Fecha de cierre',
  `cog_comision_real_p` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Comision Real aprobada porcentaje',
  `cog_comision_real_d` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Monto Comision Real moneda',
  `cog_causa_estado` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL,
  `cog_numero_orden` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Numero de orden de compra del cliente',
  `cog_estado` int(11) NULL DEFAULT NULL COMMENT 'Ultimo usuario que mofico',
  `cog_usu_modificacion` int(11) NOT NULL COMMENT 'Ultimo usuario que mofico',
  `cog_fecha_modificacion` datetime NOT NULL COMMENT 'Ultima fecha de modificacion',
  `cog_usu_creacion` int(11) NULL DEFAULT NULL COMMENT 'Ultimo usuario que mofico',
  `cog_fecha_creacion` datetime NULL DEFAULT NULL COMMENT 'Ultima fecha de modificacion',
  PRIMARY KEY (`cog_id`) USING BTREE,
  INDEX `fk_cog_id_cot`(`cog_id_cot` ASC) USING BTREE,
  CONSTRAINT `fk_cog_id_cot` FOREIGN KEY (`cog_id_cot`) REFERENCES `cot_cotizacion` (`cot_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Cotizaciones ganadas' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cog_cotiz_ganada
-- ----------------------------
INSERT INTO `cog_cotiz_ganada` VALUES (1, 28, '2024-10-10 00:00:00', NULL, NULL, 'OK', 'Sin OC', 1, 1, '2024-10-10 13:08:42', 1, '2024-10-10 13:08:42');
INSERT INTO `cog_cotiz_ganada` VALUES (2, 29, '2024-10-10 00:00:00', NULL, NULL, 'Cliente dio el VoBo', 'Sin OC', 1, 1, '2024-10-10 13:53:14', 1, '2024-10-10 13:53:14');
INSERT INTO `cog_cotiz_ganada` VALUES (3, 30, '2024-10-23 00:00:00', NULL, NULL, 'OK', 'Sin OC', 1, 1, '2024-10-23 15:55:06', 1, '2024-10-23 15:55:06');
INSERT INTO `cog_cotiz_ganada` VALUES (4, 31, '2024-12-17 00:00:00', NULL, NULL, '', 'Sin OC', 1, 1, '2024-12-17 11:22:16', 1, '2024-12-17 11:22:16');
INSERT INTO `cog_cotiz_ganada` VALUES (5, 32, '2025-01-27 00:00:00', NULL, NULL, '', 'Sin OC', 1, 1, '2025-01-27 14:54:59', 1, '2025-01-27 14:54:59');

-- ----------------------------
-- Table structure for col_conocimiento_lugar
-- ----------------------------
CREATE TABLE `col_conocimiento_lugar`  (
  `col_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal- conocimiento lugar',
  `col_nombre` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre',
  `col_estado` int(11) NOT NULL COMMENT 'Estado de registro (1=activo, 0=inactivo)',
  `col_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `col_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `col_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `col_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`col_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Conocimiento de lugar ' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of col_conocimiento_lugar
-- ----------------------------

-- ----------------------------
-- Table structure for com_competencia
-- ----------------------------
CREATE TABLE `com_competencia`  (
  `com_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de la competencia',
  `com_nombre` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre de la competencia',
  `com_estado` tinyint(4) NOT NULL COMMENT 'Estado del registro 1=Activo, 0=Inactivo',
  `com_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `com_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `com_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `com_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`com_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Competencias' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of com_competencia
-- ----------------------------
INSERT INTO `com_competencia` VALUES (1, 'Capacidad para proyectar, calcular y diseñar productos, procesos e instalaciones en todos los ámbitos de la ingeniería informática.', 1, 1, '2020-10-03 09:18:57', 1, '2020-10-03 09:18:57');
INSERT INTO `com_competencia` VALUES (2, 'Capacidad para la dirección de obras e instalaciones de sistemas informáticos, cumpliendo la normativa vigente y asegurando la calidad del servicio. Capacidad para dirigir, planificar y supervisar equipos multidisciplinares.', 1, 1, '2020-10-03 09:18:57', 1, '2020-10-03 09:18:57');
INSERT INTO `com_competencia` VALUES (3, 'Capacidad para aplicar los principios de la economía y de la gestión de recursos humanos y proyectos, así como la legislación, regulación y normalización de la informática.', 1, 1, '2020-10-03 09:20:05', 1, '2020-10-03 09:20:05');
INSERT INTO `com_competencia` VALUES (4, 'Capacidad para la resolución de los problemas matemáticos que puedan plantearse en la ingeniería. Aptitud para aplicar los conocimientos sobre: álgebra lineal; cálculo diferencial e integral; métodos numéricos; algorítmica numérica; estadística y optimización.', 1, 1, '2020-10-03 09:20:24', 1, '2020-10-03 09:20:24');

-- ----------------------------
-- Table structure for con_consultorio
-- ----------------------------
CREATE TABLE `con_consultorio`  (
  `con_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de configuracion consultorio',
  `con_id_suc` int(11) NOT NULL COMMENT 'Llave primaria - Sucursal',
  `con_nombre` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre de Consultorio',
  `con_descripcion` varchar(1000) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'Dscripcion de Consultorio',
  `con_id_med` int(11) NOT NULL COMMENT 'Llave primaria - Medico',
  `con_estado` tinyint(4) NOT NULL COMMENT '0=inactivo/anulado, 1=activo',
  `con_estado_disponible` tinyint(4) NOT NULL COMMENT '0=no disponible, 1=disponible',
  `con_usu_creacion` int(11) NOT NULL COMMENT 'Auditoria',
  `con_fecha_creacion` datetime NOT NULL COMMENT 'Auditoria',
  `con_usu_modificacion` int(11) NOT NULL COMMENT 'Auditoria',
  `con_fecha_modificacion` datetime NOT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`con_id`) USING BTREE,
  INDEX `fk_con_id_suc`(`con_id_suc` ASC) USING BTREE,
  INDEX `fk_con_id_med`(`con_id_med` ASC) USING BTREE,
  CONSTRAINT `fk_con_id_med` FOREIGN KEY (`con_id_med`) REFERENCES `med_medico` (`med_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_con_id_suc` FOREIGN KEY (`con_id_suc`) REFERENCES `suc_sucursal` (`suc_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = latin1 COLLATE = latin1_swedish_ci COMMENT = 'Entidad - Clasificacion de emergencia' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of con_consultorio
-- ----------------------------

-- ----------------------------
-- Table structure for con_contacto
-- ----------------------------
CREATE TABLE `con_contacto`  (
  `con_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Codigo de contacto',
  `con_id_cli` int(11) NULL DEFAULT NULL COMMENT 'Codigo de cliente',
  `con_id_tit` int(11) NULL DEFAULT NULL COMMENT 'Llave primaria - Tipo de Telefono',
  `con_titulo_profesion` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL,
  `con_nombre` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombres de contactos',
  `con_apellidos` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Apellidos de contacto',
  `con_cargo` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Cargo del contacto',
  `con_telefono` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Telefono de contacto',
  `con_email` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Correo electronico',
  `con_estado` tinyint(4) NOT NULL COMMENT 'Estado de contacto',
  `con_usu_mod` int(11) NOT NULL COMMENT 'Ultimo usuario que modifico',
  `con_fecha_mod` datetime NOT NULL COMMENT 'Ultimo fecha que modifico',
  PRIMARY KEY (`con_id`) USING BTREE,
  INDEX `fk_con_id_cli`(`con_id_cli` ASC) USING BTREE,
  INDEX `fk_con_id_tit`(`con_id_tit` ASC) USING BTREE,
  CONSTRAINT `fk_con_id_cli` FOREIGN KEY (`con_id_cli`) REFERENCES `cli_cliente` (`cli_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_con_id_tit` FOREIGN KEY (`con_id_tit`) REFERENCES `tit_tipo_telefono` (`tit_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Catalogo de contactos' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of con_contacto
-- ----------------------------
INSERT INTO `con_contacto` VALUES (1, 3, 4, NULL, 'compras', '02', NULL, NULL, NULL, 0, 7, '2020-03-26 08:45:41');
INSERT INTO `con_contacto` VALUES (2, 4, 5, NULL, 'Oswaldo', 'Hernandez', 'Encargado', '7290-7536', NULL, 1, 7, '2020-04-13 08:59:35');
INSERT INTO `con_contacto` VALUES (3, 5, 5, NULL, 'Fatima ', 'Morales', 'Encargada', '7914-9505', NULL, 1, 7, '2020-03-26 09:04:17');
INSERT INTO `con_contacto` VALUES (4, 9, 4, NULL, 'Celestino', 'Marroquín', 'Dueño', '2331-3286', NULL, 1, 7, '2020-04-13 09:17:25');
INSERT INTO `con_contacto` VALUES (5, 10, 5, NULL, 'Any', 'Trovasa', 'Cuentas por Pagar', '7837-2035', NULL, 1, 7, '2020-04-13 09:19:00');
INSERT INTO `con_contacto` VALUES (6, 11, 5, NULL, 'José', 'Andrade', 'Dueño', '7522-9553', NULL, 1, 7, '2020-04-13 09:21:33');
INSERT INTO `con_contacto` VALUES (7, 12, 5, NULL, 'Ing.', 'Contreras', 'Encargado de compras', '7069-5691', 'rcontreras@gmail.com', 1, 1, '2021-12-27 22:47:38');
INSERT INTO `con_contacto` VALUES (8, 15, 5, NULL, 'Juán', 'Zepeda', 'Dueño', '7360-9482', NULL, 1, 7, '2020-04-13 09:28:25');
INSERT INTO `con_contacto` VALUES (9, 17, 2, NULL, 'Ovidio', 'Martinez', 'Compras', '2447-8033', 'compras@almacenesbousa.com', 1, 1, '2021-12-27 23:24:41');
INSERT INTO `con_contacto` VALUES (10, 18, 2, NULL, 'Yansis', 'Rubio', 'Contador', '2500-1713', 'yrubio@pinsal.com.sv', 1, 7, '2020-04-13 09:33:18');
INSERT INTO `con_contacto` VALUES (11, 19, 2, NULL, 'Raúl', 'Milla', 'Pagos', '2382-3232', NULL, 1, 1, '2021-12-27 23:25:07');
INSERT INTO `con_contacto` VALUES (12, 21, 5, NULL, 'admira', 'mejia', NULL, '61839294', 'admira@gmail.com', 1, 1, '2023-07-31 11:27:21');
INSERT INTO `con_contacto` VALUES (13, 22, 5, NULL, 'Maria', 'Benitez', NULL, '77777777', 'colindre@gmail.com', 1, 1, '2024-07-17 09:14:23');
INSERT INTO `con_contacto` VALUES (14, 24, NULL, NULL, 'rodrigo', 'sandoval', '', '22648310', 'portillojess18@gmail.com', 1, 1, '2022-03-02 11:40:41');
INSERT INTO `con_contacto` VALUES (15, 25, 5, NULL, 'Americo', 'Lopez', 'Pagaduria', '77787-9874', 'pagos@kimet.com', 1, 54, '2023-03-09 18:42:56');
INSERT INTO `con_contacto` VALUES (16, 98, 4, NULL, 'Juan', 'Perez', NULL, '2200-5500', NULL, 1, 1, '2024-10-10 14:02:46');
INSERT INTO `con_contacto` VALUES (17, 47, 3, 'Lic. Admon de Empresas', 'German ', 'Funes', 'Dueño', '24532010', 'geran.funes@ato.com', 1, 1, '2024-12-17 11:10:40');

-- ----------------------------
-- Table structure for con_contrato
-- ----------------------------
CREATE TABLE `con_contrato`  (
  `con_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador unico',
  `con_id_prv` int(11) NULL DEFAULT NULL COMMENT 'ID del contrato segun el proveedor',
  `con_fecha` datetime NOT NULL COMMENT 'Fecha del contrato',
  `con_codigo` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Codigo institucional del contrato',
  `con_fecha_firma` date NOT NULL COMMENT 'Fecha de la firma del contrato',
  `con_fecha_fin` date NULL DEFAULT NULL COMMENT 'Fecha de Finalizacion',
  `con_tipo` int(11) NOT NULL COMMENT 'Tipo de contrato (Catalogo)',
  `con_admin` int(11) NULL DEFAULT NULL COMMENT 'Encargado de administrar el contrato',
  `con_monto` decimal(19, 2) NOT NULL COMMENT 'Monto del contrato',
  `con_obs` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Observaciones',
  `con_usu_mod` int(11) NOT NULL COMMENT 'Auditoria',
  `con_fecha_mod` datetime NOT NULL COMMENT 'Auditoria',
  `con_id_try` int(11) NULL DEFAULT NULL COMMENT 'Procesos',
  `con_institucion` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'institucion recibe el contrato',
  PRIMARY KEY (`con_id`) USING BTREE,
  INDEX `FK_con_x_cat`(`con_tipo` ASC) USING BTREE,
  INDEX `FK_con_x_prv`(`con_id_prv` ASC) USING BTREE,
  INDEX `con_admin`(`con_admin` ASC) USING BTREE,
  CONSTRAINT `fk_con_admin` FOREIGN KEY (`con_admin`) REFERENCES `emp_empleado` (`emp_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_con_tipo` FOREIGN KEY (`con_tipo`) REFERENCES `cat_catalogo` (`cat_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Contrato/orden de compra entre conamype y un proveedor' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of con_contrato
-- ----------------------------

-- ----------------------------
-- Table structure for con_contrato_gasol
-- ----------------------------
CREATE TABLE `con_contrato_gasol`  (
  `con_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'llave primaria de contrato',
  `con_id_prv` int(11) NOT NULL,
  `con_numero` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL COMMENT 'número de contrato',
  `con_nombre` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL COMMENT 'nombre de contrato',
  `con_institucion` varchar(300) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'institucion recibe el contrato',
  `con_codigo` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL COMMENT 'código de contrato',
  `con_resolucion` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL COMMENT 'numero de resolución de contrato',
  `con_vigencia_desde` date NOT NULL COMMENT 'vigencia del contrato',
  `con_gar_cum_desde` date NULL DEFAULT NULL COMMENT 'vigencia de la garantia de cumplimiento',
  `con_vigencia_hasta` date NOT NULL COMMENT 'vigencia del contrato',
  `con_antic_desde` date NULL DEFAULT NULL COMMENT 'vigencia de la garantia de anticipo ',
  `con_gar_cum_hasta` date NULL DEFAULT NULL COMMENT 'vigencia de la garantia de cumplimiento',
  `con_buena_desde` date NULL DEFAULT NULL COMMENT 'vigencia de la garantia de buena obra',
  `con_buena_hasta` date NULL DEFAULT NULL COMMENT 'vigencia de la garantia de buena obra',
  `con_antic_hasta` date NULL DEFAULT NULL COMMENT 'vigencia de la garantia de anticipo',
  `con_otras_desde` date NULL DEFAULT NULL COMMENT 'vigencia de otras garantias',
  `con_otras_hasta` date NULL DEFAULT NULL COMMENT 'vigencia de otras garantias',
  `con_id_administrador` int(11) NULL DEFAULT NULL COMMENT 'Administrador de contrato',
  `con_estado` int(11) NOT NULL COMMENT 'estado de registro',
  `con_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `con_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  `con_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `con_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`con_id`) USING BTREE,
  INDEX `fk_id_prv_prv_proveedor`(`con_id_prv` ASC) USING BTREE,
  INDEX `fk_con_id_administrador`(`con_id_administrador` ASC) USING BTREE,
  CONSTRAINT `fk_con_id_administrador` FOREIGN KEY (`con_id_administrador`) REFERENCES `emp_empleado` (`emp_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_id_prv_prv_proveedor` FOREIGN KEY (`con_id_prv`) REFERENCES `prv_proveedor` (`prv_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = latin1 COLLATE = latin1_swedish_ci COMMENT = 'contratos' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of con_contrato_gasol
-- ----------------------------
INSERT INTO `con_contrato_gasol` VALUES (1, 150, '225464654', 'TXG662', 'TEXACO', 'GR65', '32135', '2023-01-01', '2023-01-01', '2023-03-31', '2023-01-01', '2023-01-31', '2023-01-01', '2023-01-31', '2023-01-15', '2023-01-01', '2023-01-15', 51, 1, '2023-01-19 08:18:55', '2023-01-19 08:18:55', 1, 1);

-- ----------------------------
-- Table structure for cop_contrato_proveedor
-- ----------------------------
CREATE TABLE `cop_contrato_proveedor`  (
  `cop_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal del contrato',
  `cop_id_prv` int(11) NOT NULL COMMENT 'Llave primaria de proveedor',
  `cop_id_art` int(11) NOT NULL COMMENT 'Llave principal de articulos (con flag de tipo servicio)',
  `cop_id_tif` int(11) NULL DEFAULT NULL COMMENT 'Llave pricnipal de tipo de factura',
  `cop_id_tpg` int(11) NULL DEFAULT NULL COMMENT 'Llave principal - tipo de pago',
  `cop_numero` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Número de contrato',
  `cop_codigo` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Código de contrato',
  `cop_fecha_inicio` datetime NOT NULL COMMENT 'Fecha inicio del contrato',
  `cop_fecha_fin` datetime NOT NULL COMMENT 'Fecha fin del contrato',
  `cop_saldo_inicial` decimal(19, 2) NOT NULL COMMENT 'Saldo inicial',
  `cop_fecha_facturacion` datetime NULL DEFAULT NULL COMMENT 'Fecha Facturación',
  `cop_cuota_mensual` decimal(19, 2) NOT NULL COMMENT 'Cuota mensual',
  `cop_descripcion` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Descripción general del contrato.',
  `cop_cantidad_cuota` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Número de cuotas',
  `cop_cuota_pendiente` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Número de cuotas pendientes',
  `cop_observacion_desact` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Observación sobre desactivación de contrato',
  `cop_fecha_desact` datetime NULL DEFAULT NULL COMMENT 'Fecha de desactivacion',
  `cop_generado` int(11) NOT NULL DEFAULT 0 COMMENT '1=cuotas generadas, 0=cuotas no generadas',
  `cop_estado` int(11) NOT NULL COMMENT 'estado 1=activo, 0=inactivo',
  `cop_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `cop_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `cop_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `cop_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`cop_id`) USING BTREE,
  INDEX `fk_cop_id_art`(`cop_id_art` ASC) USING BTREE,
  INDEX `fk_cop_id_prv`(`cop_id_prv` ASC) USING BTREE,
  INDEX `fk_cop_id_tif`(`cop_id_tif` ASC) USING BTREE,
  INDEX `fk_cop_id_tpg`(`cop_id_tpg` ASC) USING BTREE,
  CONSTRAINT `fk_cop_id_art` FOREIGN KEY (`cop_id_art`) REFERENCES `art_articulo` (`art_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cop_id_prv` FOREIGN KEY (`cop_id_prv`) REFERENCES `prv_proveedor` (`prv_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cop_id_tif` FOREIGN KEY (`cop_id_tif`) REFERENCES `tif_tipo_factura` (`tif_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cop_id_tpg` FOREIGN KEY (`cop_id_tpg`) REFERENCES `tpg_tipo_pago` (`tpg_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Contrato por proveedor' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cop_contrato_proveedor
-- ----------------------------

-- ----------------------------
-- Table structure for cor_correcion
-- ----------------------------
CREATE TABLE `cor_correcion`  (
  `cor_id` int(11) NOT NULL AUTO_INCREMENT,
  `cor_hora_desde` time NOT NULL,
  `cor_hora_hasta` time NOT NULL,
  `cor_observacion` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `cor_fecha` datetime NOT NULL COMMENT 'Fecha en que se aplica la correción',
  `cor_estado` tinyint(4) NOT NULL,
  `cor_usu_mod` int(11) NOT NULL,
  `cor_fecha_mod` datetime NOT NULL,
  PRIMARY KEY (`cor_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cor_correcion
-- ----------------------------
INSERT INTO `cor_correcion` VALUES (1, '08:00:46', '17:00:50', '', '2022-06-10 00:00:00', 1, 1, '2022-06-10 12:46:59');
INSERT INTO `cor_correcion` VALUES (2, '08:00:15', '17:00:19', '', '2022-06-01 00:00:00', 1, 1, '2022-06-10 12:47:24');
INSERT INTO `cor_correcion` VALUES (3, '08:00:40', '17:00:47', '', '2022-06-02 00:00:00', 1, 1, '2022-06-10 12:47:51');
INSERT INTO `cor_correcion` VALUES (4, '08:07:00', '17:04:01', 'Editar Procesamiento de Marcación', '2023-05-04 00:00:00', 1, 1, '2023-05-04 19:22:36');
INSERT INTO `cor_correcion` VALUES (5, '08:00:00', '17:00:00', 'Editar Procesamiento de Marcación', '2023-05-03 00:00:00', 1, 1, '2023-05-05 11:37:37');
INSERT INTO `cor_correcion` VALUES (6, '08:01:00', '17:08:00', 'Editar Procesamiento de Marcación', '2023-05-02 00:00:00', 1, 1, '2024-01-25 11:36:14');
INSERT INTO `cor_correcion` VALUES (7, '00:00:00', '16:30:00', 'Editar Procesamiento de Marcación', '2024-02-15 00:00:00', 1, 1, '2024-02-02 11:40:51');

-- ----------------------------
-- Table structure for cor_correlativo
-- ----------------------------
CREATE TABLE `cor_correlativo`  (
  `cor_id` int(11) NOT NULL AUTO_INCREMENT,
  `cor_id_ser` int(11) NOT NULL,
  `cor_tipo` int(11) NOT NULL COMMENT '1-Entrada, 2-Salida',
  `cor_inicio` int(11) NOT NULL,
  `cor_fin` int(11) NOT NULL,
  `cor_id_dee` int(11) NOT NULL COMMENT 'El detalle del movimiento',
  `cor_estado` tinyint(4) NOT NULL,
  `cor_usu_mod` int(11) NOT NULL,
  `cor_fecha_mod` datetime NOT NULL,
  PRIMARY KEY (`cor_id`) USING BTREE,
  UNIQUE INDEX `uk_serie_inicio_fin`(`cor_id_ser` ASC, `cor_tipo` ASC, `cor_inicio` ASC, `cor_fin` ASC) USING BTREE,
  INDEX `FK_id_detalle_mov`(`cor_id_dee` ASC) USING BTREE,
  CONSTRAINT `FK_id_detalle_mov` FOREIGN KEY (`cor_id_dee`) REFERENCES `dee_detalle_mov` (`dee_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_id_serie` FOREIGN KEY (`cor_id_ser`) REFERENCES `ser_serie` (`ser_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cor_correlativo
-- ----------------------------

-- ----------------------------
-- Table structure for cot_configuracion_turno
-- ----------------------------
CREATE TABLE `cot_configuracion_turno`  (
  `cot_id` int(11) NOT NULL AUTO_INCREMENT,
  `cot_id_tur` int(11) NOT NULL,
  `cot_tipo` int(11) NOT NULL COMMENT '1: Entrada 2: Salida',
  `cot_minutos` int(11) NOT NULL COMMENT 'Minutos de gracia',
  `cot_inicio_calculo` int(11) NULL DEFAULT NULL COMMENT 'Si existe tiempo de gracias, empezar el calculo a partir del minuto X por defecto es el mismo cot_minutos',
  `cot_aplicar_doble` tinyint(4) NULL DEFAULT NULL COMMENT '0=No |1=Si Si aplica el conteo de minutos al doble',
  `cot_eventos_doble` int(11) NULL DEFAULT NULL COMMENT 'Si aplica conteo doble a partir de X eventos',
  `cot_id_fre` int(255) NULL DEFAULT NULL,
  `cot_estado` tinyint(4) NOT NULL,
  `cot_usu_mod` int(11) NOT NULL,
  `cot_fecha_mod` datetime NOT NULL,
  PRIMARY KEY (`cot_id`) USING BTREE,
  INDEX `fk_cot_id_fre_frecuencia`(`cot_id_fre` ASC) USING BTREE,
  INDEX `fk_cot_id_tur_turno`(`cot_id_tur` ASC) USING BTREE,
  CONSTRAINT `fk_cot_id_fre_frecuencia` FOREIGN KEY (`cot_id_fre`) REFERENCES `fre_frecuencia` (`fre_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cot_id_tur_turno` FOREIGN KEY (`cot_id_tur`) REFERENCES `tur_turno` (`tur_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cot_configuracion_turno
-- ----------------------------
INSERT INTO `cot_configuracion_turno` VALUES (1, 2, 1, 0, NULL, NULL, NULL, NULL, 1, 1, '2024-02-02 10:57:05');
INSERT INTO `cot_configuracion_turno` VALUES (2, 2, 2, 0, NULL, NULL, NULL, NULL, 1, 1, '2024-02-02 10:57:05');

-- ----------------------------
-- Table structure for cot_cotizacion
-- ----------------------------
CREATE TABLE `cot_cotizacion`  (
  `cot_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Codigo de la cotizacion',
  `cot_id_cli` int(11) NULL DEFAULT NULL COMMENT 'Codigo de cliente',
  `cot_id_ven` int(11) NULL DEFAULT NULL COMMENT 'codigo de vendedor',
  `cot_id_tic` int(11) NULL DEFAULT NULL COMMENT 'Codigo de tipo de contacto',
  `cot_id_est` int(11) NULL DEFAULT NULL COMMENT 'Codigo de estado de la cotizacion',
  `cot_id_etp` int(11) NULL DEFAULT NULL COMMENT 'Codigo de etapa',
  `cot_id_scl` int(11) NULL DEFAULT NULL COMMENT 'Identificador de la sucursal cliente',
  `cot_id_tpg` int(11) NULL DEFAULT NULL COMMENT 'Llave principal - tipo de pago',
  `cot_id_etc` int(11) NULL DEFAULT NULL COMMENT 'Codigo de etapa de cotización.',
  `cot_id_are` int(11) NULL DEFAULT NULL COMMENT 'Id de Area (area de la empresa a la que corresponde la cotización)',
  `cot_id_pcl` int(11) NULL DEFAULT NULL COMMENT 'Llave principal de proyecto por cliente',
  `cot_id_arf` int(11) NULL DEFAULT NULL COMMENT 'Llave principal de areas de facturación',
  `cot_id_frp` int(11) NULL DEFAULT NULL COMMENT 'Llave principal de forma de pago',
  `cot_codigo` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'codigo de la cotizacion',
  `cot_fecha` datetime NOT NULL COMMENT 'Fecha de Creacion en Sistema',
  `cot_fecha_pres` datetime NULL DEFAULT NULL COMMENT 'Fecha de presentacion ',
  `cot_concepto` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Concepto de cotizacion',
  `cot_url_internet` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'URL de sitio web',
  `cot_ult_fecha_cont` datetime NOT NULL COMMENT 'Ultima fecha de contacto',
  `cot_condicion` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'campo para otras condiciones',
  `cot_comentario` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Comentarios',
  `cot_numero_dias_pago` decimal(19, 2) NULL DEFAULT NULL COMMENT 'numero de dias plazo para realizar el pago',
  `cot_dirigido` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Dirigido a (nombre de la persona a quien se dirige la cotización)',
  `cot_lugar_entrega` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Lugar de entrega',
  `cot_fecha_entrega` datetime NULL DEFAULT NULL COMMENT 'fecha de entrega ',
  `cot_hora_inicio_entrega` time NULL DEFAULT NULL COMMENT 'hora inicio de entrega',
  `cot_hora_fin_entrega` time NULL DEFAULT NULL COMMENT 'hora fin de entrega',
  `cot_validez_oferta` int(11) NULL DEFAULT 1 COMMENT 'Validez de oferta (dias)',
  `cot_fecha_vigencia` datetime NULL DEFAULT NULL COMMENT 'fecha de vigencia (cálculado contra validez)',
  `cot_probabilidad_cierre` decimal(19, 2) NULL DEFAULT 1.00 COMMENT 'Probabilidad Cierre',
  `cot_fecha_cierre` datetime NULL DEFAULT NULL COMMENT 'fecha de posible cierre',
  `cot_plan_accion` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Plan de acción.',
  `cot_enviar_email` tinyint(4) NULL DEFAULT 1 COMMENT 'Bandera para definir en envio de la cotizacion por mail (1-si, 0 - no)',
  `cot_detalle_imp` int(11) NULL DEFAULT 1 COMMENT 'Bandera para detalle de impuestos en cotizacion (1- Con detalle, 0 - Sin detalle)',
  `cot_descuento_porcentaje` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Porcentaje de descuento aplicado',
  `cot_subtotal` decimal(19, 2) NOT NULL COMMENT 'Subtotal de Cotización',
  `cot_descuento` decimal(19, 2) NOT NULL COMMENT 'Monto de descuento aplicado',
  `cot_impuesto` decimal(19, 2) NOT NULL COMMENT 'Monto total de impuestos',
  `cot_total` decimal(19, 2) NOT NULL COMMENT 'Total de Cotización',
  `cot_produccion` tinyint(4) NULL DEFAULT NULL COMMENT 'Bandera para definir si es cotización para generar orden de producción (1-si, 0 - no)',
  `cot_aplica_transporte` tinyint(4) NULL DEFAULT NULL COMMENT 'Bandera para definir si la cotización incluye la negociacion del transporte,si aplica (1-si, 0 /null- no)',
  `cot_fecha_revisado` datetime NULL DEFAULT NULL COMMENT 'Fecha de revisado (auditoria)',
  `cot_estado_facturacion` tinyint(4) NULL DEFAULT 1 COMMENT 'Estado de la Facturación 1=pendiente, 2=parcial, 3=finalizado',
  `cot_autorizada` tinyint(4) NULL DEFAULT 1 COMMENT 'Cotización autorizada 1=si, 0 or null =no. (segun parametro se usará dicho campo)',
  `cot_fecha_autoriza` datetime NULL DEFAULT NULL COMMENT 'Fecha de autorizacion',
  `cot_observacion_autoriza` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Observación de autorización',
  `cot_estado` tinyint(4) NOT NULL DEFAULT 1 COMMENT 'Estado de la Cotizacion',
  `cot_usu_creacion` int(11) NOT NULL COMMENT 'Auditoria',
  `cot_fecha_creacion` datetime NOT NULL COMMENT 'Auditoria',
  `cot_usu_modificacion` int(11) NOT NULL COMMENT 'Ultimo usuario de modificacion',
  `cot_fecha_modificacion` datetime NOT NULL COMMENT 'Utima fecha de modificacion',
  PRIMARY KEY (`cot_id`) USING BTREE,
  INDEX `fk_cot_id_cli`(`cot_id_cli` ASC) USING BTREE,
  INDEX `fk_cot_id_est`(`cot_id_est` ASC) USING BTREE,
  INDEX `fk_cot_id_etp`(`cot_id_etp` ASC) USING BTREE,
  INDEX `fk_cot_id_tic`(`cot_id_tic` ASC) USING BTREE,
  INDEX `fk_cot_id_ven`(`cot_id_ven` ASC) USING BTREE,
  INDEX `fk_cot_id_tpg`(`cot_id_tpg` ASC) USING BTREE,
  INDEX `fk_cot_id_etc`(`cot_id_etc` ASC) USING BTREE,
  INDEX `fk_cot_id_are`(`cot_id_are` ASC) USING BTREE,
  INDEX `fk_cot_id_pcl`(`cot_id_pcl` ASC) USING BTREE,
  INDEX `fk_cot_id_arf`(`cot_id_arf` ASC) USING BTREE,
  INDEX `fk_cot_id_frp`(`cot_id_frp` ASC) USING BTREE,
  CONSTRAINT `fk_cot_id_are` FOREIGN KEY (`cot_id_are`) REFERENCES `are_area` (`are_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cot_id_arf` FOREIGN KEY (`cot_id_arf`) REFERENCES `arf_area_factura` (`arf_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cot_id_cli` FOREIGN KEY (`cot_id_cli`) REFERENCES `cli_cliente` (`cli_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cot_id_est` FOREIGN KEY (`cot_id_est`) REFERENCES `est_estado_cotizacion` (`est_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cot_id_etc` FOREIGN KEY (`cot_id_etc`) REFERENCES `etc_etapa_cotizacion` (`etc_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cot_id_etp` FOREIGN KEY (`cot_id_etp`) REFERENCES `etp_etapa` (`etp_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cot_id_frp` FOREIGN KEY (`cot_id_frp`) REFERENCES `frp_forma_pago` (`frp_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cot_id_pcl` FOREIGN KEY (`cot_id_pcl`) REFERENCES `pcl_proyecto_cliente` (`pcl_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cot_id_tic` FOREIGN KEY (`cot_id_tic`) REFERENCES `tic_tipo_comision` (`tic_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cot_id_tpg` FOREIGN KEY (`cot_id_tpg`) REFERENCES `tpg_tipo_pago` (`tpg_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cot_id_ven` FOREIGN KEY (`cot_id_ven`) REFERENCES `ven_vendedor` (`ven_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE = InnoDB AUTO_INCREMENT = 33 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cot_cotizacion
-- ----------------------------
INSERT INTO `cot_cotizacion` VALUES (1, 3, 2, NULL, 1, NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL, 'JUN2019-0001', '2019-06-07 10:15:09', '2019-06-07 00:00:00', 'Cotización de Spray', NULL, '2019-06-07 10:15:09', NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, 10, '2019-06-17 00:00:00', NULL, NULL, NULL, 0, 1, 0.00, 485.00, 0.00, 63.05, 548.05, 0, NULL, NULL, 1, 1, NULL, NULL, 1, 1, '2019-06-07 10:15:09', 1, '2019-06-07 10:15:09');
INSERT INTO `cot_cotizacion` VALUES (6, 1, 3, NULL, 2, NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL, 'OCT2019-0006', '2019-10-27 19:01:50', '2019-10-27 00:00:00', 'Venta de pintura', NULL, '2019-10-27 19:01:50', NULL, 'Hábiles', NULL, '', NULL, NULL, NULL, NULL, 10, '2019-11-06 00:00:00', NULL, NULL, NULL, 0, 1, 0.00, 500.00, 0.00, 0.00, 500.00, 0, NULL, NULL, 1, 1, '2019-10-28 00:00:00', 'Autorizada', 1, 1, '2019-10-27 19:01:50', 1, '2019-10-28 16:51:23');
INSERT INTO `cot_cotizacion` VALUES (7, 5, 3, NULL, 2, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 'OCT2019-0007', '2019-10-29 13:00:30', '2019-10-29 00:00:00', 'prueba facturar cotizacion', NULL, '2019-10-29 13:00:30', 'Prueba facturación', 'Hábiles', NULL, '', NULL, NULL, NULL, NULL, 10, '2019-11-08 00:00:00', 0.00, NULL, NULL, 0, 1, 0.00, 49.70, 0.00, 6.46, 56.16, 0, NULL, NULL, 1, 1, '2019-10-29 00:00:00', 'Se aprueba por prueba', 1, 1, '2019-10-29 12:16:25', 19, '2020-05-28 14:37:54');
INSERT INTO `cot_cotizacion` VALUES (8, 5, 3, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'OCT2019-0008', '2019-10-29 14:49:49', '2019-10-29 00:00:00', 'prueba cot-fact', NULL, '2019-10-29 14:49:49', NULL, 'Hábiles', NULL, '', NULL, NULL, NULL, NULL, 10, '2019-11-08 00:00:00', NULL, NULL, NULL, 0, 1, 0.00, 25.00, 0.00, 3.25, 28.25, 0, NULL, NULL, 1, 1, '2019-10-29 00:00:00', 'pprueba', 1, 1, '2019-10-29 14:49:49', 1, '2019-10-29 14:50:29');
INSERT INTO `cot_cotizacion` VALUES (9, 5, 1, NULL, 2, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 'FEB2020-0009', '2020-02-18 11:02:25', '2020-02-18 00:00:00', 'asdsad', NULL, '2020-02-18 11:02:25', NULL, 'Hábiles', NULL, '', NULL, NULL, NULL, '22:00:00', 10, '2020-02-28 00:00:00', NULL, NULL, NULL, 0, 1, 0.00, 25.08, 0.00, 3.26, 28.34, 0, NULL, NULL, 1, 0, NULL, NULL, 1, 1, '2020-02-18 11:02:25', 1, '2020-03-02 13:06:34');
INSERT INTO `cot_cotizacion` VALUES (10, 11, 7, NULL, 1, NULL, 11, 2, NULL, NULL, NULL, NULL, NULL, 'MAR2020-0010', '2020-03-02 12:53:19', '2020-03-02 00:00:00', 'Cotización', NULL, '2020-07-02 00:00:00', NULL, 'Hábiles', NULL, '', NULL, NULL, NULL, NULL, 10, '2020-03-12 00:00:00', NULL, NULL, NULL, 1, 1, 0.00, 1451.30, 0.00, 188.67, 1639.97, 1, NULL, NULL, 1, 0, NULL, NULL, 1, 1, '2020-03-02 12:53:19', 1, '2020-03-02 12:53:19');
INSERT INTO `cot_cotizacion` VALUES (25, 17, 8, NULL, 2, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 'JUL2020-0025', '2020-07-06 10:01:51', '2020-07-06 00:00:00', 'Cotizacion de Aerosoles', NULL, '2020-07-06 10:01:51', NULL, NULL, NULL, 'Ovidio Martinez', 'Cliente', '2020-07-13 00:00:00', NULL, NULL, 15, '2020-07-21 00:00:00', 100.00, '2020-07-13 00:00:00', 'Seguimientos por llamadas telefonicas', 0, 1, 0.00, 125.00, 0.00, 16.25, 141.25, 0, NULL, NULL, 1, 1, '2020-07-06 00:00:00', 'Ok', 1, 9, '2020-07-06 10:01:51', 9, '2020-07-06 10:03:39');
INSERT INTO `cot_cotizacion` VALUES (26, 21, 11, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 'FEB2022-0008', '2023-01-31 12:54:44', '2022-02-14 00:00:00', 'PLAZA DE GERENTE DE RESTAURANTE', NULL, '2024-07-26 00:00:00', 'Condiciones de la propuesta', NULL, NULL, 'admira mejía', NULL, NULL, '00:00:00', NULL, 10, '2022-02-24 00:00:00', 0.00, NULL, NULL, 0, 1, 0.00, 22.50, 0.00, 2.93, 25.43, 0, NULL, NULL, 1, 0, NULL, NULL, 1, 1, '2022-02-14 16:50:11', 1, '2023-01-31 12:54:44');
INSERT INTO `cot_cotizacion` VALUES (27, 26, 4, NULL, 7, NULL, NULL, 2, NULL, NULL, NULL, NULL, 1, 'JUL2024-0009', '2024-07-26 15:40:32', '2024-07-26 00:00:00', 'Cotizacion de clientes ', NULL, '2024-07-26 15:40:32', NULL, NULL, NULL, '', NULL, '2024-07-31 00:00:00', NULL, NULL, 30, '2024-08-25 00:00:00', NULL, NULL, NULL, 0, 1, 0.00, 43550.00, 1575.00, 5661.50, 49211.50, 0, 0, NULL, 1, 0, NULL, NULL, 1, 1, '2024-07-26 15:40:32', 1, '2024-07-26 15:40:32');
INSERT INTO `cot_cotizacion` VALUES (28, 96, 4, NULL, 2, NULL, NULL, 1, NULL, NULL, NULL, NULL, 2, 'OCT2024-0010', '2024-10-10 13:08:27', '2024-10-10 00:00:00', 'Letra', NULL, '2024-10-10 13:08:27', NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, 10, '2024-10-20 00:00:00', NULL, NULL, NULL, 0, 1, 0.00, 25.00, 0.00, 3.25, 28.25, 0, 0, NULL, 3, 0, NULL, NULL, 1, 1, '2024-10-10 13:08:27', 1, '2024-10-10 13:08:42');
INSERT INTO `cot_cotizacion` VALUES (29, 98, 8, NULL, 2, NULL, NULL, 1, NULL, NULL, NULL, NULL, 2, 'OCT2024-0011', '2024-10-10 13:49:35', '2024-10-10 00:00:00', 'Creacion de un logotipo', NULL, '2024-10-10 00:00:00', 'Se someterá a evaluacion de ambas partes', NULL, NULL, 'Juan Perez', NULL, NULL, NULL, NULL, 10, '2024-10-20 00:00:00', NULL, NULL, NULL, 0, 1, 0.00, 177.00, 3.00, 23.01, 200.01, 0, 0, NULL, 3, 0, NULL, NULL, 1, 1, '2024-10-10 13:49:35', 1, '2024-10-10 13:53:14');
INSERT INTO `cot_cotizacion` VALUES (30, 96, 4, NULL, 2, NULL, NULL, 1, NULL, NULL, NULL, NULL, 2, 'OCT2024-0012', '2024-10-23 15:54:49', '2024-10-23 00:00:00', 'Letras', NULL, '2024-10-23 15:54:49', NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, 10, '2024-11-02 00:00:00', NULL, NULL, NULL, 0, 1, 0.00, 250.00, 0.00, 32.50, 282.50, 1, 0, NULL, 1, 0, NULL, NULL, 1, 1, '2024-10-23 15:54:49', 1, '2024-10-23 15:55:06');
INSERT INTO `cot_cotizacion` VALUES (31, 47, 4, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 'DIC2024-0013', '2024-12-17 11:17:53', '2024-12-17 00:00:00', 'leche descremada', NULL, '2024-12-17 11:17:53', NULL, NULL, NULL, 'German  Funes', NULL, NULL, NULL, NULL, 10, '2024-12-27 00:00:00', NULL, NULL, NULL, 0, 1, 0.00, 100.00, 0.00, 13.00, 113.00, 0, 0, NULL, 1, 0, NULL, NULL, 1, 1, '2024-12-17 11:17:53', 1, '2024-12-17 11:22:16');
INSERT INTO `cot_cotizacion` VALUES (32, 26, 4, NULL, 2, NULL, NULL, 2, NULL, NULL, NULL, NULL, 1, 'ENE2025-0014', '2025-01-27 14:46:21', '2025-01-27 00:00:00', 'Cotizacion pendiente ', NULL, '2025-01-27 14:46:21', NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, 10, '2025-02-06 00:00:00', NULL, NULL, NULL, 0, 1, 0.00, 15150.00, 0.00, 1969.50, 17119.50, 0, 0, NULL, 1, 0, NULL, NULL, 1, 1, '2025-01-27 14:46:21', 1, '2025-01-27 14:54:59');

-- ----------------------------
-- Table structure for cpd_correo_proveedor
-- ----------------------------
CREATE TABLE `cpd_correo_proveedor`  (
  `cpd_id` int(11) NOT NULL AUTO_INCREMENT,
  `cpd_id_prv` int(11) NOT NULL,
  `cpd_correo` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'valor del correo electronico',
  `cpd_estado` tinyint(4) NOT NULL COMMENT 'estado del registro 0=inactivo, 1=activo',
  `cpd_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `cpd_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `cpd_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `cpd_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`cpd_id`) USING BTREE,
  INDEX `fk_cpd_id_prv`(`cpd_id_prv` ASC) USING BTREE,
  CONSTRAINT `fk_cpd_id_prv` FOREIGN KEY (`cpd_id_prv`) REFERENCES `prv_proveedor` (`prv_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 97 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'tabla que almacena n correos de un proveedor' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cpd_correo_proveedor
-- ----------------------------
INSERT INTO `cpd_correo_proveedor` VALUES (1, 129, 'latinca@gmail.com', 1, 1, '2019-09-20 15:05:12', 1, '2019-09-20 15:05:12');
INSERT INTO `cpd_correo_proveedor` VALUES (2, 130, 'cartopacksa@gmail.com', 1, 6, '2019-10-15 11:54:12', 1, '2019-10-28 19:12:58');
INSERT INTO `cpd_correo_proveedor` VALUES (3, 131, 'cartopacksa@gmail.com', 1, 6, '2019-10-15 14:23:07', 6, '2019-10-15 14:23:07');
INSERT INTO `cpd_correo_proveedor` VALUES (7, 37, 'inconplast@gmail.com', 1, 33, '2020-05-18 12:21:42', 33, '2020-05-18 12:21:42');
INSERT INTO `cpd_correo_proveedor` VALUES (8, 30, 'ya@chemo.com', 1, 33, '2020-05-18 12:31:53', 33, '2020-05-18 12:31:53');
INSERT INTO `cpd_correo_proveedor` VALUES (9, 16, 'jacqueline.sanchez@resoco.com', 1, 33, '2020-05-21 19:01:13', 33, '2020-05-22 20:11:45');
INSERT INTO `cpd_correo_proveedor` VALUES (10, 31, 'julieta.medina@resoco.com', 1, 33, '2020-05-21 19:12:46', 33, '2020-05-21 19:12:46');
INSERT INTO `cpd_correo_proveedor` VALUES (11, 32, 'jalvarenga@grupomathiesen.com', 1, 33, '2020-05-21 19:18:17', 33, '2020-05-21 19:18:17');
INSERT INTO `cpd_correo_proveedor` VALUES (12, 33, 'hgrijalva@divsa.com', 1, 33, '2020-05-21 19:24:27', 33, '2020-05-21 19:24:27');
INSERT INTO `cpd_correo_proveedor` VALUES (13, 34, 'vcalderon@gzapata.com.gt', 1, 33, '2020-05-21 19:27:22', 33, '2020-05-21 19:28:03');
INSERT INTO `cpd_correo_proveedor` VALUES (14, 35, 'gerardo.overall@multiquimica.com', 1, 33, '2020-05-21 19:32:34', 33, '2020-05-21 19:32:34');
INSERT INTO `cpd_correo_proveedor` VALUES (15, 52, 'aalmstedt@worlee.de', 1, 33, '2020-05-21 21:56:36', 33, '2020-05-21 21:56:36');
INSERT INTO `cpd_correo_proveedor` VALUES (17, 39, 'dherrera@andeschem.com', 1, 33, '2020-05-22 15:48:14', 33, '2020-05-22 15:48:14');
INSERT INTO `cpd_correo_proveedor` VALUES (18, 57, 'milene@mastroquimica.com.br', 1, 33, '2020-05-22 16:18:47', 33, '2020-05-22 16:18:47');
INSERT INTO `cpd_correo_proveedor` VALUES (19, 57, 'stefano@mastroquimica.com.br', 1, 33, '2020-05-22 16:18:47', 33, '2020-05-22 16:18:47');
INSERT INTO `cpd_correo_proveedor` VALUES (20, 58, 'market7@chumboon.com', 1, 33, '2020-05-22 16:50:03', 33, '2020-05-22 16:50:03');
INSERT INTO `cpd_correo_proveedor` VALUES (21, 634, 'rexter@rexter.eu', 1, 33, '2020-05-22 19:01:47', 33, '2020-05-22 19:01:47');
INSERT INTO `cpd_correo_proveedor` VALUES (22, 62, 'sandra.haumberger@altana.com', 1, 33, '2020-05-22 19:15:25', 33, '2020-05-22 19:15:25');
INSERT INTO `cpd_correo_proveedor` VALUES (23, 42, 'hschener@hightrade.com', 1, 33, '2020-05-22 19:22:04', 33, '2020-05-22 19:22:04');
INSERT INTO `cpd_correo_proveedor` VALUES (24, 45, 'margie.perez@orioncarbons.com', 1, 33, '2020-05-22 19:41:28', 33, '2020-05-22 19:41:28');
INSERT INTO `cpd_correo_proveedor` VALUES (25, 46, 'market7@chumboon.com', 1, 33, '2020-05-22 19:45:14', 33, '2020-05-22 19:45:14');
INSERT INTO `cpd_correo_proveedor` VALUES (26, 1, 'g.lazo@salvaplastic.com.sv', 1, 33, '2020-05-22 19:50:19', 1, '2021-03-05 12:08:03');
INSERT INTO `cpd_correo_proveedor` VALUES (27, 10, 'mmenjivar@jcniemannelsalvador.com', 1, 33, '2020-05-22 19:54:23', 33, '2020-05-22 19:54:23');
INSERT INTO `cpd_correo_proveedor` VALUES (28, 12, 'mmarroquin@zicrom.com', 1, 33, '2020-05-22 19:58:32', 33, '2020-05-22 19:58:32');
INSERT INTO `cpd_correo_proveedor` VALUES (29, 13, 'hescalante@rexcargo.com', 1, 33, '2020-05-22 20:02:04', 33, '2020-05-22 20:02:04');
INSERT INTO `cpd_correo_proveedor` VALUES (30, 15, 'jacquelinorellana@gmail.com', 1, 33, '2020-05-22 20:09:36', 33, '2020-05-22 20:09:36');
INSERT INTO `cpd_correo_proveedor` VALUES (31, 17, 'david.guzman@cartonesa.com.sv', 1, 33, '2020-05-22 20:14:22', 33, '2020-05-22 20:14:22');
INSERT INTO `cpd_correo_proveedor` VALUES (32, 18, 'auxventas@typsa.com.sv', 1, 33, '2020-05-22 20:20:27', 33, '2020-05-22 20:20:27');
INSERT INTO `cpd_correo_proveedor` VALUES (33, 19, 'yesenia_melgar@impredisa.com', 1, 33, '2020-05-22 20:24:48', 33, '2020-05-22 20:24:48');
INSERT INTO `cpd_correo_proveedor` VALUES (34, 2, 'maribel@coquinsa.com', 1, 33, '2020-05-22 20:39:00', 33, '2020-05-22 20:39:00');
INSERT INTO `cpd_correo_proveedor` VALUES (35, 20, 'rc.internacional@yahoo.com', 1, 33, '2020-05-22 20:42:54', 33, '2020-05-22 20:42:54');
INSERT INTO `cpd_correo_proveedor` VALUES (36, 4, 'lnativi@gtmchemicals.com', 1, 33, '2020-05-26 10:44:39', 33, '2020-06-08 16:01:57');
INSERT INTO `cpd_correo_proveedor` VALUES (37, 5, 'ventas04@matriceriaroxy.com', 1, 33, '2020-05-26 11:29:12', 33, '2020-05-26 11:29:12');
INSERT INTO `cpd_correo_proveedor` VALUES (38, 7, 'coviedo@brenntagla.com', 1, 33, '2020-05-26 11:40:15', 9, '2020-06-27 15:19:50');
INSERT INTO `cpd_correo_proveedor` VALUES (39, 87, 'soyapango.gases@infrasal.com', 1, 33, '2020-05-26 12:19:58', 33, '2020-05-26 12:19:58');
INSERT INTO `cpd_correo_proveedor` VALUES (40, 635, 'jeannycordero@hotmail.com', 1, 32, '2020-05-26 13:55:02', 6, '2020-06-18 11:55:02');
INSERT INTO `cpd_correo_proveedor` VALUES (41, 192, 'soyapango@impressarepuestos.com', 1, 33, '2020-05-26 15:34:23', 33, '2020-05-26 15:34:23');
INSERT INTO `cpd_correo_proveedor` VALUES (42, 231, 'cotizaciones@electrolabmedic.com.sv', 1, 33, '2020-05-26 15:36:51', 33, '2020-05-26 15:36:51');
INSERT INTO `cpd_correo_proveedor` VALUES (43, 413, 'rosalina.martinez@gruposolid.com', 1, 33, '2020-05-26 15:48:49', 33, '2020-05-26 15:48:49');
INSERT INTO `cpd_correo_proveedor` VALUES (44, 3, 'bmorales@chemsol.net', 1, 33, '2020-05-26 16:01:21', 33, '2020-05-26 16:01:21');
INSERT INTO `cpd_correo_proveedor` VALUES (45, 6, 'karlaestrada@funeshartmann.com', 1, 33, '2020-05-26 16:04:56', 33, '2020-05-26 16:04:56');
INSERT INTO `cpd_correo_proveedor` VALUES (46, 8, 'tatiana.gavidia@unigasca.com', 1, 33, '2020-05-26 16:07:08', 33, '2020-05-26 16:07:08');
INSERT INTO `cpd_correo_proveedor` VALUES (47, 9, 'evelyn.rauda@codinex.com', 1, 33, '2020-05-26 16:09:06', 33, '2020-05-26 16:09:06');
INSERT INTO `cpd_correo_proveedor` VALUES (48, 14, 'ntercolor.cotizaciones@gmail.com', 1, 33, '2020-05-26 16:28:34', 32, '2020-06-05 11:53:12');
INSERT INTO `cpd_correo_proveedor` VALUES (49, 23, 'lcrespin@tacoplast.com.sv', 1, 33, '2020-05-26 16:36:48', 33, '2020-05-26 16:36:48');
INSERT INTO `cpd_correo_proveedor` VALUES (50, 24, 'ventasdirectas@gruporenderos.com.sv', 1, 33, '2020-05-26 16:42:57', 33, '2020-05-26 16:42:57');
INSERT INTO `cpd_correo_proveedor` VALUES (51, 26, 'rosario.pineda@empresasadoc.com', 1, 33, '2020-05-26 16:55:10', 33, '2020-05-26 16:55:10');
INSERT INTO `cpd_correo_proveedor` VALUES (52, 28, 'dmd@promisa.biz', 1, 33, '2020-05-26 17:11:18', 1, '2022-01-18 11:13:36');
INSERT INTO `cpd_correo_proveedor` VALUES (53, 27, 'a.hernandez@krompac.com.sv', 1, 33, '2020-05-26 17:15:24', 33, '2020-05-26 17:15:24');
INSERT INTO `cpd_correo_proveedor` VALUES (54, 66, 'bessy@smartlogistics.com.sv', 1, 33, '2020-05-26 17:20:22', 33, '2020-05-26 17:20:22');
INSERT INTO `cpd_correo_proveedor` VALUES (55, 51, 'milene@mastroquimica.com.br', 1, 33, '2020-05-26 17:24:14', 33, '2020-05-26 17:24:14');
INSERT INTO `cpd_correo_proveedor` VALUES (56, 84, 'jmontiel@vidri.com.sv', 1, 33, '2020-05-27 11:24:09', 33, '2020-05-27 11:24:09');
INSERT INTO `cpd_correo_proveedor` VALUES (57, 85, 'soyapango@freundsa.com', 1, 33, '2020-05-27 11:34:04', 33, '2020-05-27 11:34:04');
INSERT INTO `cpd_correo_proveedor` VALUES (58, 106, 'dtrejo@naviomar.com.mx', 1, 33, '2020-05-27 11:38:22', 33, '2020-05-27 11:38:22');
INSERT INTO `cpd_correo_proveedor` VALUES (59, 120, 'anaq@supertiendamorena.com', 1, 33, '2020-05-27 12:09:47', 33, '2020-05-27 12:09:47');
INSERT INTO `cpd_correo_proveedor` VALUES (60, 134, 'telesucursal2@econoparts.com.sv', 1, 33, '2020-05-27 12:51:43', 33, '2020-05-27 12:51:43');
INSERT INTO `cpd_correo_proveedor` VALUES (61, 144, 'maple.productosdemadera@gmail.com', 1, 33, '2020-05-27 13:08:12', 33, '2020-05-27 13:08:12');
INSERT INTO `cpd_correo_proveedor` VALUES (62, 147, 'sergio.clavel@printtapes.com.sv', 1, 33, '2020-05-27 14:03:24', 33, '2020-05-27 14:03:24');
INSERT INTO `cpd_correo_proveedor` VALUES (63, 152, 'ingenieria.ventasaranda@gmail.com', 1, 33, '2020-05-27 14:13:51', 33, '2020-05-27 14:13:51');
INSERT INTO `cpd_correo_proveedor` VALUES (64, 153, 'jgarcia@pidelsalvador.com', 1, 33, '2020-05-27 14:16:22', 33, '2020-05-27 14:16:22');
INSERT INTO `cpd_correo_proveedor` VALUES (65, 637, 'cafecoronasv@gmail.com', 1, 6, '2020-05-28 08:54:04', 6, '2020-06-18 12:12:07');
INSERT INTO `cpd_correo_proveedor` VALUES (66, 638, 'asmotostyle@hotmail.com', 1, 6, '2020-05-28 09:00:36', 6, '2020-06-18 12:14:50');
INSERT INTO `cpd_correo_proveedor` VALUES (67, 171, 'vilma.martinez@comisa.com.sv', 1, 33, '2020-05-29 00:00:05', 33, '2020-05-29 00:00:05');
INSERT INTO `cpd_correo_proveedor` VALUES (68, 173, 'joana.borja@guticia.com.sv', 1, 33, '2020-05-29 00:01:24', 33, '2020-05-29 00:01:24');
INSERT INTO `cpd_correo_proveedor` VALUES (69, 197, 'rabida@unillantas.com.sv', 1, 33, '2020-05-29 00:05:46', 33, '2020-05-29 00:05:46');
INSERT INTO `cpd_correo_proveedor` VALUES (70, 548, 'rodrigo.jimenez@msc.com', 1, 33, '2020-06-01 14:05:12', 33, '2020-06-01 14:05:12');
INSERT INTO `cpd_correo_proveedor` VALUES (71, 494, 'mgo@sv.pcscentralamerica.com', 1, 33, '2020-06-01 14:06:52', 33, '2020-06-01 14:06:52');
INSERT INTO `cpd_correo_proveedor` VALUES (72, 481, 'servicioalcliente2.ticamex@gmail.com', 1, 33, '2020-06-01 14:08:22', 33, '2020-06-01 14:08:22');
INSERT INTO `cpd_correo_proveedor` VALUES (73, 487, 'erickmelendez@fadco.com.sv', 1, 33, '2020-06-01 14:10:26', 33, '2020-06-01 14:10:26');
INSERT INTO `cpd_correo_proveedor` VALUES (74, 462, 'egonzalezo@pochteca.com.mx', 1, 33, '2020-06-01 14:13:05', 33, '2020-06-01 14:13:05');
INSERT INTO `cpd_correo_proveedor` VALUES (75, 458, 'guillermo.salinas@lubrimotors.com.sv', 1, 33, '2020-06-01 14:14:20', 33, '2020-06-01 14:14:20');
INSERT INTO `cpd_correo_proveedor` VALUES (76, 207, 'SOYAPANGO@superrepuestos.com.sv', 1, 33, '2020-06-01 14:15:56', 33, '2020-06-01 14:15:56');
INSERT INTO `cpd_correo_proveedor` VALUES (77, 237, 'carlos@gruposumifer.com', 1, 33, '2020-06-01 14:18:24', 33, '2020-06-01 14:18:24');
INSERT INTO `cpd_correo_proveedor` VALUES (78, 243, 'ventas7@ancora.com.sv', 1, 33, '2020-06-01 14:19:30', 33, '2020-06-01 14:19:30');
INSERT INTO `cpd_correo_proveedor` VALUES (79, 277, 'melendezernesto70@yahoo.com', 1, 33, '2020-06-01 14:27:08', 33, '2020-06-01 14:27:08');
INSERT INTO `cpd_correo_proveedor` VALUES (80, 279, 'monica.canas@transmaressal.com', 1, 33, '2020-06-01 14:28:12', 33, '2020-06-01 14:28:12');
INSERT INTO `cpd_correo_proveedor` VALUES (81, 281, 'mario.e.sanchez@rrd.com', 1, 33, '2020-06-01 14:29:33', 33, '2020-06-01 14:29:33');
INSERT INTO `cpd_correo_proveedor` VALUES (82, 284, 'rubenortegatransporte@gmail.com', 1, 33, '2020-06-01 14:30:48', 33, '2020-06-01 14:30:48');
INSERT INTO `cpd_correo_proveedor` VALUES (83, 288, 'colmedo@basculasybalanzassv.com', 1, 33, '2020-06-01 14:32:05', 33, '2020-06-01 14:32:05');
INSERT INTO `cpd_correo_proveedor` VALUES (84, 301, 'fcastro@mnf.com.sv', 1, 33, '2020-06-01 14:33:49', 33, '2020-06-01 14:33:49');
INSERT INTO `cpd_correo_proveedor` VALUES (85, 317, 'gerencia1systech@gmail.com', 1, 33, '2020-06-01 14:35:21', 33, '2020-06-01 14:35:21');
INSERT INTO `cpd_correo_proveedor` VALUES (86, 327, 'karenvillalobos.elprogreso@gmail.com', 1, 33, '2020-06-01 14:36:26', 33, '2020-06-01 14:36:26');
INSERT INTO `cpd_correo_proveedor` VALUES (87, 333, 'melendez.ferrocentro@gmail.com', 1, 33, '2020-06-01 14:39:09', 33, '2020-06-01 14:39:09');
INSERT INTO `cpd_correo_proveedor` VALUES (88, 344, 'aduana11@caexlogistics.com', 1, 33, '2020-06-01 14:42:44', 33, '2020-06-01 14:42:44');
INSERT INTO `cpd_correo_proveedor` VALUES (89, 388, 'rosahorellana.m@hotmail.com', 1, 33, '2020-06-01 14:44:43', 33, '2020-06-01 14:44:43');
INSERT INTO `cpd_correo_proveedor` VALUES (90, 646, 'hotelflorencia06@yahoo.es', 1, 6, '2020-06-01 22:45:23', 6, '2020-06-18 12:29:29');
INSERT INTO `cpd_correo_proveedor` VALUES (91, 660, 'manrriquegomez@gmail.com', 1, 6, '2020-06-11 12:44:42', 6, '2020-06-11 12:44:42');
INSERT INTO `cpd_correo_proveedor` VALUES (92, 660, 'auxiliarcontable2@pinsal.com.sv', 1, 6, '2020-06-11 12:44:42', 6, '2020-06-11 12:44:42');
INSERT INTO `cpd_correo_proveedor` VALUES (93, 664, 'agrinsa@gamail.com', 1, 43, '2020-10-30 14:04:59', 43, '2020-10-30 14:04:59');
INSERT INTO `cpd_correo_proveedor` VALUES (94, 665, 'hr.papelera@gmail.com', 1, 43, '2020-11-03 11:57:12', 43, '2020-11-03 11:57:12');
INSERT INTO `cpd_correo_proveedor` VALUES (95, 667, 'ventas@sasicasa.com', 1, 43, '2020-11-26 13:04:52', 43, '2020-11-26 13:04:52');
INSERT INTO `cpd_correo_proveedor` VALUES (96, 670, 'info@hame.com', 1, 1, '2024-07-09 10:11:20', 1, '2024-07-09 10:11:20');

-- ----------------------------
-- Table structure for cpe_capacitacion_empleado
-- ----------------------------
CREATE TABLE `cpe_capacitacion_empleado`  (
  `cpe_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de capacitación por empleado',
  `cpe_id_emp` int(11) NOT NULL COMMENT 'Id de Empleado',
  `cpe_id_ese` int(11) NULL DEFAULT NULL COMMENT 'Llave principal del estado de estudio',
  `cpe_id_icp` int(11) NULL DEFAULT NULL COMMENT 'Llave principal del institucion que imparte capacitacion',
  `cpe_nombre` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre de la capacitación',
  `cpe_duracion` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Duración de la capacitación (horas)',
  `cpe_costo_empresa` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Costo de la empresa',
  `cpe_costo_insaforp` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Costo de insaforp',
  `cpe_costo_proveedor` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Costo de proveedor',
  `cpe_fecha_inicio` datetime NULL DEFAULT NULL COMMENT 'Fecha de inicio',
  `cpe_fecha_fin` datetime NULL DEFAULT NULL COMMENT 'Fecha de fin',
  `cpe_estado` int(11) NOT NULL COMMENT 'Estado de registro (1=activo, 0=inactivo)',
  `cpe_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `cpe_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `cpe_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `cpe_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`cpe_id`) USING BTREE,
  INDEX `fk_cpe_id_emp`(`cpe_id_emp` ASC) USING BTREE,
  INDEX `fk_cpe_id_ese`(`cpe_id_ese` ASC) USING BTREE,
  INDEX `fk_cpe_id_icp`(`cpe_id_icp` ASC) USING BTREE,
  CONSTRAINT `fk_cpe_id_emp` FOREIGN KEY (`cpe_id_emp`) REFERENCES `emp_empleado` (`emp_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cpe_id_ese` FOREIGN KEY (`cpe_id_ese`) REFERENCES `ese_estado_estudio` (`ese_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cpe_id_icp` FOREIGN KEY (`cpe_id_icp`) REFERENCES `icp_institucion_capacitacion` (`icp_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cpe_capacitacion_empleado
-- ----------------------------
INSERT INTO `cpe_capacitacion_empleado` VALUES (1, 91, 3, 16, 'Curso especializado en robotico  ', 0.00, 0.00, 0.00, 0.00, '2024-01-01 00:00:00', '2024-01-31 00:00:00', 1, 1, '2024-01-10 10:53:34', 1, '2024-01-10 10:53:34');

-- ----------------------------
-- Table structure for cpg_configuracion_pago_grupo
-- ----------------------------
CREATE TABLE `cpg_configuracion_pago_grupo`  (
  `cpg_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de configuración pago grupo',
  `cpg_id_gra` int(11) NOT NULL COMMENT 'codigo de grupo academica',
  `cpg_id_tpl` int(11) NOT NULL COMMENT 'Id tipo de planilla',
  `cpg_id_tbe` int(11) NULL DEFAULT NULL COMMENT 'Llave primaria de tabla de escalafon',
  `cpg_id_usu` int(11) NOT NULL COMMENT 'Llave principal de Usuario. (quien hace el registro)',
  `cpg_fecha_registro` datetime NOT NULL COMMENT 'Fecha de Registro',
  `cpg_tipo_pago` tinyint(4) NULL DEFAULT NULL COMMENT 'Tipo de pago 0 o null = no pago (docente de planta), 1=Según grupo, 2=Según Escalafón de docente',
  `cpg_valor_hora` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Valor de hora para el grupo',
  `cpg_observacion` varchar(500) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'Observacion',
  `cpg_estado` tinyint(4) NOT NULL COMMENT 'Estado del registro 1=activo, 0=inactivo',
  `cpg_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `cpg_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `cpg_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `cpg_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`cpg_id`) USING BTREE,
  INDEX `fk_cpg_id_gra`(`cpg_id_gra` ASC) USING BTREE,
  INDEX `fk_cpg_id_tbe`(`cpg_id_tbe` ASC) USING BTREE,
  INDEX `fk_cpg_id_tpl`(`cpg_id_tpl` ASC) USING BTREE,
  INDEX `fk_cpg_id_usu`(`cpg_id_usu` ASC) USING BTREE,
  CONSTRAINT `fk_cpg_id_gra` FOREIGN KEY (`cpg_id_gra`) REFERENCES `gra_grupo_academico` (`gra_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cpg_id_tbe` FOREIGN KEY (`cpg_id_tbe`) REFERENCES `tbe_tabla_escalafon` (`tbe_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cpg_id_tpl` FOREIGN KEY (`cpg_id_tpl`) REFERENCES `tpl_tipo_planilla` (`tpl_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cpg_id_usu` FOREIGN KEY (`cpg_id_usu`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = latin1 COLLATE = latin1_swedish_ci COMMENT = 'Configuración de pago al grupo' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cpg_configuracion_pago_grupo
-- ----------------------------

-- ----------------------------
-- Table structure for cpi_color_piel
-- ----------------------------
CREATE TABLE `cpi_color_piel`  (
  `cpi_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal del registro del color de piel',
  `cpi_codigo` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'Campo para registrar el codigo',
  `cpi_color_piel` varchar(300) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'Campo para registrar el color de piel',
  `cpi_estado` tinyint(4) NOT NULL COMMENT 'Estado del registro (0 = Inactivo y 1 = Activo )',
  `cpi_usu_creacion` int(11) NOT NULL COMMENT 'Auditoría',
  `cpi_usu_modificacion` int(11) NOT NULL COMMENT 'Auditoría',
  `cpi_fecha_creacion` datetime NOT NULL COMMENT 'Auditoría',
  `cpi_fecha_modificacion` datetime NOT NULL COMMENT 'Auditoría',
  PRIMARY KEY (`cpi_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = latin1 COLLATE = latin1_swedish_ci COMMENT = 'Tabla Catalogo para registrar los colores de piel que puede existir para un paciente' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cpi_color_piel
-- ----------------------------

-- ----------------------------
-- Table structure for cpl_cuota_plan_pago
-- ----------------------------
CREATE TABLE `cpl_cuota_plan_pago`  (
  `cpl_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave primaria - Cuota',
  `cpl_id_plg` int(11) NOT NULL COMMENT 'Llave principal - Plan de pagos',
  `cpl_numero` int(11) NOT NULL COMMENT 'Numero de Cuota',
  `cpl_monto` decimal(19, 2) NOT NULL COMMENT 'Monto de plan de pagos',
  `cpl_interes` decimal(19, 2) NOT NULL COMMENT 'Monto de intereses',
  `cpl_total` decimal(19, 2) NOT NULL COMMENT 'Total de cuota',
  `cpl_fecha_vencimiento` date NOT NULL COMMENT 'Fecha de vencimiento de cuota',
  `cpl_estado` int(11) NOT NULL DEFAULT 0 COMMENT '2= Cancelada  1 = Pendiente, 0 = Anulado',
  `cpl_fecha_mod` datetime NOT NULL COMMENT 'Auditoría',
  `cpl_user_mod` int(11) NOT NULL COMMENT 'Auditoría',
  `cpl_usu_crea` int(11) NOT NULL COMMENT 'Auditoría',
  `cpl_fecha_crea` datetime NOT NULL COMMENT 'Auditoría',
  PRIMARY KEY (`cpl_id`) USING BTREE,
  INDEX `fk_cpl_id_plg`(`cpl_id_plg` ASC) USING BTREE,
  CONSTRAINT `fk_cpl_id_plg` FOREIGN KEY (`cpl_id_plg`) REFERENCES `plg_plan_pago` (`plg_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Cuotas de Plan de Pago' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cpl_cuota_plan_pago
-- ----------------------------

-- ----------------------------
-- Table structure for cpr_cuenta_presupuesto
-- ----------------------------
CREATE TABLE `cpr_cuenta_presupuesto`  (
  `cpr_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador unico',
  `cpr_numero` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Numero de cuenta',
  `cpr_rubro` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL,
  `cpr_cuenta` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL,
  `cpr_nombre` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre de la cuenta',
  `cpr_desc` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL,
  `cpr_padre` int(11) NULL DEFAULT NULL COMMENT 'Padre de la cuenta (gerarquia)',
  PRIMARY KEY (`cpr_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Cuentas Presupuestarias' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cpr_cuenta_presupuesto
-- ----------------------------

-- ----------------------------
-- Table structure for cps_certificacion_programa_solicitante
-- ----------------------------
CREATE TABLE `cps_certificacion_programa_solicitante`  (
  `cps_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave primaria de Certificaciones de equipos y programas por solicitante',
  `cps_id_sle` int(11) NOT NULL COMMENT 'Llave principal de Solicitante Empleo',
  `cps_id_peq` int(11) NULL DEFAULT NULL COMMENT 'Llave principal del equipo/programa',
  `cps_id_cer` int(11) NULL DEFAULT NULL COMMENT 'Llave principal certificación',
  `cps_id_icp` int(11) NULL DEFAULT NULL COMMENT 'Llave principal del institucion que imparte capacitacion',
  `cps_id_mde` int(11) NULL DEFAULT NULL COMMENT 'Llave principal de modalidad de estudio',
  `cps_puntaje` decimal(19, 2) NOT NULL COMMENT 'Puntaje obtenido',
  `cps_fecha_certificacion` datetime NOT NULL COMMENT 'Fecha de la certificación',
  `cps_estado` int(11) NOT NULL COMMENT 'Estado de registro (1=activo, 0=inactivo)',
  `cps_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `cps_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `cps_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `cps_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`cps_id`) USING BTREE,
  INDEX `fk_cps_id_cer`(`cps_id_cer` ASC) USING BTREE,
  INDEX `fk_cps_id_icp`(`cps_id_icp` ASC) USING BTREE,
  INDEX `fk_cps_id_mde`(`cps_id_mde` ASC) USING BTREE,
  INDEX `fk_cps_id_peq`(`cps_id_peq` ASC) USING BTREE,
  INDEX `fk_cps_id_sle`(`cps_id_sle` ASC) USING BTREE,
  CONSTRAINT `fk_cps_id_cer` FOREIGN KEY (`cps_id_cer`) REFERENCES `cer_certificacion` (`cer_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cps_id_icp` FOREIGN KEY (`cps_id_icp`) REFERENCES `icp_institucion_capacitacion` (`icp_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cps_id_mde` FOREIGN KEY (`cps_id_mde`) REFERENCES `mde_modalidad_estudio` (`mde_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cps_id_peq` FOREIGN KEY (`cps_id_peq`) REFERENCES `peq_programa_equipo` (`peq_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cps_id_sle` FOREIGN KEY (`cps_id_sle`) REFERENCES `sle_solicitante_empleo` (`sle_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = latin1 COLLATE = latin1_swedish_ci COMMENT = 'Certificación de programas y equipos(maquinas) por solicitan' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cps_certificacion_programa_solicitante
-- ----------------------------

-- ----------------------------
-- Table structure for cpt_contacto_paciente
-- ----------------------------
CREATE TABLE `cpt_contacto_paciente`  (
  `cpt_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de seguro de paciente',
  `cpt_id_tit` int(11) NULL DEFAULT NULL COMMENT 'Llave primaria - Tipo de Telefono',
  `cpt_id_epp` int(11) NOT NULL COMMENT 'Llave principal de Expediente de paciente',
  `cpt_nombre` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre',
  `cpt_telefono` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Telefono',
  `cpt_observacion` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Observacion',
  `cpt_estado` tinyint(4) NOT NULL DEFAULT 1 COMMENT 'estado del registro 1=activo, 0=inactivo',
  `cpt_usu_creacion` int(11) NOT NULL COMMENT 'Auditoria',
  `cpt_fecha_creacion` datetime NOT NULL COMMENT 'Auditoria',
  `cpt_usu_modificacion` int(11) NOT NULL COMMENT 'Auditoria',
  `cpt_fecha_modificacion` datetime NOT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`cpt_id`) USING BTREE,
  INDEX `fk_cpt_id_epp`(`cpt_id_epp` ASC) USING BTREE,
  INDEX `fk_cpt_id_tit`(`cpt_id_tit` ASC) USING BTREE,
  CONSTRAINT `fk_cpt_id_epp` FOREIGN KEY (`cpt_id_epp`) REFERENCES `epp_expediente_paciente` (`epp_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cpt_id_tit` FOREIGN KEY (`cpt_id_tit`) REFERENCES `tit_tipo_telefono` (`tit_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = latin1 COLLATE = latin1_swedish_ci COMMENT = 'Entidad - Contactos pacientes' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cpt_contacto_paciente
-- ----------------------------
INSERT INTO `cpt_contacto_paciente` VALUES (1, 4, 3, 'JUAN  PEREZ', '222222222222222222222222222222222222222', '', 1, 49, '2024-07-29 04:43:47', 49, '2024-07-29 04:43:47');
INSERT INTO `cpt_contacto_paciente` VALUES (2, 2, 3, 'KKHHJJ', '444444444444444444444444444444444444444', '', 1, 49, '2024-07-29 04:43:47', 49, '2024-07-29 04:43:47');

-- ----------------------------
-- Table structure for cpv_contacto_prov
-- ----------------------------
CREATE TABLE `cpv_contacto_prov`  (
  `cpv_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Codigo de contacto',
  `cpv_id_prv` int(11) NULL DEFAULT NULL COMMENT 'Codigo de proveedor',
  `cpv_nombre` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombres de contactos',
  `cpv_apellidos` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Apellidos de contacto',
  `cpv_cargo` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Cargo del contacto',
  `cpv_telefono` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Telefono de contacto',
  `cpv_email` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Correo electronico',
  `cpv_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `cpv_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `cpv_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `cpv_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  `cpv_estado` int(11) NOT NULL COMMENT 'estado de registro',
  PRIMARY KEY (`cpv_id`) USING BTREE,
  INDEX `fk_cpv_id_prv`(`cpv_id_prv` ASC) USING BTREE,
  CONSTRAINT `cpv_id_prv` FOREIGN KEY (`cpv_id_prv`) REFERENCES `prv_proveedor` (`prv_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Catalogo de contactos' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cpv_contacto_prov
-- ----------------------------
INSERT INTO `cpv_contacto_prov` VALUES (1, 129, 'Lucia', 'Sandoval', 'Gerente', '25002533', 'lucis@gmail.com', 1, 1, '2019-09-20 15:05:12', '2019-09-20 15:05:12', 1);
INSERT INTO `cpv_contacto_prov` VALUES (2, 37, 'Otoniel ', 'Rivera', 'Produccion', '(502) 22191424', 'inconplast@gmail.com', 33, 33, '2020-05-18 12:21:42', '2020-05-18 12:21:42', 1);
INSERT INTO `cpv_contacto_prov` VALUES (3, 30, 'Mario ', 'Sandoval', 'Ventas', '3020 3011', 'msl@chemo.com', 33, 33, '2020-05-18 12:31:53', '2020-05-18 12:31:53', 1);
INSERT INTO `cpv_contacto_prov` VALUES (4, 31, 'Julieta', 'Medina', 'Ejecutiva de Ventas', '22247800', 'julieta.medina@resoco.com', 33, 33, '2020-05-21 19:12:46', '2020-05-21 19:12:46', 1);
INSERT INTO `cpv_contacto_prov` VALUES (5, 635, 'MARIA JEANNETTE ', 'DE CORDERO', 'PROPIETARIA', '7720-7906', 'jeannycordero@hotmail.com', 32, 6, '2020-05-26 13:55:02', '2020-06-18 11:55:02', 1);
INSERT INTO `cpv_contacto_prov` VALUES (6, 28, 'Mario ', 'Alvarado', 'Encargado de ventas', NULL, NULL, 1, 1, '2022-01-18 11:13:36', '2022-01-18 11:13:36', 1);
INSERT INTO `cpv_contacto_prov` VALUES (7, 668, 'Kevin', 'Smitt', NULL, '22000000', NULL, 1, 1, '2023-01-18 16:58:49', '2023-01-18 16:58:49', 1);
INSERT INTO `cpv_contacto_prov` VALUES (8, 670, 'Carlos ', 'granados', 'Despacho', '7778798', 'carlos@hame.com', 1, 1, '2024-07-09 10:11:20', '2024-07-09 10:11:20', 1);

-- ----------------------------
-- Table structure for cpz_competencia_plaza
-- ----------------------------
CREATE TABLE `cpz_competencia_plaza`  (
  `cpz_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de la competencia por plaza',
  `cpz_id_plz` int(11) NOT NULL COMMENT 'llave de primaria del registro',
  `cpz_id_com` int(11) NOT NULL COMMENT 'Llave principal de la competencia',
  `cpz_id_cls` int(11) NOT NULL COMMENT 'Llave principal de la clasificación',
  `cpz_estado` tinyint(4) NOT NULL COMMENT 'Estado del registro 1=Activo, 0=Inactivo',
  `cpz_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `cpz_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `cpz_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `cpz_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`cpz_id`) USING BTREE,
  INDEX `fk_cpz_id_cls`(`cpz_id_cls` ASC) USING BTREE,
  INDEX `fk_cpz_id_com`(`cpz_id_com` ASC) USING BTREE,
  INDEX `fk_cpz_id_plz`(`cpz_id_plz` ASC) USING BTREE,
  CONSTRAINT `fk_cpz_id_cls` FOREIGN KEY (`cpz_id_cls`) REFERENCES `cls_clasificacion` (`cls_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cpz_id_com` FOREIGN KEY (`cpz_id_com`) REFERENCES `com_competencia` (`com_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cpz_id_plz` FOREIGN KEY (`cpz_id_plz`) REFERENCES `plz_plaza` (`plz_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Competencias' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cpz_competencia_plaza
-- ----------------------------

-- ----------------------------
-- Table structure for cqc_comprobante_liquidacion_caja
-- ----------------------------
CREATE TABLE `cqc_comprobante_liquidacion_caja`  (
  `cqc_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal comprobante de liquidacion de caja chica',
  `cqc_id_prv` int(11) NULL DEFAULT NULL COMMENT 'Llave primaria de proveedor',
  `cqc_id_tpv` int(11) NULL DEFAULT NULL COMMENT 'Llave principal de tipo de venta',
  `cqc_id_tif` int(11) NULL DEFAULT NULL COMMENT 'Llave pricnipal de tipo de factura',
  `cqc_id_lcc` int(11) NOT NULL COMMENT 'Llave principal de liquidación de caja chica',
  `cqc_id_dpv` int(11) NULL DEFAULT NULL COMMENT 'Llave principal de documento proveedor (cuando depende de un documento de proveedor)',
  `cqc_id_cjc` int(11) NULL DEFAULT NULL COMMENT 'Llave principal de cierre de caja chica',
  `cqc_id_tmt` int(11) NULL DEFAULT NULL COMMENT 'Llave principal de tipo de monto',
  `cqc_numero_documento` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Número de documento',
  `cqc_nrc` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Codigo nrc',
  `cqc_concepto` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Codigo nrc',
  `cqc_fecha_documento` datetime NULL DEFAULT NULL COMMENT 'Fecha de documento',
  `cqc_fecha_contabilizacion` datetime NULL DEFAULT NULL COMMENT 'Fecha de contabilización',
  `cqc_cantidad` decimal(19, 2) NULL DEFAULT 1.00 COMMENT 'Cantidad items',
  `cqc_tipo_monto` tinyint(4) NULL DEFAULT NULL COMMENT '1 = importacion, 2 = internacion, 0 o null = no determinado',
  `cqc_impuesto` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Total de impuesto',
  `cqc_retencion` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Total de Retenciones',
  `cqc_monto` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Monto comprobante',
  `cqc_total` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Monto total de comprobante',
  `cqc_liquidado_cierre` tinyint(4) NULL DEFAULT NULL COMMENT 'Indicar si para el registro ya se ejecuto el cierre 1=si, 0 o NULL=no',
  `cqc_estado` tinyint(4) NOT NULL COMMENT 'Estado del registro 1=activo, 0=inactivo',
  `cqc_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `cqc_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `cqc_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `cqc_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`cqc_id`) USING BTREE,
  INDEX `fk_cqc_id_cjc`(`cqc_id_cjc` ASC) USING BTREE,
  INDEX `fk_cqc_id_dpv`(`cqc_id_dpv` ASC) USING BTREE,
  INDEX `fk_cqc_id_lcc`(`cqc_id_lcc` ASC) USING BTREE,
  INDEX `fk_cqc_id_prv`(`cqc_id_prv` ASC) USING BTREE,
  INDEX `fk_cqc_id_tif`(`cqc_id_tif` ASC) USING BTREE,
  INDEX `fk_cqc_id_tpv`(`cqc_id_tpv` ASC) USING BTREE,
  INDEX `fk_cqc_id_tmt`(`cqc_id_tmt` ASC) USING BTREE,
  CONSTRAINT `fk_cqc_id_cjc` FOREIGN KEY (`cqc_id_cjc`) REFERENCES `cjc_cierre_caja_chica` (`cjc_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cqc_id_dpv` FOREIGN KEY (`cqc_id_dpv`) REFERENCES `dpv_documento_proveedor` (`dpv_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cqc_id_lcc` FOREIGN KEY (`cqc_id_lcc`) REFERENCES `lcc_liquidacion_caja_chica` (`lcc_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cqc_id_prv` FOREIGN KEY (`cqc_id_prv`) REFERENCES `prv_proveedor` (`prv_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cqc_id_tif` FOREIGN KEY (`cqc_id_tif`) REFERENCES `tif_tipo_factura` (`tif_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cqc_id_tmt` FOREIGN KEY (`cqc_id_tmt`) REFERENCES `tmt_tipo_monto` (`tmt_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cqc_id_tpv` FOREIGN KEY (`cqc_id_tpv`) REFERENCES `tpv_tipo_venta` (`tpv_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cqc_comprobante_liquidacion_caja
-- ----------------------------
INSERT INTO `cqc_comprobante_liquidacion_caja` VALUES (1, 671, NULL, 1, 2, 26, NULL, NULL, '`21212121', NULL, NULL, '2024-08-14 00:00:00', '2024-08-14 00:00:00', 1.00, NULL, 65.00, 0.00, 500.00, 565.00, 1, 1, 1, '2024-08-14 12:03:42', 1, '2024-08-14 12:03:42');
INSERT INTO `cqc_comprobante_liquidacion_caja` VALUES (2, 671, NULL, 1, 3, 27, NULL, NULL, '3333333', NULL, NULL, '2024-08-14 00:00:00', '2024-08-14 00:00:00', 1.00, NULL, 0.00, 0.00, 300.00, 300.00, NULL, 1, 1, '2024-08-14 12:16:53', 1, '2024-08-14 12:16:53');

-- ----------------------------
-- Table structure for cra_cursograma_analitico
-- ----------------------------
CREATE TABLE `cra_cursograma_analitico`  (
  `cra_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de Cursograma analitico',
  `cra_id_art` int(11) NOT NULL COMMENT 'Llave principal de articulos',
  `cra_codigo` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Código',
  `cra_actividad` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Actividad',
  `cra_lugar` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Lugar',
  `cra_fecha` datetime NULL DEFAULT NULL COMMENT 'fecha',
  `cra_estado` tinyint(4) NOT NULL COMMENT 'estado del registro 1=activo, 0=inactivo',
  `cra_usu_creacion` int(11) NOT NULL COMMENT 'Auditoria',
  `cra_fecha_creacion` datetime NOT NULL COMMENT 'Auditoria',
  `cra_usu_modificacion` int(11) NOT NULL COMMENT 'Auditoria',
  `cra_fecha_modificacion` datetime NOT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`cra_id`) USING BTREE,
  INDEX `fk_cra_id_art`(`cra_id_art` ASC) USING BTREE,
  CONSTRAINT `fk_cra_id_art` FOREIGN KEY (`cra_id_art`) REFERENCES `art_articulo` (`art_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Cursograma Análitico del producto' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cra_cursograma_analitico
-- ----------------------------

-- ----------------------------
-- Table structure for crc_correlativo_cortexcaja
-- ----------------------------
CREATE TABLE `crc_correlativo_cortexcaja`  (
  `crc_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'LLave principal de correlativos usados por corte',
  `crc_id_uxc` int(11) NOT NULL COMMENT 'Id de Asignacion de Caja',
  `crc_id_cof` int(11) NULL DEFAULT NULL COMMENT 'llave primaria- Correlativo de documentos',
  `crc_id_tif` int(11) NULL DEFAULT NULL COMMENT 'Llave pricnipal de tipo de factura',
  `crc_id_fac` int(11) NULL DEFAULT NULL COMMENT 'Llave  principal de facturacion (utilizando para la impresión del corte)',
  `crc_correlativo_inicio` int(11) NULL DEFAULT NULL COMMENT 'Inicio de correlativos utilizados',
  `crc_correlativo_fin` int(11) NULL DEFAULT NULL COMMENT 'Fin de correlativos utilizados',
  `crc_fac_utilizada` int(11) NOT NULL COMMENT 'Numero de facturas utilizadas',
  `crc_descripcion` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Descripción general del registro',
  `crc_estado` tinyint(4) NOT NULL COMMENT '1=activo, 0=inactivo',
  `crc_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `crc_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `crc_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `crc_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`crc_id`) USING BTREE,
  INDEX `fk_crc_id_cof`(`crc_id_cof` ASC) USING BTREE,
  INDEX `fk_crc_id_tif`(`crc_id_tif` ASC) USING BTREE,
  INDEX `fk_crc_id_uxc`(`crc_id_uxc` ASC) USING BTREE,
  INDEX `fk_crc_id_fac`(`crc_id_fac` ASC) USING BTREE,
  CONSTRAINT `fk_crc_id_cof` FOREIGN KEY (`crc_id_cof`) REFERENCES `cof_correlativo_factura` (`cof_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_crc_id_fac` FOREIGN KEY (`crc_id_fac`) REFERENCES `fac_factura` (`fac_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_crc_id_tif` FOREIGN KEY (`crc_id_tif`) REFERENCES `tif_tipo_factura` (`tif_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_crc_id_uxc` FOREIGN KEY (`crc_id_uxc`) REFERENCES `uxc_usuarioxcaja` (`uxc_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 223 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of crc_correlativo_cortexcaja
-- ----------------------------
INSERT INTO `crc_correlativo_cortexcaja` VALUES (1, 1, 2, 2, NULL, 1, 3, 3, NULL, 1, 7, '2019-07-12 09:28:59', 7, '2019-07-12 09:28:59');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (2, 5, 2, 2, NULL, 4, 5, 2, NULL, 1, 1, '2019-07-30 13:50:10', 1, '2019-07-30 13:50:10');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (3, 5, 3, 3, NULL, 1214, 1214, 1, NULL, 1, 1, '2019-07-30 13:50:10', 1, '2019-07-30 13:50:10');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (4, 7, 3, 3, NULL, 1215, 1215, 1, NULL, 1, 1, '2019-08-09 08:59:13', 1, '2019-08-09 08:59:13');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (5, 11, 1, 1, NULL, 1, 1, 1, NULL, 1, 1, '2019-08-20 15:34:01', 1, '2019-08-20 15:34:01');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (6, 14, 1, 1, NULL, 2, 5, 4, NULL, 1, 7, '2019-08-22 08:45:58', 7, '2019-08-22 08:45:58');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (7, 14, 2, 3, NULL, 6, 6, 1, NULL, 1, 7, '2019-08-22 08:45:58', 7, '2019-08-22 08:45:58');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (8, 17, 1, 1, NULL, 6, 7, 2, NULL, 1, 7, '2019-08-22 14:22:17', 7, '2019-08-22 14:22:17');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (9, 17, 2, 3, NULL, 7, 10, 4, NULL, 1, 7, '2019-08-22 14:22:17', 7, '2019-08-22 14:22:17');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (10, 19, 1, 1, NULL, 8, 8, 1, NULL, 1, 5, '2019-08-22 15:31:15', 5, '2019-08-22 15:31:15');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (11, 19, 2, 3, NULL, 11, 11, 1, NULL, 1, 5, '2019-08-22 15:31:15', 5, '2019-08-22 15:31:15');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (12, 23, 1, 1, NULL, 9, 9, 1, NULL, 1, 5, '2019-08-22 15:54:35', 5, '2019-08-22 15:54:35');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (13, 23, 2, 3, NULL, 12, 12, 1, NULL, 1, 5, '2019-08-22 15:54:35', 5, '2019-08-22 15:54:35');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (14, 27, 1, 1, NULL, 10, 12, 3, NULL, 1, 5, '2019-08-23 10:21:55', 5, '2019-08-23 10:21:55');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (15, 27, 2, 3, NULL, 13, 15, 3, NULL, 1, 5, '2019-08-23 10:21:55', 5, '2019-08-23 10:21:55');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (16, 36, 1, 1, NULL, 13, 15, 3, NULL, 1, 1, '2019-08-27 15:44:46', 1, '2019-08-27 15:44:46');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (17, 43, 1, 1, NULL, 16, 18, 3, NULL, 1, 7, '2019-08-29 11:09:41', 7, '2019-08-29 11:09:41');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (18, 45, 2, 3, NULL, 16, 16, 1, NULL, 1, 7, '2019-09-02 13:50:45', 7, '2019-09-02 13:50:45');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (19, 47, 2, 3, NULL, 17, 17, 1, NULL, 1, 7, '2019-09-04 17:00:38', 7, '2019-09-04 17:00:38');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (20, 50, 2, 3, NULL, 18, 20, 3, NULL, 1, 8, '2019-09-04 18:20:25', 8, '2019-09-04 18:20:25');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (21, 52, 1, 1, NULL, 19, 20, 2, NULL, 1, 8, '2019-09-10 17:39:35', 8, '2019-09-10 17:39:35');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (22, 54, 1, 1, NULL, 21, 22, 2, NULL, 1, 8, '2019-09-10 19:46:57', 8, '2019-09-10 19:46:57');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (23, 56, 1, 1, NULL, 23, 31, 9, NULL, 1, 7, '2019-09-11 19:05:38', 7, '2019-09-11 19:05:38');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (24, 56, 2, 3, NULL, 21, 22, 2, NULL, 1, 7, '2019-09-11 19:05:38', 7, '2019-09-11 19:05:38');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (25, 41, 7, 3, NULL, 1, 4, 4, NULL, 1, 1, '2019-09-12 17:17:30', 1, '2019-09-12 17:17:30');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (26, 59, 4, 2, NULL, 1, 2, 2, NULL, 1, 7, '2019-09-12 19:23:37', 7, '2019-09-12 19:23:37');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (27, 59, 5, 4, NULL, 1, 2, 2, NULL, 1, 7, '2019-09-12 19:23:37', 7, '2019-09-12 19:23:37');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (28, 59, 7, 3, NULL, 5, 5, 1, NULL, 1, 7, '2019-09-12 19:23:37', 7, '2019-09-12 19:23:37');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (29, 63, 4, 2, NULL, 21, 21, 1, NULL, 1, 7, '2019-09-17 17:57:51', 7, '2019-09-17 17:57:51');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (30, 68, 4, 2, NULL, 22, 24, 3, NULL, 1, 8, '2019-09-18 17:24:30', 8, '2019-09-18 17:24:30');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (31, 68, 5, 4, NULL, 3, 3, 1, NULL, 1, 8, '2019-09-18 17:24:30', 8, '2019-09-18 17:24:30');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (32, 70, 1, 1, NULL, 32, 34, 3, NULL, 1, 8, '2019-09-20 11:05:31', 8, '2019-09-20 11:05:31');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (33, 70, 2, 3, NULL, 23, 24, 2, NULL, 1, 8, '2019-09-20 11:05:31', 8, '2019-09-20 11:05:31');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (34, 74, 1, 1, NULL, 35, 36, 2, NULL, 1, 8, '2019-09-26 17:39:13', 8, '2019-09-26 17:39:13');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (35, 74, 2, 3, NULL, 25, 25, 1, NULL, 1, 8, '2019-09-26 17:39:13', 8, '2019-09-26 17:39:13');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (36, 76, 1, 1, NULL, 37, 39, 3, NULL, 1, 8, '2019-10-02 10:14:13', 8, '2019-10-02 10:14:13');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (37, 76, 2, 3, NULL, 26, 34, 9, NULL, 1, 8, '2019-10-02 10:14:13', 8, '2019-10-02 10:14:13');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (38, 78, 6, 5, NULL, 1, 1, 1, NULL, 1, 7, '2019-10-02 18:09:18', 7, '2019-10-02 18:09:18');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (39, 80, 1, 1, NULL, 40, 45, 6, NULL, 1, 8, '2019-10-08 17:06:15', 8, '2019-10-08 17:06:15');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (40, 80, 3, 7, NULL, 1216, 1216, 1, NULL, 1, 8, '2019-10-08 17:06:15', 8, '2019-10-08 17:06:15');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (41, 84, 1, 1, NULL, 46, 46, 1, NULL, 1, 8, '2019-10-08 19:55:31', 8, '2019-10-08 19:55:31');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (42, 84, 2, 3, NULL, 35, 35, 1, NULL, 1, 8, '2019-10-08 19:55:31', 8, '2019-10-08 19:55:31');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (43, 86, 1, 1, NULL, 47, 47, 1, NULL, 1, 1, '2019-10-10 16:32:09', 1, '2019-10-10 16:32:09');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (44, 86, 2, 3, NULL, 36, 36, 1, NULL, 1, 1, '2019-10-10 16:32:09', 1, '2019-10-10 16:32:09');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (45, 89, 4, 2, NULL, 25, 25, 1, NULL, 1, 8, '2019-10-10 17:56:11', 8, '2019-10-10 17:56:11');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (46, 93, 1, 1, NULL, 48, 48, 1, NULL, 1, 8, '2019-10-16 17:48:00', 8, '2019-10-16 17:48:00');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (47, 93, 3, 7, NULL, 1217, 1217, 1, NULL, 1, 8, '2019-10-16 17:48:00', 8, '2019-10-16 17:48:00');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (48, 96, 1, 1, NULL, 49, 49, 1, NULL, 1, 8, '2019-10-17 15:00:42', 8, '2019-10-17 15:00:42');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (49, 96, 2, 3, NULL, 37, 37, 1, NULL, 1, 8, '2019-10-17 15:00:42', 8, '2019-10-17 15:00:42');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (50, 96, 6, 5, NULL, 2, 2, 1, NULL, 1, 8, '2019-10-17 15:00:42', 8, '2019-10-17 15:00:42');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (51, 98, 1, 1, NULL, 50, 53, 4, NULL, 1, 1, '2019-10-18 14:18:24', 1, '2019-10-18 14:18:24');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (52, 98, 2, 3, NULL, 38, 39, 2, NULL, 1, 1, '2019-10-18 14:18:24', 1, '2019-10-18 14:18:24');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (53, 98, 6, 5, NULL, 3, 3, 1, NULL, 1, 1, '2019-10-18 14:18:24', 1, '2019-10-18 14:18:24');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (54, 106, 2, 3, NULL, 40, 40, 1, NULL, 1, 8, '2019-10-21 13:34:54', 8, '2019-10-21 13:34:54');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (55, 110, 1, 1, NULL, 54, 54, 1, NULL, 1, 8, '2019-10-22 08:35:34', 8, '2019-10-22 08:35:34');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (56, 111, 6, 5, NULL, 101, 102, 2, NULL, 1, 7, '2019-10-22 19:03:31', 7, '2019-10-22 19:03:31');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (57, 113, 1, 1, NULL, 55, 56, 2, NULL, 1, 8, '2019-10-22 19:48:38', 8, '2019-10-22 19:48:38');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (58, 113, 2, 3, NULL, 41, 41, 1, NULL, 1, 8, '2019-10-22 19:48:38', 8, '2019-10-22 19:48:38');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (59, 115, 6, 5, NULL, 103, 107, 5, NULL, 1, 7, '2019-10-24 17:24:25', 7, '2019-10-24 17:24:25');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (60, 117, 1, 1, NULL, 57, 61, 5, NULL, 1, 8, '2019-10-28 11:48:45', 8, '2019-10-28 11:48:45');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (61, 122, 1, 1, NULL, 62, 64, 3, NULL, 1, 8, '2019-10-28 16:55:09', 8, '2019-10-28 16:55:09');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (62, 119, 6, 5, NULL, 108, 108, 1, NULL, 1, 7, '2019-10-29 07:46:50', 7, '2019-10-29 07:46:50');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (63, 124, 1, 1, NULL, 65, 66, 2, NULL, 1, 1, '2019-10-29 08:58:17', 1, '2019-10-29 08:58:17');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (64, 124, 2, 3, NULL, 42, 42, 1, NULL, 1, 1, '2019-10-29 08:58:17', 1, '2019-10-29 08:58:17');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (65, 124, 6, 5, NULL, 4, 5, 2, NULL, 1, 1, '2019-10-29 08:58:17', 1, '2019-10-29 08:58:17');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (66, 128, 1, 1, NULL, 67, 72, 6, NULL, 1, 8, '2019-10-29 20:12:05', 8, '2019-10-29 20:12:05');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (67, 3, 1, 1, NULL, 1, 5, 5, NULL, 1, 1, '2020-02-20 11:45:49', 1, '2020-02-20 11:45:49');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (68, 5, 2, 1, NULL, 6, 12, 7, NULL, 1, 1, '2020-02-22 14:09:27', 1, '2020-02-22 14:09:27');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (69, 9, 2, 1, NULL, 13, 13, 1, NULL, 1, 1, '2020-02-27 13:37:26', 1, '2020-02-27 13:37:26');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (70, 9, 3, 3, NULL, 1, 1, 1, NULL, 1, 1, '2020-02-27 13:37:26', 1, '2020-02-27 13:37:26');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (71, 1, 1, 1, NULL, 3745, 3762, 18, NULL, 1, 8, '2020-05-20 23:29:48', 8, '2020-05-20 23:29:48');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (72, 1, 2, 3, NULL, 1285, 1290, 6, NULL, 1, 8, '2020-05-20 23:29:48', 8, '2020-05-20 23:29:48');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (73, 6, 3, 1, NULL, 427, 431, 5, NULL, 1, 8, '2020-05-25 18:04:56', 8, '2020-05-25 18:04:56');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (74, 6, 4, 3, NULL, 1675, 1685, 11, NULL, 1, 8, '2020-05-25 18:04:56', 8, '2020-05-25 18:04:56');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (75, 9, 1, 1, NULL, 3763, 3796, 34, NULL, 1, 8, '2020-05-27 18:22:06', 8, '2020-05-27 18:22:06');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (76, 9, 2, 3, NULL, 1291, 1294, 4, NULL, 1, 8, '2020-05-27 18:22:06', 8, '2020-05-27 18:22:06');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (77, 11, 4, 3, NULL, 1686, 1700, 15, NULL, 1, 8, '2020-05-27 18:48:43', 8, '2020-05-27 18:48:43');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (78, 13, 1, 1, NULL, 3797, 3816, 20, NULL, 1, 8, '2020-05-27 21:31:37', 8, '2020-05-27 21:31:37');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (79, 13, 2, 3, NULL, 1295, 1302, 8, NULL, 1, 8, '2020-05-27 21:31:37', 8, '2020-05-27 21:31:37');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (80, 15, 3, 1, NULL, 432, 435, 4, NULL, 1, 8, '2020-05-27 22:36:39', 8, '2020-05-27 22:36:39');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (81, 15, 4, 3, NULL, 1701, 1719, 19, NULL, 1, 8, '2020-05-27 22:36:39', 8, '2020-05-27 22:36:39');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (82, 17, 1, 1, NULL, 3817, 3833, 17, NULL, 1, 8, '2020-05-28 17:44:33', 8, '2020-05-28 17:44:33');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (83, 17, 2, 3, NULL, 1303, 1318, 16, NULL, 1, 8, '2020-05-28 17:44:33', 8, '2020-05-28 17:44:33');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (84, 17, 6, 7, NULL, 1811, 1811, 1, NULL, 1, 8, '2020-05-28 17:44:33', 8, '2020-05-28 17:44:33');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (85, 19, 3, 1, NULL, 436, 440, 5, NULL, 1, 8, '2020-05-28 18:26:42', 8, '2020-05-28 18:26:42');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (86, 19, 4, 3, NULL, 1720, 1732, 13, NULL, 1, 8, '2020-05-28 18:26:42', 8, '2020-05-28 18:26:42');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (87, 21, 2, 3, NULL, 1319, 1326, 8, NULL, 1, 8, '2020-05-28 18:49:22', 8, '2020-05-28 18:49:22');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (88, 23, 3, 1, NULL, 441, 443, 3, NULL, 1, 8, '2020-05-28 19:25:55', 8, '2020-05-28 19:25:55');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (89, 23, 4, 3, NULL, 1733, 1741, 9, NULL, 1, 8, '2020-05-28 19:25:55', 8, '2020-05-28 19:25:55');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (90, 25, 1, 1, NULL, 3834, 3850, 17, NULL, 1, 8, '2020-05-30 15:20:40', 8, '2020-05-30 15:20:40');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (91, 25, 2, 3, NULL, 1327, 1337, 11, NULL, 1, 8, '2020-05-30 15:20:40', 8, '2020-05-30 15:20:40');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (92, 29, 4, 3, NULL, 1742, 1760, 19, NULL, 1, 8, '2020-05-30 16:45:52', 8, '2020-05-30 16:45:52');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (93, 35, 3, 1, NULL, 444, 453, 10, NULL, 1, 8, '2020-06-02 17:28:15', 8, '2020-06-02 17:28:15');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (94, 37, 3, 1, NULL, 454, 457, 4, NULL, 1, 5, '2020-06-05 10:51:01', 5, '2020-06-05 10:51:01');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (95, 37, 4, 3, NULL, 1761, 1775, 15, NULL, 1, 5, '2020-06-05 10:51:01', 5, '2020-06-05 10:51:01');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (96, 39, 3, 1, NULL, 458, 462, 5, NULL, 1, 5, '2020-06-05 13:16:42', 5, '2020-06-05 13:16:42');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (97, 39, 4, 3, NULL, 1776, 1781, 6, NULL, 1, 5, '2020-06-05 13:16:42', 5, '2020-06-05 13:16:42');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (98, 42, 1, 1, NULL, 3851, 3854, 4, NULL, 1, 8, '2020-06-05 16:03:45', 8, '2020-06-05 16:03:45');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (99, 42, 2, 3, NULL, 1338, 1349, 12, NULL, 1, 8, '2020-06-05 16:03:45', 8, '2020-06-05 16:03:45');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (100, 41, 3, 1, NULL, 463, 463, 1, NULL, 1, 5, '2020-06-05 16:43:36', 5, '2020-06-05 16:43:36');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (101, 41, 4, 3, NULL, 1782, 1796, 15, NULL, 1, 5, '2020-06-05 16:43:36', 5, '2020-06-05 16:43:36');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (102, 46, 3, 1, NULL, 464, 470, 7, NULL, 1, 5, '2020-06-05 19:13:28', 5, '2020-06-05 19:13:28');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (103, 46, 4, 3, NULL, 1797, 1818, 22, NULL, 1, 5, '2020-06-05 19:13:28', 5, '2020-06-05 19:13:28');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (104, 48, 3, 1, NULL, 471, 474, 4, NULL, 1, 5, '2020-06-05 19:57:02', 5, '2020-06-05 19:57:02');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (105, 48, 4, 3, NULL, 1819, 1831, 13, NULL, 1, 5, '2020-06-05 19:57:02', 5, '2020-06-05 19:57:02');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (106, 44, 1, 1, NULL, 3855, 3869, 15, NULL, 1, 8, '2020-06-05 20:57:24', 8, '2020-06-05 20:57:24');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (107, 44, 2, 3, NULL, 1350, 1358, 9, NULL, 1, 8, '2020-06-05 20:57:24', 8, '2020-06-05 20:57:24');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (108, 50, 3, 1, NULL, 475, 480, 6, NULL, 1, 5, '2020-06-05 21:27:07', 5, '2020-06-05 21:27:07');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (109, 50, 4, 3, NULL, 1832, 1843, 12, NULL, 1, 5, '2020-06-05 21:27:07', 5, '2020-06-05 21:27:07');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (110, 52, 1, 1, NULL, 3870, 3886, 17, NULL, 1, 8, '2020-06-06 13:03:03', 8, '2020-06-06 13:03:03');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (111, 52, 2, 3, NULL, 1359, 1370, 12, NULL, 1, 8, '2020-06-06 13:03:03', 8, '2020-06-06 13:03:03');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (112, 54, 3, 1, NULL, 481, 484, 4, NULL, 1, 5, '2020-06-06 14:06:39', 5, '2020-06-06 14:06:39');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (113, 54, 4, 3, NULL, 1844, 1859, 16, NULL, 1, 5, '2020-06-06 14:06:39', 5, '2020-06-06 14:06:39');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (114, 58, 3, 1, NULL, 485, 487, 3, NULL, 1, 5, '2020-06-06 14:51:09', 5, '2020-06-06 14:51:09');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (115, 58, 4, 3, NULL, 1860, 1867, 8, NULL, 1, 5, '2020-06-06 14:51:09', 5, '2020-06-06 14:51:09');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (116, 60, 3, 1, NULL, 488, 491, 4, NULL, 1, 5, '2020-06-06 15:14:09', 5, '2020-06-06 15:14:09');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (117, 60, 4, 3, NULL, 1868, 1882, 15, NULL, 1, 5, '2020-06-06 15:14:09', 5, '2020-06-06 15:14:09');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (118, 62, 3, 1, NULL, 492, 496, 5, NULL, 1, 5, '2020-06-06 15:56:57', 5, '2020-06-06 15:56:57');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (119, 62, 4, 3, NULL, 1883, 1897, 15, NULL, 1, 5, '2020-06-06 15:56:57', 5, '2020-06-06 15:56:57');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (120, 64, 3, 1, NULL, 497, 499, 3, NULL, 1, 5, '2020-06-06 16:10:57', 5, '2020-06-06 16:10:57');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (121, 64, 4, 3, NULL, 1898, 1910, 13, NULL, 1, 5, '2020-06-06 16:10:57', 5, '2020-06-06 16:10:57');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (122, 66, 3, 1, NULL, 500, 500, 1, NULL, 1, 5, '2020-06-06 16:28:47', 5, '2020-06-06 16:28:47');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (123, 66, 4, 3, NULL, 1911, 1923, 13, NULL, 1, 5, '2020-06-06 16:28:47', 5, '2020-06-06 16:28:47');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (124, 69, 3, 1, NULL, 501, 502, 2, NULL, 1, 5, '2020-06-06 17:01:14', 5, '2020-06-06 17:01:14');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (125, 69, 4, 3, NULL, 1924, 1937, 14, NULL, 1, 5, '2020-06-06 17:01:14', 5, '2020-06-06 17:01:14');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (126, 71, 3, 1, NULL, 503, 506, 4, NULL, 1, 5, '2020-06-07 16:00:17', 5, '2020-06-07 16:00:17');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (127, 71, 4, 3, NULL, 1938, 1950, 13, NULL, 1, 5, '2020-06-07 16:00:17', 5, '2020-06-07 16:00:17');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (128, 73, 3, 1, NULL, 507, 512, 6, NULL, 1, 5, '2020-06-07 16:32:35', 5, '2020-06-07 16:32:35');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (129, 73, 4, 3, NULL, 1951, 1961, 11, NULL, 1, 5, '2020-06-07 16:32:35', 5, '2020-06-07 16:32:35');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (130, 75, 3, 1, NULL, 513, 516, 4, NULL, 1, 5, '2020-06-07 16:54:52', 5, '2020-06-07 16:54:52');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (131, 75, 4, 3, NULL, 1962, 1972, 11, NULL, 1, 5, '2020-06-07 16:54:52', 5, '2020-06-07 16:54:52');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (132, 78, 3, 1, NULL, 517, 521, 5, NULL, 1, 5, '2020-06-07 17:51:17', 5, '2020-06-07 17:51:17');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (133, 78, 4, 3, NULL, 1973, 1986, 14, NULL, 1, 5, '2020-06-07 17:51:17', 5, '2020-06-07 17:51:17');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (134, 80, 3, 1, NULL, 522, 528, 7, NULL, 1, 5, '2020-06-07 18:14:00', 5, '2020-06-07 18:14:00');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (135, 80, 4, 3, NULL, 1987, 1996, 10, NULL, 1, 5, '2020-06-07 18:14:00', 5, '2020-06-07 18:14:00');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (136, 82, 3, 1, NULL, 529, 533, 5, NULL, 1, 5, '2020-06-07 18:39:36', 5, '2020-06-07 18:39:36');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (137, 82, 4, 3, NULL, 1997, 2010, 14, NULL, 1, 5, '2020-06-07 18:39:36', 5, '2020-06-07 18:39:36');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (138, 56, 1, 1, NULL, 3887, 3914, 28, NULL, 1, 8, '2020-06-07 18:42:54', 8, '2020-06-07 18:42:54');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (139, 56, 2, 3, NULL, 1371, 1382, 12, NULL, 1, 8, '2020-06-07 18:42:54', 8, '2020-06-07 18:42:54');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (140, 85, 1, 1, NULL, 3915, 3925, 11, NULL, 1, 8, '2020-06-08 18:38:18', 8, '2020-06-08 18:38:18');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (141, 85, 2, 3, NULL, 1383, 1390, 8, NULL, 1, 8, '2020-06-08 18:38:18', 8, '2020-06-08 18:38:18');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (142, 87, 1, 1, NULL, 3926, 3961, 36, NULL, 1, 8, '2020-06-08 21:48:02', 8, '2020-06-08 21:48:02');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (143, 87, 2, 3, NULL, 1391, 1395, 5, NULL, 1, 8, '2020-06-08 21:48:02', 8, '2020-06-08 21:48:02');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (144, 67, 7, 5, NULL, 928, 929, 2, NULL, 1, 7, '2020-06-09 19:04:57', 7, '2020-06-09 19:04:57');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (145, 89, 1, 1, NULL, 3962, 3968, 7, NULL, 1, 8, '2020-06-09 21:26:34', 8, '2020-06-09 21:26:34');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (146, 89, 2, 3, NULL, 1396, 1400, 5, NULL, 1, 8, '2020-06-09 21:26:34', 8, '2020-06-09 21:26:34');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (147, 89, 6, 7, NULL, 1812, 1812, 1, NULL, 1, 8, '2020-06-09 21:26:34', 8, '2020-06-09 21:26:34');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (148, 93, 1, 1, NULL, 3969, 3972, 4, NULL, 1, 8, '2020-06-09 22:21:14', 8, '2020-06-09 22:21:14');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (149, 93, 2, 3, NULL, 1401, 1406, 6, NULL, 1, 8, '2020-06-09 22:21:14', 8, '2020-06-09 22:21:14');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (150, 95, 1, 1, NULL, 3973, 3997, 25, NULL, 1, 8, '2020-06-09 23:18:49', 8, '2020-06-09 23:18:49');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (151, 95, 2, 3, NULL, 1407, 1416, 10, NULL, 1, 8, '2020-06-09 23:18:49', 8, '2020-06-09 23:18:49');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (152, 97, 1, 1, NULL, 3998, 4000, 3, NULL, 1, 8, '2020-06-12 15:54:30', 8, '2020-06-12 15:54:30');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (153, 97, 2, 3, NULL, 1417, 1428, 12, NULL, 1, 8, '2020-06-12 15:54:30', 8, '2020-06-12 15:54:30');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (154, 97, 5, 1, NULL, 1, 29, 29, NULL, 1, 8, '2020-06-12 15:54:30', 8, '2020-06-12 15:54:30');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (155, 97, 6, 7, NULL, 1813, 1814, 2, NULL, 1, 8, '2020-06-12 15:54:30', 8, '2020-06-12 15:54:30');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (156, 99, 2, 3, NULL, 1429, 1433, 5, NULL, 1, 8, '2020-06-12 18:19:30', 8, '2020-06-12 18:19:30');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (157, 99, 5, 1, NULL, 30, 39, 10, NULL, 1, 8, '2020-06-12 18:19:30', 8, '2020-06-12 18:19:30');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (158, 99, 6, 7, NULL, 1815, 1816, 2, NULL, 1, 8, '2020-06-12 18:19:30', 8, '2020-06-12 18:19:30');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (159, 101, 2, 3, NULL, 1434, 1453, 20, NULL, 1, 8, '2020-06-15 21:44:05', 8, '2020-06-15 21:44:05');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (160, 101, 5, 1, NULL, 40, 57, 18, NULL, 1, 8, '2020-06-15 21:44:05', 8, '2020-06-15 21:44:05');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (161, 103, 2, 3, NULL, 1454, 1458, 5, NULL, 1, 8, '2020-06-18 17:02:32', 8, '2020-06-18 17:02:32');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (162, 103, 5, 1, NULL, 58, 72, 15, NULL, 1, 8, '2020-06-18 17:02:32', 8, '2020-06-18 17:02:32');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (163, 105, 2, 3, NULL, 1459, 1459, 1, NULL, 1, 8, '2020-06-18 18:26:04', 8, '2020-06-18 18:26:04');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (164, 105, 5, 1, NULL, 73, 78, 6, NULL, 1, 8, '2020-06-18 18:26:04', 8, '2020-06-18 18:26:04');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (165, 109, 7, 5, NULL, 931, 932, 2, NULL, 1, 7, '2020-06-19 08:12:03', 7, '2020-06-19 08:12:03');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (166, 111, 7, 5, NULL, 933, 933, 1, NULL, 1, 7, '2020-06-19 08:14:12', 7, '2020-06-19 08:14:12');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (167, 113, 7, 5, NULL, 934, 934, 1, NULL, 1, 7, '2020-06-19 08:16:27', 7, '2020-06-19 08:16:27');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (168, 115, 7, 5, NULL, 935, 936, 2, NULL, 1, 7, '2020-06-19 08:24:02', 7, '2020-06-19 08:24:02');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (169, 117, 7, 5, NULL, 937, 938, 2, NULL, 1, 7, '2020-06-19 08:29:29', 7, '2020-06-19 08:29:29');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (170, 119, 7, 5, NULL, 939, 940, 2, NULL, 1, 7, '2020-06-19 08:35:02', 7, '2020-06-19 08:35:02');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (171, 121, 7, 5, NULL, 941, 941, 1, NULL, 1, 7, '2020-06-19 08:36:38', 7, '2020-06-19 08:36:38');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (172, 107, 2, 3, NULL, 1460, 1468, 9, NULL, 1, 8, '2020-06-19 18:22:10', 8, '2020-06-19 18:22:10');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (173, 107, 5, 1, NULL, 79, 96, 18, NULL, 1, 8, '2020-06-19 18:22:10', 8, '2020-06-19 18:22:10');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (174, 125, 2, 3, NULL, 1469, 1473, 5, NULL, 1, 8, '2020-06-19 21:56:57', 8, '2020-06-19 21:56:57');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (175, 125, 5, 1, NULL, 97, 115, 19, NULL, 1, 8, '2020-06-19 21:56:57', 8, '2020-06-19 21:56:57');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (176, 127, 2, 3, NULL, 1474, 1479, 6, NULL, 1, 8, '2020-06-20 12:18:37', 8, '2020-06-20 12:18:37');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (177, 127, 5, 1, NULL, 116, 132, 17, NULL, 1, 8, '2020-06-20 12:18:37', 8, '2020-06-20 12:18:37');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (178, 129, 2, 3, NULL, 1480, 1485, 6, NULL, 1, 8, '2020-06-20 15:36:14', 8, '2020-06-20 15:36:14');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (179, 129, 5, 1, NULL, 133, 145, 13, NULL, 1, 8, '2020-06-20 15:36:14', 8, '2020-06-20 15:36:14');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (180, 131, 2, 3, NULL, 1486, 1498, 13, NULL, 1, 8, '2020-06-20 21:02:37', 8, '2020-06-20 21:02:37');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (181, 131, 5, 1, NULL, 146, 187, 42, NULL, 1, 8, '2020-06-20 21:02:37', 8, '2020-06-20 21:02:37');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (182, 123, 7, 5, NULL, 942, 942, 1, NULL, 1, 7, '2020-06-26 16:30:59', 7, '2020-06-26 16:30:59');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (183, 135, 6, 7, NULL, 1817, 1818, 2, NULL, 1, 8, '2020-06-30 11:26:18', 8, '2020-06-30 11:26:18');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (184, 137, 5, 1, NULL, 188, 188, 1, NULL, 1, 8, '2020-07-13 09:42:20', 8, '2020-07-13 09:42:20');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (185, 147, 5, 1, NULL, 1, 1, 1, NULL, 1, 1, '2021-02-18 10:59:33', 1, '2021-02-18 10:59:33');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (186, 149, 2, 3, NULL, 1285, 1288, 4, NULL, 1, 1, '2021-05-06 09:48:10', 1, '2021-05-06 09:48:10');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (187, 149, 5, 1, NULL, 2, 3, 2, NULL, 1, 1, '2021-05-06 09:48:10', 1, '2021-05-06 09:48:10');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (188, 151, 11, 1, NULL, 1, 100, 100, NULL, 1, 1, '2023-01-13 10:11:03', 1, '2023-01-13 10:11:03');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (189, 156, 12, 1, NULL, 101, 104, 4, NULL, 1, 1, '2023-03-09 17:27:06', 1, '2023-03-09 17:27:06');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (190, 159, 2, 3, NULL, 1285, 1291, 7, NULL, 1, 54, '2023-04-25 14:01:52', 54, '2023-04-25 14:01:52');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (191, 162, 2, 3, NULL, 1292, 1292, 1, NULL, 1, 1, '2023-05-12 08:18:44', 1, '2023-05-12 08:18:44');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (192, 162, 5, 1, NULL, 1, 1, 1, NULL, 1, 1, '2023-05-12 08:18:44', 1, '2023-05-12 08:18:44');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (193, 164, 2, 3, NULL, 1293, 1296, 4, NULL, 1, 1, '2023-05-25 11:17:58', 1, '2023-05-25 11:17:58');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (194, 164, 5, 1, NULL, 2, 3, 2, NULL, 1, 1, '2023-05-25 11:17:58', 1, '2023-05-25 11:17:58');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (195, 164, 13, 13, NULL, 1, 2, 2, NULL, 1, 1, '2023-05-25 11:17:58', 1, '2023-05-25 11:17:58');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (196, 166, 2, 3, NULL, 1297, 1298, 2, NULL, 1, 1, '2023-05-25 11:29:57', 1, '2023-05-25 11:29:57');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (197, 166, 5, 1, NULL, 4, 4, 1, NULL, 1, 1, '2023-05-25 11:29:57', 1, '2023-05-25 11:29:57');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (198, 166, 13, 13, NULL, 3, 4, 2, NULL, 1, 1, '2023-05-25 11:29:57', 1, '2023-05-25 11:29:57');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (199, 168, 2, 3, NULL, 1299, 1303, 5, NULL, 1, 1, '2023-07-04 09:53:12', 1, '2023-07-04 09:53:12');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (200, 168, 5, 1, NULL, 5, 5, 1, NULL, 1, 1, '2023-07-04 09:53:12', 1, '2023-07-04 09:53:12');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (201, 168, 13, 13, NULL, 5, 5, 1, NULL, 1, 1, '2023-07-04 09:53:12', 1, '2023-07-04 09:53:12');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (202, 170, 2, 3, NULL, 1304, 1305, 2, NULL, 1, 1, '2023-07-31 11:31:24', 1, '2023-07-31 11:31:24');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (203, 172, 2, 3, NULL, 1306, 1316, 11, NULL, 1, 1, '2024-05-11 10:15:16', 1, '2024-05-11 10:15:16');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (204, 172, 13, 13, NULL, 6, 6, 1, NULL, 1, 1, '2024-05-11 10:15:16', 1, '2024-05-11 10:15:16');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (205, 172, 16, 13, NULL, 1, 2, 2, NULL, 1, 1, '2024-05-11 10:15:16', 1, '2024-05-11 10:15:16');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (206, 172, 17, 3, NULL, 1, 4, 4, NULL, 1, 1, '2024-05-11 10:15:16', 1, '2024-05-11 10:15:16');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (207, 172, 18, 1, NULL, 1, 4, 4, NULL, 1, 1, '2024-05-11 10:15:16', 1, '2024-05-11 10:15:16');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (208, 174, 16, 13, NULL, 3, 3, 1, NULL, 1, 1, '2024-05-14 08:46:12', 1, '2024-05-14 08:46:12');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (209, 174, 17, 3, NULL, 5, 13, 9, NULL, 1, 1, '2024-05-14 08:46:12', 1, '2024-05-14 08:46:12');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (210, 174, 18, 1, NULL, 5, 7, 3, NULL, 1, 1, '2024-05-14 08:46:12', 1, '2024-05-14 08:46:12');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (211, 176, 14, 6, NULL, 1, 1, 1, NULL, 1, 1, '2024-05-20 07:45:23', 1, '2024-05-20 07:45:23');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (212, 176, 16, 13, NULL, 4, 6, 3, NULL, 1, 1, '2024-05-20 07:45:23', 1, '2024-05-20 07:45:23');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (213, 176, 18, 1, NULL, 8, 14, 7, NULL, 1, 1, '2024-05-20 07:45:23', 1, '2024-05-20 07:45:23');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (214, 178, 14, 6, NULL, 2, 5, 4, NULL, 1, 1, '2024-06-12 15:22:39', 1, '2024-06-12 15:22:39');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (215, 178, 17, 3, NULL, 15, 38, 22, NULL, 1, 1, '2024-06-12 15:22:39', 1, '2024-06-12 15:22:39');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (216, 178, 18, 1, NULL, 15, 19, 5, NULL, 1, 1, '2024-06-12 15:22:39', 1, '2024-06-12 15:22:39');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (217, 180, 16, 13, NULL, 7, 7, 1, NULL, 1, 1, '2024-08-19 18:29:53', 1, '2024-08-19 18:29:53');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (218, 180, 17, 3, NULL, 39, 137, 98, NULL, 1, 1, '2024-08-19 18:29:53', 1, '2024-08-19 18:29:53');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (219, 180, 18, 1, NULL, 20, 22, 3, NULL, 1, 1, '2024-08-19 18:29:53', 1, '2024-08-19 18:29:53');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (220, 182, 14, 6, NULL, 6, 7, 2, NULL, 1, 1, '2024-08-30 08:28:30', 1, '2024-08-30 08:28:30');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (221, 184, 17, 3, NULL, 139, 150, 12, NULL, 1, 1, '2024-10-08 18:01:08', 1, '2024-10-08 18:01:08');
INSERT INTO `crc_correlativo_cortexcaja` VALUES (222, 184, 18, 1, NULL, 23, 24, 2, NULL, 1, 1, '2024-10-08 18:01:08', 1, '2024-10-08 18:01:08');

-- ----------------------------
-- Table structure for cre_caracteristica_eleccion
-- ----------------------------
CREATE TABLE `cre_caracteristica_eleccion`  (
  `cre_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de caracteristica de elección',
  `cre_nombre` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre de caracteristica elección',
  `cre_descripcion` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Descripción general del registro',
  `cre_estado` tinyint(4) NOT NULL COMMENT 'Estado del registro 1=activo, 0=inactivo',
  `cre_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `cre_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `cre_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `cre_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`cre_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Caracteristicas para eleccion del centro de estudios' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cre_caracteristica_eleccion
-- ----------------------------

-- ----------------------------
-- Table structure for cre_comprobante_retencion
-- ----------------------------
CREATE TABLE `cre_comprobante_retencion`  (
  `cre_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal',
  `cre_id_dpv` int(11) NOT NULL COMMENT 'Llave principal de documento proveedor',
  `cre_fecha_modificacion` datetime NULL DEFAULT NULL COMMENT 'Auditoria',
  `cre_codigo_generacion` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Campo para registrar los codigos de generacion',
  `cre_numero_control` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Numero de Control',
  `cre_sello_recepcion` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Campo para almacenar el sello que MH registre',
  `cre_json_factura_electronica` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'JSON que se emite de la factura',
  `cre_numero_electronico_interno` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Campo para almacenar el numero electronico interno',
  `cre_observaciones_factura_electronica` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Observaciones que se obtengan por parte de MH',
  `cre_estado` int(11) NULL DEFAULT NULL COMMENT 'Estado de registro',
  `cre_usu_creacion` int(11) NULL DEFAULT NULL COMMENT 'Auditoria',
  `cre_fecha_creacion` datetime NULL DEFAULT NULL COMMENT 'Auditoria',
  `cre_usu_modificacion` int(11) NULL DEFAULT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`cre_id`) USING BTREE,
  INDEX `cre_id_dpv`(`cre_id_dpv` ASC) USING BTREE,
  CONSTRAINT `cre_id_dpv` FOREIGN KEY (`cre_id_dpv`) REFERENCES `dpv_documento_proveedor` (`dpv_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of cre_comprobante_retencion
-- ----------------------------

-- ----------------------------
-- Table structure for crf_configuracion_rifa
-- ----------------------------
CREATE TABLE `crf_configuracion_rifa`  (
  `crf_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'LLave principal de Configuracion rifa',
  `crf_id_usu` int(11) NOT NULL COMMENT 'Llave principal de Usuario. (registra)',
  `crf_fecha_inicio` datetime NULL DEFAULT NULL COMMENT 'fecha de inicio',
  `crf_fecha_fin` datetime NULL DEFAULT NULL COMMENT 'fecha fin',
  `crf_monto_inicio` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Monto inicio para participa',
  `crf_observacion` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Descripción general del registro',
  `crf_estado` tinyint(4) NOT NULL COMMENT '1=activo, 0=inactivo',
  `crf_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `crf_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `crf_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `crf_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`crf_id`) USING BTREE,
  INDEX `fk_crf_id_usu`(`crf_id_usu` ASC) USING BTREE,
  CONSTRAINT `fk_crf_id_usu` FOREIGN KEY (`crf_id_usu`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Configuración de Rifa' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of crf_configuracion_rifa
-- ----------------------------
INSERT INTO `crf_configuracion_rifa` VALUES (1, 1, '2018-11-22 00:00:00', '2018-11-30 00:00:00', 5.00, NULL, 1, 1, '2018-11-22 05:22:02', 1, '2018-11-24 10:17:37');
INSERT INTO `crf_configuracion_rifa` VALUES (2, 1, '2018-11-01 00:00:00', '2018-12-01 00:00:00', 5.00, NULL, 1, 1, '2018-11-30 02:12:14', 1, '2018-11-30 02:12:14');

-- ----------------------------
-- Table structure for cri_certificacion_idioma
-- ----------------------------
CREATE TABLE `cri_certificacion_idioma`  (
  `cri_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave primaria de Certificaciones de Idiomas por empleado',
  `cri_id_emp` int(11) NOT NULL COMMENT 'Id de Empleado',
  `cri_id_cer` int(11) NOT NULL COMMENT 'Llave principal certificación',
  `cri_id_idm` int(11) NOT NULL COMMENT 'Llave primaria -Idiomas',
  `cri_puntaje` decimal(19, 2) NOT NULL COMMENT 'Puntaje obtenido',
  `cri_fecha_certificacion` datetime NOT NULL COMMENT 'Fecha de la certificación',
  `cri_estado` int(11) NOT NULL COMMENT 'Estado de registro (1=activo, 0=inactivo)',
  `cri_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `cri_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `cri_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `cri_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`cri_id`) USING BTREE,
  INDEX `fk_cri_id_cer`(`cri_id_cer` ASC) USING BTREE,
  INDEX `fk_cri_id_emp`(`cri_id_emp` ASC) USING BTREE,
  INDEX `fk_cri_id_idm`(`cri_id_idm` ASC) USING BTREE,
  CONSTRAINT `fk_cri_id_cer` FOREIGN KEY (`cri_id_cer`) REFERENCES `cer_certificacion` (`cer_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cri_id_emp` FOREIGN KEY (`cri_id_emp`) REFERENCES `emp_empleado` (`emp_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cri_id_idm` FOREIGN KEY (`cri_id_idm`) REFERENCES `idm_idioma` (`idm_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Certificación de Idiomas por empleado' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cri_certificacion_idioma
-- ----------------------------
INSERT INTO `cri_certificacion_idioma` VALUES (1, 70, 2, 1, 100.00, '2019-05-01 00:00:00', 0, 5, '2019-10-16 18:28:52', 5, '2019-10-16 18:28:52');
INSERT INTO `cri_certificacion_idioma` VALUES (2, 70, 2, 1, 100.00, '2019-05-01 00:00:00', 1, 5, '2019-10-16 18:28:52', 32, '2020-06-22 10:20:30');
INSERT INTO `cri_certificacion_idioma` VALUES (3, 91, 2, 2, 25.00, '2024-01-02 00:00:00', 1, 1, '2024-01-10 10:53:34', 1, '2024-01-10 10:53:34');

-- ----------------------------
-- Table structure for crp_comision_recuperacion
-- ----------------------------
CREATE TABLE `crp_comision_recuperacion`  (
  `crp_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de comisión por recuperacion',
  `crp_id_tic` int(11) NOT NULL COMMENT 'Codigo de tipo de contacto',
  `crp_id_tia` int(11) NOT NULL,
  `crp_porcentaje` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Porcentaje',
  `crp_valor` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Valor',
  `crp_desde` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Cantidad desde',
  `crp_hasta` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Cantidad hasta',
  `crp_descripcion` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Descripcion general del registro',
  `crp_estado` tinyint(4) NOT NULL COMMENT '0=inactivo, 1=activo',
  `crp_usu_creacion` int(11) NOT NULL COMMENT 'Auditoria',
  `crp_fecha_creacion` datetime NOT NULL COMMENT 'Auditoria',
  `crp_usu_modificacion` int(11) NOT NULL COMMENT 'Auditoria',
  `crp_fecha_modificacion` datetime NOT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`crp_id`) USING BTREE,
  INDEX `fk_crp_id_tia`(`crp_id_tia` ASC) USING BTREE,
  INDEX `fk_crp_id_tic`(`crp_id_tic` ASC) USING BTREE,
  CONSTRAINT `fk_crp_id_tia` FOREIGN KEY (`crp_id_tia`) REFERENCES `tia_tipo_articulo` (`tia_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_crp_id_tic` FOREIGN KEY (`crp_id_tic`) REFERENCES `tic_tipo_comision` (`tic_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Comisión por recuperacion' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of crp_comision_recuperacion
-- ----------------------------
INSERT INTO `crp_comision_recuperacion` VALUES (1, 1, 411, 3.50, NULL, 0.00, 120.00, NULL, 1, 1, '2024-07-26 04:10:28', 1, '2024-07-26 04:10:28');

-- ----------------------------
-- Table structure for crt_causa_retiro
-- ----------------------------
CREATE TABLE `crt_causa_retiro`  (
  `crt_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave primaria - causas de retiro',
  `crt_nombre` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'nombre de causa de retiiro',
  `crt_estado` int(11) NOT NULL COMMENT 'Estado de registro (1=activo, 0=inactivo)',
  `crt_usu_crea` int(11) NOT NULL COMMENT 'auditoria',
  `crt_fecha_crea` datetime NOT NULL COMMENT 'auditoria',
  `crt_usu_mod` int(11) NOT NULL COMMENT 'auditoria',
  `crt_fecha_mod` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`crt_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Catalogo de causas de retiro' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of crt_causa_retiro
-- ----------------------------

-- ----------------------------
-- Table structure for cse_correo_solicitante_empleo
-- ----------------------------
CREATE TABLE `cse_correo_solicitante_empleo`  (
  `cse_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de correo por solicitante',
  `cse_id_sle` int(11) NOT NULL COMMENT 'Llave principal de Solicitante Empleo',
  `cse_correo` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'valor del correo electronico',
  `cse_estado` int(11) NOT NULL DEFAULT 1 COMMENT 'Estado del Registro, 0=inactivo, 1=activo',
  `cse_fecha_creacion` datetime NOT NULL COMMENT 'Auditoria',
  `cse_usu_creacion` int(11) NOT NULL COMMENT 'Auditoria',
  `cse_usu_modificacion` int(11) NOT NULL COMMENT 'Auditoria',
  `cse_fecha_modificacion` datetime NOT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`cse_id`) USING BTREE,
  INDEX `fk_cse_id_sle`(`cse_id_sle` ASC) USING BTREE,
  CONSTRAINT `fk_cse_id_sle` FOREIGN KEY (`cse_id_sle`) REFERENCES `sle_solicitante_empleo` (`sle_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = latin1 COLLATE = latin1_swedish_ci COMMENT = 'tabla que almacena n correos de un solicitante empleo' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cse_correo_solicitante_empleo
-- ----------------------------
INSERT INTO `cse_correo_solicitante_empleo` VALUES (3, 5, 'mail.correo@msn.com', 1, '2023-12-18 12:31:11', 1, 1, '2023-12-18 12:31:11');
INSERT INTO `cse_correo_solicitante_empleo` VALUES (4, 3, 'micorreo@ejemplo.com', 1, '2023-12-18 12:34:38', 1, 1, '2023-12-18 12:34:38');
INSERT INTO `cse_correo_solicitante_empleo` VALUES (5, 2, 'ejemplo@micorreo.com', 1, '2023-12-18 12:34:58', 1, 1, '2023-12-18 12:34:58');

-- ----------------------------
-- Table structure for csp_concurso_xsolicitante_empleo
-- ----------------------------
CREATE TABLE `csp_concurso_xsolicitante_empleo`  (
  `csp_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de concurso por solicitante empleo',
  `csp_id_sle` int(11) NOT NULL COMMENT 'Llave principal de Solicitante Empleo',
  `csp_id_cnp` int(11) NOT NULL COMMENT 'Llave principal de concurso de plaza',
  `csp_seleccionado` tinyint(4) NULL DEFAULT NULL COMMENT 'Solicitante seleccionado 1=si, 0=no',
  `csp_fecha_seleccion` datetime NULL DEFAULT NULL COMMENT 'Fecha de selección',
  `csp_observacion` varchar(500) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL COMMENT 'observacion',
  `csp_trasladado` tinyint(4) NULL DEFAULT NULL COMMENT 'Solicitante trasladado 1=si, 0 o null =no',
  `csp_estado` tinyint(4) NOT NULL COMMENT 'Estado del registro 1=activo, 0=inactivo',
  `csp_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `csp_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `csp_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `csp_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`csp_id`) USING BTREE,
  INDEX `fk_csp_id_cnp`(`csp_id_cnp` ASC) USING BTREE,
  INDEX `csp_id_sle`(`csp_id_sle` ASC) USING BTREE,
  CONSTRAINT `csp_id_sle` FOREIGN KEY (`csp_id_sle`) REFERENCES `sle_solicitante_empleo` (`sle_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_csp_id_cnp` FOREIGN KEY (`csp_id_cnp`) REFERENCES `cnp_concurso_plaza` (`cnp_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = latin1 COLLATE = latin1_swedish_ci COMMENT = 'concurso por solicitante empleo' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of csp_concurso_xsolicitante_empleo
-- ----------------------------
INSERT INTO `csp_concurso_xsolicitante_empleo` VALUES (1, 1, 2, 0, NULL, 'Se asigna al concurso', NULL, 1, 1, '2023-12-18 12:12:37', 1, '2023-12-18 12:12:37');
INSERT INTO `csp_concurso_xsolicitante_empleo` VALUES (2, 2, 2, 1, '2023-12-18 15:12:13', 'Aplica', 1, 1, 1, '2023-12-18 12:12:45', 1, '2023-12-18 15:12:07');
INSERT INTO `csp_concurso_xsolicitante_empleo` VALUES (3, 5, 2, 0, NULL, 'Aplica tambien', NULL, 1, 1, '2023-12-18 12:12:53', 1, '2023-12-18 12:12:53');
INSERT INTO `csp_concurso_xsolicitante_empleo` VALUES (4, 3, 2, 0, NULL, 'Aplica', NULL, 1, 1, '2023-12-18 15:12:29', 1, '2023-12-18 15:12:29');

-- ----------------------------
-- Table structure for cta_categoria_aguinaldo
-- ----------------------------
CREATE TABLE `cta_categoria_aguinaldo`  (
  `cta_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de categoria aguinaldo',
  `cta_nombre` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre',
  `cta_descripcion` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Descripción general del registro',
  `cta_estado` int(11) NOT NULL COMMENT 'Estado de registro (1=activo, 0=inactivo)',
  `cta_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `cta_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `cta_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `cta_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`cta_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cta_categoria_aguinaldo
-- ----------------------------
INSERT INTO `cta_categoria_aguinaldo` VALUES (1, '01', '01', 1, 1, '2019-02-19 15:09:56', 1, '2019-02-19 15:09:56');

-- ----------------------------
-- Table structure for ctc_categoria_contenido
-- ----------------------------
CREATE TABLE `ctc_categoria_contenido`  (
  `ctc_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal categoria de contenido',
  `ctc_nombre` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre de la categoria',
  `ctc_estado` int(11) NOT NULL DEFAULT 1 COMMENT 'Estado del Registro, 0=inactivo, 1=activo',
  `ctc_fecha_creacion` datetime NOT NULL COMMENT 'Auditoria',
  `ctc_usu_creacion` int(11) NOT NULL COMMENT 'Auditoria',
  `ctc_usu_modificacion` int(11) NOT NULL COMMENT 'Auditoria',
  `ctc_fecha_modificacion` datetime NOT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`ctc_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of ctc_categoria_contenido
-- ----------------------------

-- ----------------------------
-- Table structure for ctd_contenido_modulo
-- ----------------------------
CREATE TABLE `ctd_contenido_modulo`  (
  `ctd_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal contenido del modulo',
  `ctd_id_ctc` int(11) NOT NULL COMMENT 'Llave principal categoria de contenido',
  `ctd_id_mod` int(11) NOT NULL COMMENT 'codigo de modulo',
  `ctd_descripcion` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Descripción del contenido',
  `ctd_estado` int(11) NOT NULL DEFAULT 1 COMMENT 'Estado del Registro, 0=inactivo, 1=activo',
  `ctd_fecha_creacion` datetime NOT NULL COMMENT 'Auditoria',
  `ctd_usu_creacion` int(11) NOT NULL COMMENT 'Auditoria',
  `ctd_usu_modificacion` int(11) NOT NULL COMMENT 'Auditoria',
  `ctd_fecha_modificacion` datetime NOT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`ctd_id`) USING BTREE,
  INDEX `fk_ctd_id_ctc`(`ctd_id_ctc` ASC) USING BTREE,
  INDEX `fk_ctd_id_mod`(`ctd_id_mod` ASC) USING BTREE,
  CONSTRAINT `fk_ctd_id_ctc` FOREIGN KEY (`ctd_id_ctc`) REFERENCES `ctc_categoria_contenido` (`ctc_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_ctd_id_mod` FOREIGN KEY (`ctd_id_mod`) REFERENCES `mod_modulo` (`mod_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of ctd_contenido_modulo
-- ----------------------------

-- ----------------------------
-- Table structure for cte_categoria_evaluacion
-- ----------------------------
CREATE TABLE `cte_categoria_evaluacion`  (
  `cte_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de categoria evaluación',
  `cte_nombre` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre de la categoria',
  `cte_ponderacion` decimal(19, 2) NOT NULL COMMENT 'Ponderación',
  `cte_orden` int(11) NOT NULL COMMENT 'Orden',
  `cte_peso_maximo` decimal(19, 2) NULL DEFAULT NULL,
  `cte_estado` int(11) NOT NULL DEFAULT 1 COMMENT 'Estado del Registro, 0=inactivo, 1=activo',
  `cte_fecha_creacion` datetime NOT NULL COMMENT 'Auditoria',
  `cte_usu_creacion` int(11) NOT NULL COMMENT 'Auditoria',
  `cte_usu_modificacion` int(11) NOT NULL COMMENT 'Auditoria',
  `cte_fecha_modificacion` datetime NOT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`cte_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Categorias de evaluación' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cte_categoria_evaluacion
-- ----------------------------
INSERT INTO `cte_categoria_evaluacion` VALUES (1, 'Generales', 50.00, 1, 50.00, 1, '2024-02-14 08:49:02', 1, 1, '2024-02-14 08:49:02');
INSERT INTO `cte_categoria_evaluacion` VALUES (2, 'Especificas', 50.00, 2, 50.00, 1, '2024-02-14 08:49:02', 1, 1, '2024-02-14 08:49:02');
INSERT INTO `cte_categoria_evaluacion` VALUES (3, 'Trabajo en Equipo', 25.00, 3, NULL, 1, '2024-02-14 09:37:31', 1, 1, '2024-02-14 09:37:31');
INSERT INTO `cte_categoria_evaluacion` VALUES (4, 'Metas', 25.00, 4, NULL, 1, '2024-02-14 09:37:31', 1, 1, '2024-02-14 09:37:31');

-- ----------------------------
-- Table structure for ctf_categoria_escalafon
-- ----------------------------
CREATE TABLE `ctf_categoria_escalafon`  (
  `ctf_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave primaria de categoria de escalafon',
  `ctf_nombre` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre de categoria',
  `ctf_descripcion` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Descripción general del registro',
  `ctf_estado` tinyint(4) NOT NULL COMMENT 'estado del registro 0=inactivo, 1=activo',
  `ctf_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `ctf_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `ctf_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `ctf_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`ctf_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of ctf_categoria_escalafon
-- ----------------------------

-- ----------------------------
-- Table structure for cti_configuracion_tipo_incapacidad
-- ----------------------------
CREATE TABLE `cti_configuracion_tipo_incapacidad`  (
  `cti_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de configuración de tipo incapacidad',
  `cti_id_tnc` int(11) NOT NULL COMMENT 'Llave principal de tipo de incapacidad',
  `cti_id_tig` int(11) NULL DEFAULT NULL COMMENT 'Llave con tipo de ingreso',
  `cti_cantidad_desde` int(11) NOT NULL COMMENT 'Cantidad de dias desde',
  `cti_cantidad_hasta` int(11) NOT NULL COMMENT 'Cantidad de dias hasta',
  `cti_porcentaje_subsidio` decimal(19, 2) NOT NULL COMMENT 'Del salario (techo) cuanto le va a pagar la empresa',
  `cti_porcentaje_seguro` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Del salario (techo) cuanto le va a pagar el seguro',
  `cti_porcentaje_diferencia` decimal(19, 2) NULL DEFAULT NULL COMMENT 'arriba del techo de cálculo que porcentaje le pagara la empresa',
  `cti_estado` tinyint(4) NOT NULL COMMENT 'estado del registro 1=activo, 0=inactivo',
  `cti_usu_creacion` int(11) NOT NULL COMMENT 'Auditoria',
  `cti_fecha_creacion` datetime NOT NULL COMMENT 'Auditoria',
  `cti_usu_modificacion` int(11) NOT NULL COMMENT 'Auditoria',
  `cti_fecha_modificacion` datetime NOT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`cti_id`) USING BTREE,
  INDEX `fk_cti_id_tnc`(`cti_id_tnc` ASC) USING BTREE,
  INDEX `fk_cti_id_tig`(`cti_id_tig` ASC) USING BTREE,
  CONSTRAINT `fk_cti_id_tig` FOREIGN KEY (`cti_id_tig`) REFERENCES `tig_tipo_ingreso` (`tig_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cti_id_tnc` FOREIGN KEY (`cti_id_tnc`) REFERENCES `tnc_tipo_incapacidad` (`tnc_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 48 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Configurar Tipos de incapacidad' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cti_configuracion_tipo_incapacidad
-- ----------------------------
INSERT INTO `cti_configuracion_tipo_incapacidad` VALUES (4, 1, NULL, 1, 180, 25.00, 25.00, 75.00, 1, 0, '0000-00-00 00:00:00', 1, '2019-08-30 13:30:06');
INSERT INTO `cti_configuracion_tipo_incapacidad` VALUES (36, 3, NULL, 1, 3, 100.00, 0.00, 100.00, 1, 1, '2022-01-05 16:30:48', 1, '2022-01-05 16:30:48');
INSERT INTO `cti_configuracion_tipo_incapacidad` VALUES (37, 3, NULL, 4, 999, 25.00, 75.00, 25.00, 1, 1, '2022-01-05 16:30:48', 1, '2022-01-05 16:30:48');
INSERT INTO `cti_configuracion_tipo_incapacidad` VALUES (44, 2, NULL, 1, 3, 100.00, 0.00, 100.00, 1, 1, '2025-07-16 11:43:19', 1, '2025-07-16 11:43:19');
INSERT INTO `cti_configuracion_tipo_incapacidad` VALUES (45, 2, NULL, 4, 999, 25.00, 75.00, 100.00, 1, 1, '2025-07-16 11:43:19', 1, '2025-07-16 11:43:19');
INSERT INTO `cti_configuracion_tipo_incapacidad` VALUES (46, 5, NULL, 1, 3, 100.00, 0.00, 100.00, 1, 1, '2025-07-22 10:36:42', 1, '2025-07-22 10:36:42');
INSERT INTO `cti_configuracion_tipo_incapacidad` VALUES (47, 5, NULL, 4, 999, 0.00, 100.00, 100.00, 1, 1, '2025-07-22 10:36:42', 1, '2025-07-22 10:36:42');

-- ----------------------------
-- Table structure for ctp_cuenta_tipo_proceso
-- ----------------------------
CREATE TABLE `ctp_cuenta_tipo_proceso`  (
  `ctp_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de cuenta por tipo de proceso',
  `ctp_id_cnt` int(11) NULL DEFAULT NULL COMMENT 'Llave principal  - Cuenta contable',
  `ctp_id_tcn` int(11) NOT NULL COMMENT 'Llave principal  - Tipos de cuentas',
  `ctp_id_cec` int(11) NOT NULL COMMENT 'llave primaria centro de costos',
  `ctp_id_tip` int(11) NOT NULL COMMENT 'Codigo de movimiento (llave principal de tipo de proceso)',
  `ctp_id_bod` int(11) NULL DEFAULT NULL COMMENT 'Codigo de bodega',
  `ctp_estado` int(11) NOT NULL COMMENT '0=inactivo, 1=activo',
  `ctp_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `ctp_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  `ctp_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `ctp_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`ctp_id`) USING BTREE,
  INDEX `fk_ctp_id_bod`(`ctp_id_bod` ASC) USING BTREE,
  INDEX `fk_ctp_id_cec`(`ctp_id_cec` ASC) USING BTREE,
  INDEX `fk_ctp_id_cnt`(`ctp_id_cnt` ASC) USING BTREE,
  INDEX `fk_ctp_id_tcn`(`ctp_id_tcn` ASC) USING BTREE,
  INDEX `fk_ctp_id_tip`(`ctp_id_tip` ASC) USING BTREE,
  CONSTRAINT `fk_ctp_id_bod` FOREIGN KEY (`ctp_id_bod`) REFERENCES `bod_bodega` (`bod_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_ctp_id_cec` FOREIGN KEY (`ctp_id_cec`) REFERENCES `cec_centro_costo` (`cec_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_ctp_id_cnt` FOREIGN KEY (`ctp_id_cnt`) REFERENCES `cnt_cuenta_contable` (`cnt_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_ctp_id_tcn` FOREIGN KEY (`ctp_id_tcn`) REFERENCES `tcn_tipo_cuenta` (`tcn_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_ctp_id_tip` FOREIGN KEY (`ctp_id_tip`) REFERENCES `tip_tipo_proceso` (`tip_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 519 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of ctp_cuenta_tipo_proceso
-- ----------------------------
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (1, 74, 1, 1, 1, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (2, 74, 1, 1, 2, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (3, 74, 1, 1, 3, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (4, 74, 1, 1, 4, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (5, 74, 1, 1, 5, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (6, 74, 1, 1, 6, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (7, 74, 1, 1, 7, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (8, 74, 1, 1, 8, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (9, 74, 1, 1, 9, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (10, 74, 1, 1, 10, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (11, 74, 1, 1, 11, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (12, 74, 1, 1, 12, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (13, 74, 1, 1, 13, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (14, 74, 1, 1, 14, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (15, 74, 1, 1, 15, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (16, 74, 1, 1, 16, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (17, 74, 1, 1, 17, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (18, 74, 1, 1, 18, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (19, 74, 1, 1, 19, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (20, 74, 1, 1, 20, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (21, 74, 1, 1, 21, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (22, 74, 1, 1, 22, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (23, 74, 1, 1, 23, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (24, 74, 1, 1, 24, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (25, 74, 1, 1, 25, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (26, 74, 1, 1, 26, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (27, 74, 1, 1, 27, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (28, 74, 1, 1, 28, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (29, 74, 1, 1, 29, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (30, 74, 1, 1, 30, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (31, 74, 1, 1, 31, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (32, 74, 1, 1, 32, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (33, 74, 1, 1, 33, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (34, 74, 1, 1, 34, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (35, 74, 1, 1, 35, 1, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (36, 75, 1, 1, 1, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (37, 75, 1, 1, 2, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (38, 75, 1, 1, 3, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (39, 75, 1, 1, 4, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (40, 75, 1, 1, 5, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (41, 75, 1, 1, 8, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (42, 75, 1, 1, 14, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (43, 75, 1, 1, 15, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (44, 75, 1, 1, 17, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (45, 75, 1, 1, 18, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (46, 75, 1, 1, 19, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (47, 75, 1, 1, 20, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (48, 75, 1, 1, 21, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (49, 75, 1, 1, 24, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (50, 75, 1, 1, 25, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (51, 75, 1, 1, 26, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (52, 75, 1, 1, 28, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (53, 75, 1, 1, 31, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (54, 75, 1, 1, 33, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (55, 75, 1, 1, 34, 2, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (56, 76, 1, 1, 1, 3, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (57, 76, 1, 1, 2, 3, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (58, 76, 1, 1, 3, 3, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (59, 76, 1, 1, 4, 3, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (60, 76, 1, 1, 5, 3, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (61, 76, 1, 1, 15, 3, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (62, 76, 1, 1, 18, 3, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (63, 76, 1, 1, 19, 3, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (64, 76, 1, 1, 20, 3, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (65, 76, 1, 1, 21, 3, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (66, 76, 1, 1, 24, 3, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (67, 76, 1, 1, 25, 3, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (68, 76, 1, 1, 31, 3, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (69, 76, 1, 1, 34, 3, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (70, 615, 1, 1, 1, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (71, 615, 1, 1, 2, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (72, 615, 1, 1, 3, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (73, 615, 1, 1, 4, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (74, 615, 1, 1, 5, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (75, 615, 1, 1, 8, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (76, 615, 1, 1, 14, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (77, 615, 1, 1, 15, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (78, 615, 1, 1, 16, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (79, 615, 1, 1, 18, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (80, 615, 1, 1, 19, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (81, 615, 1, 1, 20, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (82, 615, 1, 1, 21, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (83, 615, 1, 1, 24, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (84, 615, 1, 1, 25, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (85, 615, 1, 1, 28, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (86, 615, 1, 1, 31, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (87, 615, 1, 1, 32, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (88, 615, 1, 1, 34, 4, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (89, 484, 1, 1, 1, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (90, 484, 1, 1, 2, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (91, 484, 1, 1, 3, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (92, 484, 1, 1, 4, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (93, 484, 1, 1, 5, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (94, 484, 1, 1, 8, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (95, 484, 1, 1, 14, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (96, 484, 1, 1, 15, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (97, 484, 1, 1, 16, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (98, 484, 1, 1, 17, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (99, 484, 1, 1, 18, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (100, 484, 1, 1, 19, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (101, 484, 1, 1, 20, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (102, 484, 1, 1, 21, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (103, 484, 1, 1, 22, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (104, 484, 1, 1, 24, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (105, 484, 1, 1, 25, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (106, 484, 1, 1, 27, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (107, 484, 1, 1, 28, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (108, 484, 1, 1, 31, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (109, 484, 1, 1, 32, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (110, 484, 1, 1, 34, 5, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (111, 485, 1, 1, 1, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (112, 485, 1, 1, 2, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (113, 485, 1, 1, 3, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (114, 485, 1, 1, 4, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (115, 485, 1, 1, 5, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (116, 485, 1, 1, 6, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (117, 485, 1, 1, 7, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (118, 485, 1, 1, 8, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (119, 485, 1, 1, 9, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (120, 485, 1, 1, 10, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (121, 485, 1, 1, 11, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (122, 485, 1, 1, 14, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (123, 485, 1, 1, 15, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (124, 485, 1, 1, 16, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (125, 485, 1, 1, 18, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (126, 485, 1, 1, 19, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (127, 485, 1, 1, 20, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (128, 485, 1, 1, 21, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (129, 485, 1, 1, 22, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (130, 485, 1, 1, 23, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (131, 485, 1, 1, 24, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (132, 485, 1, 1, 25, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (133, 485, 1, 1, 27, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (134, 485, 1, 1, 28, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (135, 485, 1, 1, 30, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (136, 485, 1, 1, 31, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (137, 485, 1, 1, 32, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (138, 485, 1, 1, 33, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (139, 485, 1, 1, 34, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (140, 485, 1, 1, 35, 6, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (141, 63, 1, 1, 1, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (142, 63, 1, 1, 2, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (143, 63, 1, 1, 3, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (144, 63, 1, 1, 4, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (145, 63, 1, 1, 5, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (146, 63, 1, 1, 6, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (147, 63, 1, 1, 7, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (148, 63, 1, 1, 8, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (149, 63, 1, 1, 9, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (150, 63, 1, 1, 10, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (151, 63, 1, 1, 11, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (152, 63, 1, 1, 14, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (153, 63, 1, 1, 15, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (154, 63, 1, 1, 16, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (155, 63, 1, 1, 18, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (156, 63, 1, 1, 19, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (157, 63, 1, 1, 20, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (158, 63, 1, 1, 21, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (159, 63, 1, 1, 22, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (160, 63, 1, 1, 23, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (161, 63, 1, 1, 24, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (162, 63, 1, 1, 25, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (163, 63, 1, 1, 27, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (164, 63, 1, 1, 28, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (165, 63, 1, 1, 30, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (166, 63, 1, 1, 31, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (167, 63, 1, 1, 32, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (168, 63, 1, 1, 33, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (169, 63, 1, 1, 34, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (170, 63, 1, 1, 35, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (171, 64, 1, 1, 1, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (172, 64, 1, 1, 2, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (173, 64, 1, 1, 3, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (174, 64, 1, 1, 4, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (175, 64, 1, 1, 5, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (176, 64, 1, 1, 6, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (177, 64, 1, 1, 7, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (178, 64, 1, 1, 8, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (179, 64, 1, 1, 9, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (180, 64, 1, 1, 10, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (181, 64, 1, 1, 11, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (182, 64, 1, 1, 14, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (183, 64, 1, 1, 15, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (184, 64, 1, 1, 16, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (185, 64, 1, 1, 18, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (186, 64, 1, 1, 19, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (187, 64, 1, 1, 20, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (188, 64, 1, 1, 21, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (189, 64, 1, 1, 22, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (190, 64, 1, 1, 23, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (191, 64, 1, 1, 24, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (192, 64, 1, 1, 25, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (193, 64, 1, 1, 27, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (194, 64, 1, 1, 28, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (195, 64, 1, 1, 30, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (196, 64, 1, 1, 31, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (197, 64, 1, 1, 32, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (198, 64, 1, 1, 33, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (199, 64, 1, 1, 34, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (200, 64, 1, 1, 35, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (201, 65, 1, 1, 1, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (202, 65, 1, 1, 2, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (203, 65, 1, 1, 3, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (204, 65, 1, 1, 4, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (205, 65, 1, 1, 5, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (206, 65, 1, 1, 6, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (207, 65, 1, 1, 7, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (208, 65, 1, 1, 8, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (209, 65, 1, 1, 9, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (210, 65, 1, 1, 10, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (211, 65, 1, 1, 11, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (212, 65, 1, 1, 14, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (213, 65, 1, 1, 15, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (214, 65, 1, 1, 16, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (215, 65, 1, 1, 18, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (216, 65, 1, 1, 19, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (217, 65, 1, 1, 20, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (218, 65, 1, 1, 21, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (219, 65, 1, 1, 22, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (220, 65, 1, 1, 23, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (221, 65, 1, 1, 24, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (222, 65, 1, 1, 25, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (223, 65, 1, 1, 27, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (224, 65, 1, 1, 28, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (225, 65, 1, 1, 30, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (226, 65, 1, 1, 31, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (227, 65, 1, 1, 32, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (228, 65, 1, 1, 33, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (229, 65, 1, 1, 34, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (230, 65, 1, 1, 35, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (231, 66, 1, 1, 1, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (232, 66, 1, 1, 2, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (233, 66, 1, 1, 3, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (234, 66, 1, 1, 4, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (235, 66, 1, 1, 5, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (236, 66, 1, 1, 6, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (237, 66, 1, 1, 7, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (238, 66, 1, 1, 8, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (239, 66, 1, 1, 9, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (240, 66, 1, 1, 10, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (241, 66, 1, 1, 11, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (242, 66, 1, 1, 14, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (243, 66, 1, 1, 15, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (244, 66, 1, 1, 16, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (245, 66, 1, 1, 18, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (246, 66, 1, 1, 19, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (247, 66, 1, 1, 20, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (248, 66, 1, 1, 21, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (249, 66, 1, 1, 22, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (250, 66, 1, 1, 23, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (251, 66, 1, 1, 24, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (252, 66, 1, 1, 25, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (253, 66, 1, 1, 27, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (254, 66, 1, 1, 28, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (255, 66, 1, 1, 30, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (256, 66, 1, 1, 31, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (257, 66, 1, 1, 32, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (258, 66, 1, 1, 33, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (259, 66, 1, 1, 34, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (260, 66, 1, 1, 35, 7, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (261, 614, 1, 1, 1, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (262, 614, 1, 1, 2, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (263, 614, 1, 1, 3, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (264, 614, 1, 1, 4, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (265, 614, 1, 1, 5, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (266, 614, 1, 1, 8, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (267, 614, 1, 1, 9, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (268, 614, 1, 1, 10, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (269, 614, 1, 1, 11, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (270, 614, 1, 1, 14, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (271, 614, 1, 1, 15, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (272, 614, 1, 1, 16, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (273, 614, 1, 1, 18, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (274, 614, 1, 1, 19, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (275, 614, 1, 1, 20, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (276, 614, 1, 1, 21, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (277, 614, 1, 1, 22, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (278, 614, 1, 1, 24, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (279, 614, 1, 1, 25, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (280, 614, 1, 1, 27, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (281, 614, 1, 1, 28, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (282, 614, 1, 1, 30, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (283, 614, 1, 1, 31, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (284, 614, 1, 1, 32, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (285, 614, 1, 1, 34, 8, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (286, 63, 1, 1, 1, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (287, 63, 1, 1, 3, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (288, 63, 1, 1, 4, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (289, 63, 1, 1, 5, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (290, 63, 1, 1, 9, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (291, 63, 1, 1, 10, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (292, 63, 1, 1, 11, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (293, 63, 1, 1, 14, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (294, 63, 1, 1, 19, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (295, 63, 1, 1, 20, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (296, 63, 1, 1, 22, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (297, 63, 1, 1, 24, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (298, 63, 1, 1, 27, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (299, 63, 1, 1, 28, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (300, 63, 1, 1, 30, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (301, 63, 1, 1, 34, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (302, 64, 1, 1, 1, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (303, 64, 1, 1, 3, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (304, 64, 1, 1, 4, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (305, 64, 1, 1, 5, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (306, 64, 1, 1, 9, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (307, 64, 1, 1, 10, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (308, 64, 1, 1, 11, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (309, 64, 1, 1, 14, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (310, 64, 1, 1, 19, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (311, 64, 1, 1, 20, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (312, 64, 1, 1, 22, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (313, 64, 1, 1, 24, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (314, 64, 1, 1, 27, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (315, 64, 1, 1, 28, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (316, 64, 1, 1, 30, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (317, 64, 1, 1, 34, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (318, 65, 1, 1, 1, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (319, 65, 1, 1, 3, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (320, 65, 1, 1, 4, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (321, 65, 1, 1, 5, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (322, 65, 1, 1, 9, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (323, 65, 1, 1, 10, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (324, 65, 1, 1, 11, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (325, 65, 1, 1, 14, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (326, 65, 1, 1, 19, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (327, 65, 1, 1, 20, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (328, 65, 1, 1, 22, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (329, 65, 1, 1, 24, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (330, 65, 1, 1, 27, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (331, 65, 1, 1, 28, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (332, 65, 1, 1, 30, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (333, 65, 1, 1, 34, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (334, 66, 1, 1, 1, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (335, 66, 1, 1, 3, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (336, 66, 1, 1, 4, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (337, 66, 1, 1, 5, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (338, 66, 1, 1, 9, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (339, 66, 1, 1, 10, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (340, 66, 1, 1, 11, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (341, 66, 1, 1, 14, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (342, 66, 1, 1, 19, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (343, 66, 1, 1, 20, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (344, 66, 1, 1, 22, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (345, 66, 1, 1, 24, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (346, 66, 1, 1, 27, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (347, 66, 1, 1, 28, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (348, 66, 1, 1, 30, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (349, 66, 1, 1, 34, 9, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (350, 63, 1, 1, 1, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (351, 63, 1, 1, 3, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (352, 63, 1, 1, 4, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (353, 63, 1, 1, 5, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (354, 63, 1, 1, 9, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (355, 63, 1, 1, 10, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (356, 63, 1, 1, 11, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (357, 63, 1, 1, 14, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (358, 63, 1, 1, 19, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (359, 63, 1, 1, 20, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (360, 63, 1, 1, 22, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (361, 63, 1, 1, 24, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (362, 63, 1, 1, 27, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (363, 63, 1, 1, 28, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (364, 63, 1, 1, 30, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (365, 63, 1, 1, 34, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (366, 64, 1, 1, 1, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (367, 64, 1, 1, 3, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (368, 64, 1, 1, 4, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (369, 64, 1, 1, 5, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (370, 64, 1, 1, 9, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (371, 64, 1, 1, 10, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (372, 64, 1, 1, 11, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (373, 64, 1, 1, 14, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (374, 64, 1, 1, 19, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (375, 64, 1, 1, 20, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (376, 64, 1, 1, 22, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (377, 64, 1, 1, 24, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (378, 64, 1, 1, 27, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (379, 64, 1, 1, 28, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (380, 64, 1, 1, 30, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (381, 64, 1, 1, 34, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (382, 65, 1, 1, 1, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (383, 65, 1, 1, 3, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (384, 65, 1, 1, 4, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (385, 65, 1, 1, 5, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (386, 65, 1, 1, 9, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (387, 65, 1, 1, 10, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (388, 65, 1, 1, 11, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (389, 65, 1, 1, 14, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (390, 65, 1, 1, 19, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (391, 65, 1, 1, 20, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (392, 65, 1, 1, 22, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (393, 65, 1, 1, 24, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (394, 65, 1, 1, 27, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (395, 65, 1, 1, 28, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (396, 65, 1, 1, 30, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (397, 65, 1, 1, 34, 10, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (398, 78, 1, 1, 1, 13, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (399, 78, 1, 1, 2, 13, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (400, 78, 1, 1, 3, 13, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (401, 78, 1, 1, 4, 13, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (402, 78, 1, 1, 5, 13, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (403, 78, 1, 1, 8, 13, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (404, 78, 1, 1, 18, 13, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (405, 78, 1, 1, 19, 13, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (406, 78, 1, 1, 20, 13, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (407, 78, 1, 1, 24, 13, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (408, 78, 1, 1, 34, 13, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (409, 78, 1, 1, 1, 14, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (410, 78, 1, 1, 2, 14, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (411, 78, 1, 1, 3, 14, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (412, 78, 1, 1, 4, 14, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (413, 78, 1, 1, 5, 14, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (414, 78, 1, 1, 8, 14, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (415, 78, 1, 1, 18, 14, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (416, 78, 1, 1, 19, 14, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (417, 78, 1, 1, 20, 14, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (418, 78, 1, 1, 24, 14, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (419, 78, 1, 1, 34, 14, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (420, 78, 1, 1, 1, 15, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (421, 78, 1, 1, 2, 15, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (422, 78, 1, 1, 3, 15, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (423, 78, 1, 1, 4, 15, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (424, 78, 1, 1, 5, 15, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (425, 78, 1, 1, 8, 15, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (426, 78, 1, 1, 18, 15, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (427, 78, 1, 1, 19, 15, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (428, 78, 1, 1, 20, 15, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (429, 78, 1, 1, 24, 15, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (430, 78, 1, 1, 34, 15, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (431, 78, 1, 1, 1, 16, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (432, 78, 1, 1, 2, 16, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (433, 78, 1, 1, 3, 16, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (434, 78, 1, 1, 4, 16, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (435, 78, 1, 1, 5, 16, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (436, 78, 1, 1, 8, 16, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (437, 78, 1, 1, 18, 16, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (438, 78, 1, 1, 19, 16, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (439, 78, 1, 1, 20, 16, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (440, 78, 1, 1, 24, 16, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (441, 78, 1, 1, 34, 16, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (442, 78, 1, 1, 1, 17, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (443, 78, 1, 1, 2, 17, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (444, 78, 1, 1, 3, 17, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (445, 78, 1, 1, 4, 17, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (446, 78, 1, 1, 5, 17, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (447, 78, 1, 1, 8, 17, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (448, 78, 1, 1, 18, 17, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (449, 78, 1, 1, 19, 17, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (450, 78, 1, 1, 20, 17, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (451, 78, 1, 1, 24, 17, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (452, 78, 1, 1, 34, 17, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (453, 587, 1, 1, 1, 19, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (454, 587, 1, 1, 2, 19, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (455, 587, 1, 1, 3, 19, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (456, 587, 1, 1, 19, 19, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (457, 587, 1, 1, 34, 19, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (458, 74, 1, 1, 1, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (459, 74, 1, 1, 2, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (460, 74, 1, 1, 3, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (461, 74, 1, 1, 4, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (462, 74, 1, 1, 5, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (463, 74, 1, 1, 6, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (464, 74, 1, 1, 7, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (465, 74, 1, 1, 8, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (466, 74, 1, 1, 9, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (467, 74, 1, 1, 10, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (468, 74, 1, 1, 11, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (469, 74, 1, 1, 12, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (470, 74, 1, 1, 13, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (471, 74, 1, 1, 14, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (472, 74, 1, 1, 15, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (473, 74, 1, 1, 16, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (474, 74, 1, 1, 17, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (475, 74, 1, 1, 18, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (476, 74, 1, 1, 19, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (477, 74, 1, 1, 20, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (478, 74, 1, 1, 21, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (479, 74, 1, 1, 22, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (480, 74, 1, 1, 23, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (481, 74, 1, 1, 24, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (482, 74, 1, 1, 25, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (483, 74, 1, 1, 26, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (484, 74, 1, 1, 27, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (485, 74, 1, 1, 28, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (486, 74, 1, 1, 29, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (487, 74, 1, 1, 30, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (488, 74, 1, 1, 31, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (489, 74, 1, 1, 32, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (490, 74, 1, 1, 33, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (491, 74, 1, 1, 34, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (492, 74, 1, 1, 35, 20, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (493, 74, 1, 1, 1, 21, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (494, 74, 1, 1, 2, 21, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (495, 74, 1, 1, 3, 21, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (496, 74, 1, 1, 19, 21, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (497, 74, 1, 1, 34, 21, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (498, 74, 1, 1, 1, 22, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (499, 74, 1, 1, 2, 22, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (500, 74, 1, 1, 3, 22, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (501, 74, 1, 1, 19, 22, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (502, 74, 1, 1, 34, 22, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (503, 74, 1, 1, 1, 23, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (504, 74, 1, 1, 2, 23, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (505, 74, 1, 1, 3, 23, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (506, 74, 1, 1, 19, 23, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (507, 74, 1, 1, 34, 23, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (508, 74, 1, 1, 1, 24, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (509, 74, 1, 1, 2, 24, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (510, 74, 1, 1, 3, 24, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (511, 74, 1, 1, 19, 24, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (512, 74, 1, 1, 34, 24, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (513, 74, 1, 1, 1, 25, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (514, 74, 1, 1, 2, 25, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (515, 74, 1, 1, 3, 25, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (516, 74, 1, 1, 19, 25, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (517, 74, 1, 1, 34, 25, 1, 1, '2020-05-15 00:00:00', 1, '2020-05-15 00:00:00');
INSERT INTO `ctp_cuenta_tipo_proceso` VALUES (518, NULL, 1, 1, 37, 1, 1, 9, '2020-05-27 11:17:30', 9, '2020-05-27 11:17:30');

-- ----------------------------
-- Table structure for ctr_categoria_retiro
-- ----------------------------
CREATE TABLE `ctr_categoria_retiro`  (
  `ctr_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal - categoría de retiro',
  `ctr_nombre` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre de categoría',
  `ctr_descripcion` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Descripción de categoría',
  `ctr_estado` int(11) NOT NULL COMMENT 'Estado de registro',
  `ctr_usu_mod` int(11) NOT NULL COMMENT 'Auditoría',
  `ctr_fecha_mod` datetime NOT NULL COMMENT 'Auditoría',
  `ctr_usu_creacion` int(11) NOT NULL COMMENT 'Auditoría',
  `ctr_fecha_creacion` datetime NOT NULL COMMENT 'Auditoría',
  PRIMARY KEY (`ctr_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = 'Categorias retiro de empleados' ROW_FORMAT = Compact;

-- ----------------------------
-- Records of ctr_categoria_retiro
-- ----------------------------
INSERT INTO `ctr_categoria_retiro` VALUES (1, 'Retiro voluntario', 'Retiro voluntario', 1, 1, '2025-07-04 12:00:00', 1, '2025-07-04 12:00:00');
INSERT INTO `ctr_categoria_retiro` VALUES (2, 'Despido', 'Despido', 1, 1, '2025-07-04 12:00:00', 1, '2025-07-04 12:00:00');

-- ----------------------------
-- Table structure for cts_categoria_salarial
-- ----------------------------
CREATE TABLE `cts_categoria_salarial`  (
  `cts_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal de categoria salarial',
  `cts_nombre` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Nombre ',
  `cts_nivel` int(11) NULL DEFAULT NULL COMMENT 'nivel',
  `cts_salario_minimo` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Salario minimo',
  `cts_salario_maximo` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Salario maximo',
  `cts_salario_medio` decimal(19, 2) NULL DEFAULT NULL COMMENT 'Salario medio',
  `cts_estado` tinyint(4) NOT NULL COMMENT 'Estado del registro',
  `cts_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `cts_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  `cts_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `cts_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`cts_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cts_categoria_salarial
-- ----------------------------
INSERT INTO `cts_categoria_salarial` VALUES (1, '01', 1, 1000.00, 5000.00, 3000.00, 1, 1, '2019-02-19 15:09:56', 1, '2019-02-19 15:13:56');
INSERT INTO `cts_categoria_salarial` VALUES (2, '02', 2, 700.00, 999.00, 800.00, 1, 1, '2019-02-19 15:09:56', 1, '2019-02-19 15:14:13');
INSERT INTO `cts_categoria_salarial` VALUES (3, '03', 3, 500.00, 699.00, 500.00, 1, 1, '2019-02-19 15:09:56', 1, '2019-02-19 15:14:22');
INSERT INTO `cts_categoria_salarial` VALUES (4, '04', 4, 300.00, 499.00, 400.00, 1, 1, '2019-02-19 15:09:56', 1, '2019-02-19 15:14:34');

-- ----------------------------
-- Table structure for cub_cuenta_bancaria
-- ----------------------------
CREATE TABLE `cub_cuenta_bancaria`  (
  `cub_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Llave principal  -  Cuenta bancaria',
  `cub_id_ban` int(11) NOT NULL COMMENT 'Llave principal  -  Banco',
  `cub_numero` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'Numero de la cuenta bancaria',
  `cub_nombre` varchar(300) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT ' ' COMMENT 'Nombre de la cuenta bancaria',
  `cub_saldo_inicial` decimal(19, 2) NOT NULL COMMENT 'Saldo inicial de la cuenta bancaria',
  `cub_saldo_minimo` decimal(19, 2) NULL DEFAULT 0.00 COMMENT 'Saldo minimo de la cuenta bancaria',
  `cub_fecha` datetime NULL DEFAULT NULL,
  `cub_saldo` decimal(19, 2) NOT NULL DEFAULT 0.00 COMMENT 'Saldo de la cuenta bancaria',
  `cub_tipo_defecto` int(11) NULL DEFAULT NULL COMMENT 'Tipo de cheque a generar por defecto 1 o null=cheque, 2=cheque voucher',
  `cub_permite_sobregiro` tinyint(4) NULL DEFAULT NULL COMMENT 'Permite saldo negativo 1=si, 0 o null =no',
  `cub_monto_sobregiro` decimal(19, 2) NULL DEFAULT 0.00 COMMENT 'Monto de sobregiro',
  `cub_estado` int(11) NOT NULL COMMENT 'Estado de la cuenta',
  `cub_id_orf` int(11) NULL DEFAULT NULL COMMENT 'Id de origen de fondos',
  `cub_id_tpc` int(11) NULL DEFAULT NULL COMMENT 'Id de tipo de cuenta bancaria',
  `cub_usu_mod` int(11) NOT NULL COMMENT 'Auditoria',
  `cub_fecha_mod` datetime NOT NULL COMMENT 'Auditoria',
  PRIMARY KEY (`cub_id`) USING BTREE,
  UNIQUE INDEX `uk_cuenta_bancaria`(`cub_id_ban` ASC, `cub_numero` ASC) USING BTREE,
  INDEX `fk_cub_id_orf`(`cub_id_orf` ASC) USING BTREE,
  INDEX `fk_cub_id_tpc`(`cub_id_tpc` ASC) USING BTREE,
  INDEX `fk_cub_x_ban`(`cub_id_ban` ASC) USING BTREE,
  CONSTRAINT `fk_cub_id_ban` FOREIGN KEY (`cub_id_ban`) REFERENCES `ban_banco` (`ban_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cub_id_orf` FOREIGN KEY (`cub_id_orf`) REFERENCES `orf_origen_fondos` (`orf_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `fk_cub_id_tpc` FOREIGN KEY (`cub_id_tpc`) REFERENCES `tpc_tipo_cuenta` (`tpc_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cub_cuenta_bancaria
-- ----------------------------
INSERT INTO `cub_cuenta_bancaria` VALUES (1, 1, '089510007639', 'Davivienda', 91456.93, 1000.00, '2015-06-01 00:00:00', 91456.93, 2, 0, 0.00, 1, 1, 1, 9, '2020-06-09 12:02:32');
INSERT INTO `cub_cuenta_bancaria` VALUES (2, 2, '043311020000044', 'Cuscatlan', 21653.52, 1500.00, '2008-06-01 00:00:00', 23090.66, 2, 0, 0.00, 1, 1, 1, 9, '2020-06-27 09:13:01');
INSERT INTO `cub_cuenta_bancaria` VALUES (3, 3, '5100027118', 'Agricola', 53382.61, 10000.00, '2019-07-16 00:00:00', 11647.88, 2, 0, 0.00, 1, 1, 1, 1, '2024-10-17 16:52:32');
INSERT INTO `cub_cuenta_bancaria` VALUES (4, 4, '200380244', 'BAC. 1', 122919.39, 500.00, '2019-07-16 00:00:00', -5540757.01, 1, 0, 0.00, 1, 1, 1, 1, '2024-08-14 16:29:17');
INSERT INTO `cub_cuenta_bancaria` VALUES (5, 4, '201077393', 'BAC. 2', 33028.20, 1000.00, '2019-07-16 00:00:00', -80135.30, 2, 0, 0.00, 1, 1, 1, 8, '2020-06-06 11:44:07');
INSERT INTO `cub_cuenta_bancaria` VALUES (6, 5, '118000354', 'Promerica', 15493.08, 8000.00, '2019-07-16 00:00:00', -3416.13, 2, 0, 0.00, 1, 1, 1, 9, '2020-06-27 09:32:56');
INSERT INTO `cub_cuenta_bancaria` VALUES (7, 6, '00210282943', 'Hipotecario', 2191.49, 500.00, '2019-07-16 00:00:00', 5205.29, 2, 0, 0.00, 1, 1, 1, 1, '2020-05-22 00:00:00');
INSERT INTO `cub_cuenta_bancaria` VALUES (8, 7, '010010008605', 'Industrial', 16186.33, 500.00, '2019-07-16 00:00:00', 1039.23, 2, 0, 0.00, 1, 1, 1, 1, '2020-05-22 00:00:00');
INSERT INTO `cub_cuenta_bancaria` VALUES (9, 8, '10000000020581', 'Azul 1', 23495.17, 10000.00, '2019-07-16 00:00:00', 60064.00, 1, 0, 0.00, 1, 1, 1, 1, '2020-05-22 00:00:00');
INSERT INTO `cub_cuenta_bancaria` VALUES (10, 8, '10000000020597', 'Azul 2', 34300.58, 7000.00, '2019-07-16 00:00:00', -475.91, 2, 0, 0.00, 1, 1, 1, 6, '2020-06-27 13:59:05');
INSERT INTO `cub_cuenta_bancaria` VALUES (11, 8, '10000000021499', 'Azul 3', 0.01, 0.00, '2019-07-16 00:00:00', 9.55, 1, 0, 0.00, 1, 1, 2, 1, '2020-05-22 00:00:00');

-- ----------------------------
-- Table structure for cva_conversion_articulo
-- ----------------------------
CREATE TABLE `cva_conversion_articulo`  (
  `cva_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'llave principal de conversión artículo',
  `cva_id_mep` int(11) NOT NULL COMMENT 'Codigo de la medida',
  `cva_id_art` int(11) NOT NULL COMMENT 'Llave principal de articulos',
  `cva_conversion` decimal(19, 6) NOT NULL COMMENT 'Cantidad a Conversión ',
  `cva_medida_equivalente` decimal(19, 6) NULL DEFAULT NULL COMMENT 'Medida equivalente',
  `cva_defecto` tinyint(4) NOT NULL COMMENT 'Es la unidad de conversión que se usara por defecto 1=si, 0=no',
  `cva_mod_seleccion` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Modulos de seleccion separados por coma',
  `cva_estado` int(11) NOT NULL COMMENT '0=inactivo, 1=activo',
  `cva_usu_modificacion` int(11) NOT NULL COMMENT 'auditoria',
  `cva_fecha_modificacion` datetime NOT NULL COMMENT 'auditoria',
  `cva_usu_creacion` int(11) NOT NULL COMMENT 'auditoria',
  `cva_fecha_creacion` datetime NOT NULL COMMENT 'auditoria',
  PRIMARY KEY (`cva_id`) USING BTREE,
  INDEX `fk_cva_id_mep`(`cva_id_mep` ASC) USING BTREE,
  INDEX `fk_cva_id_art`(`cva_id_art` ASC) USING BTREE,
  CONSTRAINT `fk_cva_id_art` FOREIGN KEY (`cva_id_art`) REFERENCES `art_articulo` (`art_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_cva_id_mep` FOREIGN KEY (`cva_id_mep`) REFERENCES `mep_medida_producto` (`mep_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 2382 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of cva_conversion_articulo
-- ----------------------------
INSERT INTO `cva_conversion_articulo` VALUES (1, 1, 1, 1.000000, NULL, 1, '', 1, 1, '2023-01-09 11:08:39', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (2, 1, 2, 1.000000, NULL, 1, '', 1, 1, '2023-01-31 12:58:17', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (3, 1, 3, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (4, 1, 4, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (5, 1, 5, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (6, 1, 6, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (7, 1, 7, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (8, 1, 8, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (9, 1, 9, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (10, 1, 10, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (11, 1, 11, 1.000000, NULL, 1, '', 1, 1, '2023-01-09 11:07:22', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (12, 1, 12, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (13, 1, 13, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (14, 1, 14, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (15, 1, 15, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (16, 1, 16, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (17, 1, 17, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (18, 1, 18, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (19, 1, 19, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (20, 1, 20, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (21, 1, 21, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (22, 1, 22, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (23, 1, 23, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (24, 1, 24, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (25, 1, 25, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (26, 1, 26, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (27, 1, 27, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (28, 1, 28, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (29, 1, 29, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (30, 1, 30, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (31, 1, 31, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (32, 1, 32, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (33, 1, 33, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (34, 1, 34, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (35, 1, 35, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (36, 1, 36, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (37, 1, 37, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (38, 1, 38, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (39, 1, 39, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (40, 1, 40, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (41, 1, 41, 1.000000, NULL, 1, '', 1, 1, '2021-12-28 08:19:33', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (44, 1, 44, 1.000000, NULL, 1, '', 1, 1, '2023-08-18 10:22:38', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (45, 1, 45, 1.000000, NULL, 1, '', 1, 1, '2022-11-15 15:22:34', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (47, 1, 47, 1.000000, NULL, 0, '', 0, 1, '2023-01-09 15:53:06', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (51, 1, 51, 1.000000, NULL, 0, '', 0, 1, '2023-01-09 15:54:20', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (53, 1, 53, 1.000000, NULL, 0, '', 0, 1, '2023-01-09 15:54:48', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (60, 1, 60, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (61, 1, 61, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (72, 1, 72, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (73, 1, 73, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (80, 1, 80, 1.000000, NULL, 1, '', 1, 1, '2023-10-23 12:05:56', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (82, 1, 82, 1.000000, NULL, 1, '', 1, 1, '2023-05-24 11:31:20', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (83, 1, 83, 1.000000, NULL, 1, '', 1, 1, '2023-05-26 11:30:56', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (90, 1, 90, 1.000000, NULL, 1, '', 1, 1, '2023-10-04 13:48:38', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (91, 1, 91, 1.000000, NULL, 1, '', 1, 1, '2023-10-04 13:48:14', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (92, 1, 92, 1.000000, NULL, 1, '', 1, 1, '2023-10-04 13:47:12', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (93, 1, 93, 1.000000, NULL, 1, '', 1, 1, '2023-10-04 13:47:49', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (94, 1, 94, 1.000000, NULL, 1, '', 1, 1, '2023-10-04 13:41:17', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (95, 1, 95, 1.000000, NULL, 1, '', 1, 1, '2023-10-04 13:51:23', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (97, 1, 97, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (98, 1, 98, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (99, 1, 99, 1.000000, NULL, 0, '', 0, 1, '2023-12-12 15:36:33', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (100, 1, 100, 1.000000, NULL, 1, '', 1, 1, '2020-04-06 00:00:00', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (101, 1, 101, 1.000000, NULL, 1, '', 1, 1, '2024-01-18 19:02:14', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (151, 1, 102, 1.000000, NULL, 0, '', 0, 1, '2024-01-18 19:19:23', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (200, 1, 103, 1.000000, NULL, 0, '', 0, 1, '2024-01-18 19:23:56', 1, '2020-04-06 00:00:00');
INSERT INTO `cva_conversion_articulo` VALUES (2239, 3, 42, 12.000000, NULL, 0, NULL, 1, 1, '2022-01-18 10:00:23', 1, '2022-01-18 10:00:23');
INSERT INTO `cva_conversion_articulo` VALUES (2240, 2, 42, 50.000000, NULL, 0, NULL, 1, 1, '2022-01-18 10:00:23', 1, '2022-01-18 10:00:23');
INSERT INTO `cva_conversion_articulo` VALUES (2245, 1, 47, 1.000000, NULL, 0, NULL, 0, 1, '2023-01-09 15:53:06', 1, '2022-02-16 17:18:22');
INSERT INTO `cva_conversion_articulo` VALUES (2247, 3, 41, 12.000000, NULL, 0, NULL, 1, 1, '2022-10-17 09:43:03', 1, '2022-10-17 09:43:03');
INSERT INTO `cva_conversion_articulo` VALUES (2249, 1, 42, 1.000000, NULL, 1, NULL, 1, 1, '2022-11-15 14:43:39', 1, '2022-11-15 14:43:39');
INSERT INTO `cva_conversion_articulo` VALUES (2250, 1, 43, 1.000000, NULL, 1, NULL, 1, 1, '2022-11-15 14:44:42', 1, '2022-11-15 14:44:42');
INSERT INTO `cva_conversion_articulo` VALUES (2253, 3, 45, 12.000000, NULL, 0, NULL, 1, 1, '2022-11-15 15:22:34', 1, '2022-11-15 15:20:02');
INSERT INTO `cva_conversion_articulo` VALUES (2254, 2, 45, 100.000000, NULL, 0, NULL, 1, 1, '2022-11-15 15:22:34', 1, '2022-11-15 15:20:02');
INSERT INTO `cva_conversion_articulo` VALUES (2256, 5, 46, 1.000000, NULL, 1, NULL, 1, 1, '2023-01-13 11:13:23', 1, '2023-01-09 11:15:21');
INSERT INTO `cva_conversion_articulo` VALUES (2257, 5, 47, 1.000000, NULL, 1, NULL, 1, 1, '2023-01-31 13:08:06', 1, '2023-01-09 15:30:32');
INSERT INTO `cva_conversion_articulo` VALUES (2258, 5, 48, 1.000000, NULL, 1, NULL, 1, 1, '2023-01-09 15:53:44', 1, '2023-01-09 15:37:26');
INSERT INTO `cva_conversion_articulo` VALUES (2259, 5, 49, 1.000000, NULL, 1, NULL, 1, 1, '2023-01-09 15:53:57', 1, '2023-01-09 15:38:55');
INSERT INTO `cva_conversion_articulo` VALUES (2260, 5, 50, 1.000000, NULL, 1, NULL, 1, 1, '2023-01-09 15:54:08', 1, '2023-01-09 15:40:13');
INSERT INTO `cva_conversion_articulo` VALUES (2261, 5, 51, 1.000000, NULL, 1, NULL, 1, 1, '2023-01-09 15:54:20', 1, '2023-01-09 15:41:18');
INSERT INTO `cva_conversion_articulo` VALUES (2262, 5, 52, 1.000000, NULL, 1, NULL, 1, 1, '2023-01-13 12:02:35', 1, '2023-01-09 15:42:39');
INSERT INTO `cva_conversion_articulo` VALUES (2263, 5, 53, 1.000000, NULL, 1, NULL, 1, 1, '2023-01-09 15:54:48', 1, '2023-01-09 15:44:21');
INSERT INTO `cva_conversion_articulo` VALUES (2264, 5, 54, 1.000000, NULL, 1, NULL, 1, 1, '2023-01-09 15:54:59', 1, '2023-01-09 15:47:46');
INSERT INTO `cva_conversion_articulo` VALUES (2265, 5, 55, 1.000000, NULL, 1, NULL, 1, 1, '2023-01-09 15:55:11', 1, '2023-01-09 15:50:50');
INSERT INTO `cva_conversion_articulo` VALUES (2266, 1, 56, 1.000000, NULL, 1, NULL, 1, 1, '2023-01-13 10:18:44', 1, '2023-01-13 10:18:44');
INSERT INTO `cva_conversion_articulo` VALUES (2267, 2, 46, 50.000000, NULL, 0, NULL, 1, 1, '2023-01-13 11:13:23', 1, '2023-01-13 11:13:23');
INSERT INTO `cva_conversion_articulo` VALUES (2268, 1, 57, 1.000000, NULL, 1, NULL, 1, 1, '2023-02-01 10:33:09', 1, '2023-02-01 10:33:09');
INSERT INTO `cva_conversion_articulo` VALUES (2269, 3, 57, 12.000000, NULL, 0, NULL, 1, 1, '2023-02-01 10:33:09', 1, '2023-02-01 10:33:09');
INSERT INTO `cva_conversion_articulo` VALUES (2270, 1, 58, 1.000000, NULL, 1, NULL, 1, 1, '2023-02-01 10:39:29', 1, '2023-02-01 10:39:29');
INSERT INTO `cva_conversion_articulo` VALUES (2271, 3, 58, 12.000000, NULL, 0, NULL, 1, 1, '2023-02-01 10:39:29', 1, '2023-02-01 10:39:29');
INSERT INTO `cva_conversion_articulo` VALUES (2272, 1, 59, 1.000000, NULL, 0, NULL, 1, 1, '2023-02-01 10:43:36', 1, '2023-02-01 10:43:36');
INSERT INTO `cva_conversion_articulo` VALUES (2273, 3, 59, 12.000000, NULL, 1, NULL, 1, 1, '2023-02-01 10:43:36', 1, '2023-02-01 10:43:36');
INSERT INTO `cva_conversion_articulo` VALUES (2275, 3, 60, 12.000000, NULL, 0, NULL, 1, 1, '2023-02-01 10:44:46', 1, '2023-02-01 10:44:46');
INSERT INTO `cva_conversion_articulo` VALUES (2277, 3, 61, 12.000000, NULL, 0, NULL, 1, 1, '2023-02-01 10:45:57', 1, '2023-02-01 10:45:57');
INSERT INTO `cva_conversion_articulo` VALUES (2278, 1, 62, 1.000000, NULL, 0, NULL, 1, 1, '2023-02-01 10:52:18', 1, '2023-02-01 10:52:18');
INSERT INTO `cva_conversion_articulo` VALUES (2279, 3, 62, 12.000000, NULL, 1, NULL, 1, 1, '2023-02-01 10:52:18', 1, '2023-02-01 10:52:18');
INSERT INTO `cva_conversion_articulo` VALUES (2280, 1, 63, 1.000000, NULL, 0, NULL, 1, 1, '2023-02-01 10:55:08', 1, '2023-02-01 10:55:08');
INSERT INTO `cva_conversion_articulo` VALUES (2281, 3, 63, 12.000000, NULL, 1, NULL, 1, 1, '2023-02-01 10:55:08', 1, '2023-02-01 10:55:08');
INSERT INTO `cva_conversion_articulo` VALUES (2282, 1, 64, 1.000000, NULL, 1, NULL, 1, 1, '2023-02-01 10:57:22', 1, '2023-02-01 10:57:22');
INSERT INTO `cva_conversion_articulo` VALUES (2283, 3, 64, 12.000000, NULL, 0, NULL, 1, 1, '2023-02-01 10:57:22', 1, '2023-02-01 10:57:22');
INSERT INTO `cva_conversion_articulo` VALUES (2284, 1, 65, 1.000000, NULL, 0, NULL, 1, 1, '2023-02-01 10:58:41', 1, '2023-02-01 10:58:41');
INSERT INTO `cva_conversion_articulo` VALUES (2285, 3, 65, 12.000000, NULL, 1, NULL, 1, 1, '2023-02-01 10:58:41', 1, '2023-02-01 10:58:41');
INSERT INTO `cva_conversion_articulo` VALUES (2286, 1, 66, 1.000000, NULL, 0, NULL, 1, 1, '2023-02-01 11:01:41', 1, '2023-02-01 11:01:41');
INSERT INTO `cva_conversion_articulo` VALUES (2287, 3, 66, 12.000000, NULL, 1, NULL, 1, 1, '2023-02-01 11:01:42', 1, '2023-02-01 11:01:42');
INSERT INTO `cva_conversion_articulo` VALUES (2288, 1, 67, 1.000000, NULL, 1, NULL, 1, 1, '2023-05-19 11:16:58', 1, '2023-04-14 11:38:50');
INSERT INTO `cva_conversion_articulo` VALUES (2289, 1, 68, 1.000000, NULL, 1, NULL, 1, 1, '2023-04-25 14:12:47', 1, '2023-04-25 14:06:58');
INSERT INTO `cva_conversion_articulo` VALUES (2290, 1, 69, 1.000000, NULL, 1, NULL, 1, 1, '2024-08-14 12:18:17', 1, '2023-04-25 14:07:32');
INSERT INTO `cva_conversion_articulo` VALUES (2291, 1, 70, 1.000000, NULL, 1, NULL, 1, 1, '2024-09-20 10:47:27', 1, '2023-04-25 14:08:21');
INSERT INTO `cva_conversion_articulo` VALUES (2292, 1, 71, 1.000000, NULL, 1, NULL, 1, 1, '2023-05-12 08:09:44', 1, '2023-05-12 08:09:44');
INSERT INTO `cva_conversion_articulo` VALUES (2295, 1, 74, 1.000000, NULL, 1, NULL, 1, 1, '2023-05-19 08:36:11', 1, '2023-05-19 08:21:46');
INSERT INTO `cva_conversion_articulo` VALUES (2296, 1, 75, 1.000000, NULL, 1, NULL, 1, 1, '2023-05-19 08:25:58', 1, '2023-05-19 08:25:58');
INSERT INTO `cva_conversion_articulo` VALUES (2298, 2, 76, 30.000000, NULL, 0, NULL, 1, 1, '2023-05-19 09:14:27', 1, '2023-05-19 08:33:47');
INSERT INTO `cva_conversion_articulo` VALUES (2299, 1, 77, 1.000000, NULL, 1, NULL, 1, 1, '2023-05-19 08:58:40', 1, '2023-05-19 08:47:20');
INSERT INTO `cva_conversion_articulo` VALUES (2300, 1, 78, 1.000000, NULL, 1, NULL, 1, 1, '2023-05-19 08:55:00', 1, '2023-05-19 08:55:00');
INSERT INTO `cva_conversion_articulo` VALUES (2301, 2, 78, 30.000000, NULL, 0, NULL, 1, 1, '2023-05-19 08:55:00', 1, '2023-05-19 08:55:00');
INSERT INTO `cva_conversion_articulo` VALUES (2302, 1, 79, 1.000000, NULL, 1, NULL, 1, 1, '2023-05-19 08:57:39', 1, '2023-05-19 08:57:39');
INSERT INTO `cva_conversion_articulo` VALUES (2303, 2, 79, 10.000000, NULL, 0, NULL, 1, 1, '2023-05-19 08:57:39', 1, '2023-05-19 08:57:39');
INSERT INTO `cva_conversion_articulo` VALUES (2304, 1, 76, 1.000000, NULL, 1, NULL, 1, 1, '2023-05-19 09:14:27', 1, '2023-05-19 09:14:27');
INSERT INTO `cva_conversion_articulo` VALUES (2306, 2, 80, 50.000000, NULL, 0, NULL, 1, 1, '2023-10-23 12:05:56', 1, '2023-05-23 11:06:42');
INSERT INTO `cva_conversion_articulo` VALUES (2307, 1, 81, 1.000000, NULL, 1, NULL, 1, 1, '2023-05-23 12:45:50', 1, '2023-05-23 11:39:14');
INSERT INTO `cva_conversion_articulo` VALUES (2308, 2, 81, 10.000000, NULL, 0, NULL, 1, 1, '2023-05-23 12:45:50', 1, '2023-05-23 11:39:14');
INSERT INTO `cva_conversion_articulo` VALUES (2310, 2, 82, 10.000000, NULL, 0, NULL, 1, 1, '2023-05-24 11:31:20', 1, '2023-05-24 11:22:34');
INSERT INTO `cva_conversion_articulo` VALUES (2312, 2, 83, 10.000000, NULL, 0, NULL, 1, 1, '2023-05-26 11:30:56', 1, '2023-05-26 11:03:00');
INSERT INTO `cva_conversion_articulo` VALUES (2313, 1, 84, 1.000000, NULL, 1, NULL, 1, 1, '2023-07-04 09:05:07', 1, '2023-07-04 09:05:07');
INSERT INTO `cva_conversion_articulo` VALUES (2314, 1, 85, 1.000000, NULL, 1, NULL, 1, 1, '2023-07-04 09:18:09', 1, '2023-07-04 09:18:09');
INSERT INTO `cva_conversion_articulo` VALUES (2315, 2, 85, 6.000000, NULL, 0, NULL, 1, 1, '2023-07-04 09:18:09', 1, '2023-07-04 09:18:09');
INSERT INTO `cva_conversion_articulo` VALUES (2316, 1, 86, 1.000000, NULL, 1, NULL, 1, 1, '2023-07-04 09:20:40', 1, '2023-07-04 09:20:40');
INSERT INTO `cva_conversion_articulo` VALUES (2317, 1, 87, 1.000000, NULL, 1, NULL, 1, 1, '2023-07-04 09:23:45', 1, '2023-07-04 09:23:45');
INSERT INTO `cva_conversion_articulo` VALUES (2318, 1, 88, 1.000000, NULL, 1, NULL, 1, 1, '2023-07-04 09:27:33', 1, '2023-07-04 09:27:33');
INSERT INTO `cva_conversion_articulo` VALUES (2319, 2, 88, 12.000000, NULL, 0, NULL, 1, 1, '2023-07-04 09:27:33', 1, '2023-07-04 09:27:33');
INSERT INTO `cva_conversion_articulo` VALUES (2320, 1, 89, 1.000000, NULL, 1, NULL, 1, 1, '2023-07-04 09:34:23', 1, '2023-07-04 09:34:23');
INSERT INTO `cva_conversion_articulo` VALUES (2321, 2, 44, 12.000000, NULL, 0, NULL, 1, 1, '2023-08-18 10:22:38', 1, '2023-08-18 10:22:38');
INSERT INTO `cva_conversion_articulo` VALUES (2323, 1, 91, 1.000000, NULL, 0, NULL, 0, 1, '2023-10-04 13:48:14', 1, '2023-10-04 13:37:13');
INSERT INTO `cva_conversion_articulo` VALUES (2324, 1, 92, 1.000000, NULL, 0, NULL, 0, 1, '2023-10-04 13:46:59', 1, '2023-10-04 13:37:46');
INSERT INTO `cva_conversion_articulo` VALUES (2325, 1, 93, 1.000000, NULL, 0, NULL, 0, 1, '2023-10-04 13:47:49', 1, '2023-10-04 13:38:30');
INSERT INTO `cva_conversion_articulo` VALUES (2328, 1, 96, 1.000000, NULL, 1, NULL, 1, 1, '2024-08-09 11:31:36', 1, '2023-10-04 16:19:12');
INSERT INTO `cva_conversion_articulo` VALUES (2329, 3, 96, 12.000000, NULL, 0, NULL, 1, 1, '2024-08-09 11:31:36', 1, '2023-10-04 16:19:12');
INSERT INTO `cva_conversion_articulo` VALUES (2331, 1, 98, 1.000000, NULL, 1, NULL, 1, 1, '2023-10-12 11:06:48', 1, '2023-10-12 11:06:48');
INSERT INTO `cva_conversion_articulo` VALUES (2332, 1, 97, 1.000000, NULL, 1, NULL, 1, 1, '2023-10-12 11:06:48', 1, '2023-10-12 11:06:48');
INSERT INTO `cva_conversion_articulo` VALUES (2333, 6, 99, 1.000000, NULL, 1, NULL, 1, 1, '2024-02-08 10:04:08', 1, '2023-12-12 15:33:19');
INSERT INTO `cva_conversion_articulo` VALUES (2334, 7, 99, 42.000000, NULL, 0, NULL, 1, 1, '2024-02-08 10:04:08', 1, '2023-12-12 15:38:06');
INSERT INTO `cva_conversion_articulo` VALUES (2335, 9, 99, 0.500000, NULL, 0, NULL, 1, 1, '2024-02-08 10:04:08', 1, '2023-12-12 15:42:25');
INSERT INTO `cva_conversion_articulo` VALUES (2336, 1, 100, 1.000000, NULL, 1, NULL, 1, 1, '2023-12-12 15:59:21', 1, '2023-12-12 15:59:21');
INSERT INTO `cva_conversion_articulo` VALUES (2337, 1, 101, 1.000000, NULL, 0, NULL, 0, 1, '2024-01-18 19:02:14', 1, '2024-01-18 19:01:12');
INSERT INTO `cva_conversion_articulo` VALUES (2339, 1, 103, 1.000000, NULL, 1, NULL, 1, 1, '2024-01-18 19:23:56', 1, '2024-01-18 19:16:13');
INSERT INTO `cva_conversion_articulo` VALUES (2340, 1, 102, 1.000000, NULL, 1, NULL, 1, 1, '2024-01-18 19:19:23', 1, '2024-01-18 19:19:23');
INSERT INTO `cva_conversion_articulo` VALUES (2341, 1, 104, 1.000000, NULL, 1, NULL, 1, 1, '2024-01-18 20:55:08', 1, '2024-01-18 20:55:08');
INSERT INTO `cva_conversion_articulo` VALUES (2342, 1, 105, 1.000000, NULL, 1, NULL, 1, 1, '2024-02-08 08:56:20', 1, '2024-02-08 08:43:40');
INSERT INTO `cva_conversion_articulo` VALUES (2343, 3, 105, 12.000000, NULL, 0, NULL, 1, 1, '2024-02-08 08:56:20', 1, '2024-02-08 08:43:40');
INSERT INTO `cva_conversion_articulo` VALUES (2344, 1, 106, 1.000000, NULL, 1, NULL, 1, 1, '2024-04-12 14:51:20', 1, '2024-04-12 14:46:10');
INSERT INTO `cva_conversion_articulo` VALUES (2345, 1, 107, 1.000000, NULL, 1, NULL, 1, 1, '2024-04-12 14:48:11', 1, '2024-04-12 14:48:11');
INSERT INTO `cva_conversion_articulo` VALUES (2346, 1, 108, 1.000000, NULL, 1, NULL, 1, 1, '2024-04-12 14:55:46', 1, '2024-04-12 14:54:15');
INSERT INTO `cva_conversion_articulo` VALUES (2347, 1, 109, 1.000000, NULL, 1, NULL, 1, 1, '2024-04-12 15:10:13', 1, '2024-04-12 15:00:28');
INSERT INTO `cva_conversion_articulo` VALUES (2348, 1, 110, 1.000000, NULL, 1, NULL, 1, 1, '2024-05-03 15:07:24', 1, '2024-05-03 15:07:24');
INSERT INTO `cva_conversion_articulo` VALUES (2349, 2, 110, 100.000000, NULL, 0, NULL, 1, 1, '2024-05-03 15:07:24', 1, '2024-05-03 15:07:24');
INSERT INTO `cva_conversion_articulo` VALUES (2350, 3, 110, 12.000000, NULL, 0, NULL, 1, 1, '2024-05-03 15:07:24', 1, '2024-05-03 15:07:24');
INSERT INTO `cva_conversion_articulo` VALUES (2351, 1, 111, 1.000000, NULL, 1, NULL, 1, 1, '2024-05-14 08:45:37', 1, '2024-05-14 08:44:04');
INSERT INTO `cva_conversion_articulo` VALUES (2352, 1, 112, 1.000000, NULL, 1, NULL, 1, 1, '2024-05-20 09:52:32', 1, '2024-05-20 09:32:24');
INSERT INTO `cva_conversion_articulo` VALUES (2353, 2, 112, 50.000000, NULL, 0, NULL, 1, 1, '2024-05-20 09:52:32', 1, '2024-05-20 09:32:24');
INSERT INTO `cva_conversion_articulo` VALUES (2354, 1, 113, 1.000000, NULL, 1, NULL, 1, 1, '2024-05-20 10:15:05', 1, '2024-05-20 09:50:20');
INSERT INTO `cva_conversion_articulo` VALUES (2355, 1, 114, 1.000000, NULL, 1, NULL, 1, 1, '2024-05-20 09:51:02', 1, '2024-05-20 09:51:02');
INSERT INTO `cva_conversion_articulo` VALUES (2356, 1, 115, 1.000000, NULL, 1, NULL, 1, 1, '2024-06-03 09:51:50', 1, '2024-05-20 09:51:27');
INSERT INTO `cva_conversion_articulo` VALUES (2357, 1, 116, 1.000000, NULL, 1, NULL, 1, 1, '2024-05-20 10:15:41', 1, '2024-05-20 10:15:41');
INSERT INTO `cva_conversion_articulo` VALUES (2358, 1, 117, 1.000000, NULL, 1, NULL, 1, 1, '2024-05-20 10:16:05', 1, '2024-05-20 10:16:05');
INSERT INTO `cva_conversion_articulo` VALUES (2359, 1, 118, 1.000000, NULL, 1, NULL, 1, 1, '2024-06-03 09:50:50', 1, '2024-06-03 09:49:47');
INSERT INTO `cva_conversion_articulo` VALUES (2360, 1, 119, 1.000000, NULL, 1, NULL, 1, 1, '2024-06-03 09:50:33', 1, '2024-06-03 09:50:33');
INSERT INTO `cva_conversion_articulo` VALUES (2361, 1, 120, 1.000000, NULL, 1, NULL, 1, 1, '2024-07-04 09:29:21', 1, '2024-07-04 09:29:21');
INSERT INTO `cva_conversion_articulo` VALUES (2362, 1, 121, 1.000000, NULL, 1, NULL, 1, 1, '2024-10-10 10:18:54', 1, '2024-10-10 10:18:54');
INSERT INTO `cva_conversion_articulo` VALUES (2363, 1, 122, 1.000000, NULL, 1, NULL, 1, 1, '2024-10-10 10:21:28', 1, '2024-10-10 10:21:28');
INSERT INTO `cva_conversion_articulo` VALUES (2364, 1, 123, 1.000000, NULL, 1, NULL, 1, 1, '2024-10-10 10:22:27', 1, '2024-10-10 10:22:27');
INSERT INTO `cva_conversion_articulo` VALUES (2365, 1, 124, 1.000000, NULL, 1, NULL, 1, 1, '2024-10-10 10:23:23', 1, '2024-10-10 10:23:23');
INSERT INTO `cva_conversion_articulo` VALUES (2366, 1, 125, 1.000000, NULL, 1, NULL, 1, 1, '2024-10-10 10:25:26', 1, '2024-10-10 10:25:26');
INSERT INTO `cva_conversion_articulo` VALUES (2367, 1, 126, 1.000000, NULL, 1, NULL, 1, 1, '2024-10-10 12:32:16', 1, '2024-10-10 10:30:48');
INSERT INTO `cva_conversion_articulo` VALUES (2368, 1, 127, 1.000000, NULL, 1, NULL, 1, 1, '2024-10-10 10:44:54', 1, '2024-10-10 10:37:33');
INSERT INTO `cva_conversion_articulo` VALUES (2369, 1, 128, 1.000000, NULL, 1, NULL, 1, 1, '2024-10-10 10:45:06', 1, '2024-10-10 10:40:46');
INSERT INTO `cva_conversion_articulo` VALUES (2370, 1, 129, 1.000000, NULL, 1, NULL, 1, 1, '2024-10-10 10:45:18', 1, '2024-10-10 10:42:21');
INSERT INTO `cva_conversion_articulo` VALUES (2371, 1, 130, 1.000000, NULL, 1, NULL, 1, 1, '2024-10-10 12:23:42', 1, '2024-10-10 12:23:42');
INSERT INTO `cva_conversion_articulo` VALUES (2372, 1, 131, 1.000000, NULL, 1, NULL, 1, 1, '2024-10-23 15:37:50', 65, '2024-10-17 17:02:35');
INSERT INTO `cva_conversion_articulo` VALUES (2373, 1, 132, 1.000000, NULL, 1, NULL, 1, 65, '2024-10-17 17:24:56', 65, '2024-10-17 17:24:56');
INSERT INTO `cva_conversion_articulo` VALUES (2374, 1, 133, 1.000000, NULL, 1, NULL, 1, 65, '2024-10-17 17:25:33', 65, '2024-10-17 17:25:33');
INSERT INTO `cva_conversion_articulo` VALUES (2375, 1, 134, 1.000000, NULL, 1, NULL, 1, 1, '2024-10-23 10:53:56', 1, '2024-10-23 10:53:56');
INSERT INTO `cva_conversion_articulo` VALUES (2376, 1, 135, 1.000000, NULL, 1, NULL, 1, 1, '2024-11-11 12:53:59', 1, '2024-11-11 12:53:59');
INSERT INTO `cva_conversion_articulo` VALUES (2377, 7, 136, 10.000000, NULL, 1, NULL, 1, 1, '2025-01-15 13:10:27', 1, '2025-01-15 13:10:27');
INSERT INTO `cva_conversion_articulo` VALUES (2378, 1, 137, 1.000000, NULL, 1, NULL, 1, 65, '2025-02-24 12:07:26', 65, '2025-02-24 08:46:31');
INSERT INTO `cva_conversion_articulo` VALUES (2379, 1, 138, 1.000000, NULL, 1, NULL, 1, 65, '2025-02-24 08:52:00', 65, '2025-02-24 08:52:00');
INSERT INTO `cva_conversion_articulo` VALUES (2380, 1, 139, 1.000000, NULL, 1, NULL, 1, 65, '2025-02-24 08:52:47', 65, '2025-02-24 08:52:47');
INSERT INTO `cva_conversion_articulo` VALUES (2381, 1, 140, 1.000000, NULL, 1, NULL, 1, 65, '2025-02-24 10:07:07', 65, '2025-02-24 08:53:11');

-- ----------------------------
-- Table structure for cvn_conversion_nota
-- ----------------------------
