INSERT INTO `ec_ventas` (`id_venta`, `folio`, `folio_fiscal`, `numero_orden`, `certificado_csd`, `sello_digital`, `cadena_original`, `certificado_sat`, `fecha`, `hora`, `subtotal`, `iva`, `total`, `id_usuario`, `id_sucursal`, `id_cliente`, `facturado`, `id_forma_pago`, `id_metodo_pago`, `fecha_timbrado`, `cancelado`, `clave_cliente`, `cfdi`, `fecha_real`, `hora_real`, `facturacion_productos_especificos`, `es_venta_linea`) VALUES
(2841, 'A2838', '', 'CS2841', '', '', '', '', '2023-11-18', '16:56:51', 2018.00, 0.00, 2018.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2842, 'A2839', '', 'CS2842', '', '', '', '', '2023-11-18', '17:00:24', 2345.00, 0.00, 2345.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2843, 'A2840', '', 'CS2843', '', '', '', '', '2023-11-18', '17:00:24', 1.00, 0.00, 1.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2844, 'A2841', '', 'CS2844', '', '', '', '', '2023-11-18', '17:09:34', 1066.00, 0.00, 1066.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2845, 'A2842', '', 'CS2845', '', '', '', '', '2023-11-18', '17:12:42', 450.00, 0.00, 450.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2846, 'A2843', '', 'CS2846', '', '', '', '', '2023-11-18', '17:20:38', 830.00, 0.00, 830.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2847, 'A2844', '', 'CS2847', '', '', '', '', '2023-11-18', '17:24:35', 3999.00, 0.00, 3999.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2848, 'A2845', '', 'CS2848', '', '', '', '', '2023-11-18', '17:37:37', 1303.00, 0.00, 1303.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2849, 'A2846', '', 'CS2849', '', '', '', '', '2023-11-18', '17:46:54', 360.00, 0.00, 360.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2850, 'A2847', '', 'CS2850', '', '', '', '', '2023-11-18', '17:46:54', 1.00, 0.00, 1.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2851, 'A2848', '', 'CS2851', '', '', '', '', '2023-11-18', '17:48:50', 1420.00, 0.00, 1420.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2852, 'A2849', '', 'CS2852', '', '', '', '', '2023-11-18', '17:52:45', 320.00, 0.00, 320.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2853, 'A2850', '', 'CS2853', '', '', '', '', '2023-11-18', '18:11:57', 272.00, 0.00, 272.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2854, 'A2851', '', 'CS2854', '', '', '', '', '2023-11-18', '18:13:14', 973.00, 0.00, 973.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2855, 'A2852', '', 'CS2855', '', '', '', '', '2023-11-18', '18:14:07', 165.00, 0.00, 165.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2856, 'A2853', '', 'CS2856', '', '', '', '', '2023-11-18', '18:17:54', 260.00, 0.00, 260.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2857, 'A2854', '', 'CS2857', '', '', '', '', '2023-11-18', '18:19:07', 1721.00, 0.00, 1721.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2858, 'A2855', '', 'CS2858', '', '', '', '', '2023-11-18', '18:38:36', 950.00, 0.00, 950.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2859, 'A2856', '', 'CS2859', '', '', '', '', '2023-11-18', '18:41:00', 550.00, 0.00, 550.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2860, 'A2857', '', 'CS2860', '', '', '', '', '2023-11-18', '18:42:13', 1845.00, 0.00, 1845.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2861, 'A2858', '', 'CS2861', '', '', '', '', '2023-11-18', '18:47:02', 2914.00, 0.00, 2914.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2862, 'A2859', '', 'CS2862', '', '', '', '', '2023-11-18', '18:48:18', 210.00, 0.00, 210.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2863, 'A2860', '', 'CS2863', '', '', '', '', '2023-11-18', '19:05:54', 1239.00, 0.00, 1239.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2864, 'A2861', '', 'CS2864', '', '', '', '', '2023-11-18', '19:08:27', 2149.00, 0.00, 2149.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2865, 'A2862', '', 'CS2865', '', '', '', '', '2023-11-18', '19:09:24', 340.00, 0.00, 340.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2866, 'A2863', '', 'CS2866', '', '', '', '', '2023-11-18', '19:10:22', 317.00, 0.00, 317.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2867, 'A2864', '', 'CS2867', '', '', '', '', '2023-11-18', '19:24:07', 849.00, 0.00, 849.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2868, 'A2865', '', 'CS2868', '', '', '', '', '2023-11-18', '19:24:57', 350.00, 0.00, 350.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2869, 'A2866', '', 'CS2869', '', '', '', '', '2023-11-18', '19:27:04', 1963.00, 0.00, 1963.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2870, 'A2867', '', 'CS2870', '', '', '', '', '2023-11-18', '19:42:08', 230.00, 0.00, 230.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2871, 'A2868', '', 'CS2871', '', '', '', '', '2023-11-18', '19:53:45', 470.00, 0.00, 470.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2872, 'A2869', '', 'CS2872', '', '', '', '', '2023-11-18', '19:59:08', 230.00, 0.00, 230.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2873, 'A2870', '', 'CS2873', '', '', '', '', '2023-11-18', '20:01:30', 1200.00, 0.00, 1200.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2874, 'A2871', '', 'CS2874', '', '', '', '', '2023-11-18', '20:02:14', 590.00, 0.00, 590.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2875, 'A2872', '', 'CS2875', '', '', '', '', '2023-11-18', '20:03:14', 285.00, 0.00, 285.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2876, 'A2873', '', 'CS2876', '', '', '', '', '2023-11-18', '20:05:52', 488.00, 0.00, 488.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2877, 'A2874', '', 'CS2877', '', '', '', '', '2023-11-18', '20:10:27', 753.00, 0.00, 753.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2878, 'A2875', '', 'CS2878', '', '', '', '', '2023-11-18', '20:15:39', 210.00, 0.00, 210.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2879, 'A2876', '', 'CS2879', '', '', '', '', '2023-11-18', '20:16:41', 1050.00, 0.00, 1050.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2880, 'A2877', '', 'CS2880', '', '', '', '', '2023-11-18', '20:24:35', 650.00, 0.00, 650.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2881, 'A2878', '', 'CS2881', '', '', '', '', '2023-11-18', '20:30:36', 780.00, 0.00, 780.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2882, 'A2879', '', 'CS2882', '', '', '', '', '2023-11-18', '20:36:59', 1140.00, 0.00, 1140.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2883, 'A2880', '', 'CS2883', '', '', '', '', '2023-11-18', '20:39:34', 490.00, 0.00, 490.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2884, 'A2881', '', 'CS2884', '', '', '', '', '2023-11-18', '20:40:46', 490.00, 0.00, 490.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2885, 'A2882', '', 'CS2885', '', '', '', '', '2023-11-18', '20:47:32', 249.00, 0.00, 249.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2886, 'A2883', '', 'CS2886', '', '', '', '', '2023-11-18', '20:49:08', 1761.00, 0.00, 1761.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2887, 'A2884', '', 'CS2887', '', '', '', '', '2023-11-18', '20:52:39', 299.00, 0.00, 299.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2888, 'A2885', '', 'CS2888', '', '', '', '', '2023-11-18', '21:08:45', 549.00, 0.00, 549.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2889, 'A2886', '', 'CS2889', '', '', '', '', '2023-11-18', '21:34:58', 330.00, 0.00, 330.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2890, 'A2887', '', 'CS2890', '', '', '', '', '2023-11-18', '21:37:22', 1461.00, 0.00, 1461.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2891, 'A2888', '', 'CS2891', '', '', '', '', '2023-11-18', '21:38:31', 1935.00, 0.00, 1935.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2892, 'A2889', '', 'CS2892', '', '', '', '', '2023-11-18', '21:42:12', 2390.00, 0.00, 2390.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2893, 'A2890', '', 'CS2893', '', '', '', '', '2023-11-18', '21:51:33', 735.00, 0.00, 735.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2894, 'A2891', '', 'CS2894', '', '', '', '', '2023-11-18', '21:57:29', 499.00, 0.00, 499.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2895, 'A2892', '', 'CS2895', '', '', '', '', '2023-11-18', '22:15:04', 4643.00, 0.00, 4643.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2896, 'A2893', '', 'CS2896', '', '', '', '', '2023-11-18', '22:33:34', 6834.00, 0.00, 6834.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2897, 'A2894', '', 'CS2897', '', '', '', '', '2023-11-18', '00:00:00', 1.00, 0.00, 1.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2898, 'A2895', '', 'CS2898', '', '', '', '', '2023-11-18', '00:00:00', 290.00, 0.00, 290.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2899, 'A2896', '', 'CS2899', '', '', '', '', '2023-11-18', '00:00:00', 1.00, 0.00, 1.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2900, 'A2897', '', 'CS2900', '', '', '', '', '2023-11-19', '10:32:30', 1400.00, 0.00, 1400.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2901, 'A2898', '', 'CS2901', '', '', '', '', '2023-11-19', '10:55:41', 705.00, 0.00, 705.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2902, 'A2899', '', 'CS2902', '', '', '', '', '2023-11-19', '11:21:02', 750.00, 0.00, 750.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2903, 'A2900', '', 'CS2903', '', '', '', '', '2023-11-19', '11:37:00', 1120.00, 0.00, 1120.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2904, 'A2901', '', 'CS2904', '', '', '', '', '2023-11-19', '11:39:43', 255.00, 0.00, 255.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2905, 'A2902', '', 'CS2905', '', '', '', '', '2023-11-19', '12:02:56', 3430.00, 0.00, 3430.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2906, 'A2903', '', 'CS2906', '', '', '', '', '2023-11-19', '12:12:25', 460.00, 0.00, 460.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2907, 'A2904', '', 'CS2907', '', '', '', '', '2023-11-19', '12:12:25', 1089.00, 0.00, 1089.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2908, 'A2905', '', 'CS2908', '', '', '', '', '2023-11-19', '12:14:55', 1197.00, 0.00, 1197.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2909, 'A2906', '', 'CS2909', '', '', '', '', '2023-11-19', '12:17:35', 250.00, 0.00, 250.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2910, 'A2907', '', 'CS2910', '', '', '', '', '2023-11-19', '12:18:32', 500.00, 0.00, 500.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2911, 'A2908', '', 'CS2911', '', '', '', '', '2023-11-19', '12:23:58', 708.00, 0.00, 708.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2912, 'A2909', '', 'CS2912', '', '', '', '', '2023-11-19', '12:47:38', 1450.00, 0.00, 1450.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2913, 'A2910', '', 'CS2913', '', '', '', '', '2023-11-19', '13:10:24', 775.00, 0.00, 775.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2914, 'A2911', '', 'CS2914', '', '', '', '', '2023-11-19', '13:11:19', 1060.00, 0.00, 1060.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2915, 'A2912', '', 'CS2915', '', '', '', '', '2023-11-19', '13:15:22', 260.00, 0.00, 260.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2916, 'A2913', '', 'CS2916', '', '', '', '', '2023-11-19', '13:16:48', 1015.00, 0.00, 1015.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2917, 'A2914', '', 'CS2917', '', '', '', '', '2023-11-19', '13:27:24', 810.00, 0.00, 810.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2918, 'A2915', '', 'CS2918', '', '', '', '', '2023-11-19', '13:30:43', 199.00, 0.00, 199.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2919, 'A2916', '', 'CS2919', '', '', '', '', '2023-11-19', '13:34:21', 1088.00, 0.00, 1088.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2920, 'A2917', '', 'CS2920', '', '', '', '', '2023-11-19', '13:40:13', 3347.00, 0.00, 3347.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2921, 'A2918', '', 'CS2921', '', '', '', '', '2023-11-19', '13:44:00', 1090.00, 0.00, 1090.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2922, 'A2919', '', 'CS2922', '', '', '', '', '2023-11-19', '13:47:03', 1735.00, 0.00, 1735.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2923, 'A2920', '', 'CS2923', '', '', '', '', '2023-11-19', '13:48:06', 130.00, 0.00, 130.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2924, 'A2921', '', 'CS2924', '', '', '', '', '2023-11-19', '13:49:24', 2359.00, 0.00, 2359.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2925, 'A2922', '', 'CS2925', '', '', '', '', '2023-11-19', '13:50:43', 1489.00, 0.00, 1489.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2926, 'A2923', '', 'CS2926', '', '', '', '', '2023-11-19', '13:51:41', 3381.00, 0.00, 3381.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2927, 'A2924', '', 'CS2927', '', '', '', '', '2023-11-19', '13:51:41', 62.75, 0.00, 62.75, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2928, 'A2925', '', 'CS2928', '', '', '', '', '2023-11-19', '13:52:56', 5691.00, 0.00, 5691.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2929, 'A2926', '', 'CS2929', '', '', '', '', '2023-11-19', '13:53:45', 220.00, 0.00, 220.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2930, 'A2927', '', 'CS2930', '', '', '', '', '2023-11-19', '14:00:09', 2399.00, 0.00, 2399.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2931, 'A2928', '', 'CS2931', '', '', '', '', '2023-11-19', '14:02:14', 3270.00, 0.00, 3270.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2932, 'A2929', '', 'CS2932', '', '', '', '', '2023-11-19', '14:08:29', 4188.00, 0.00, 4188.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2933, 'A2930', '', 'CS2933', '', '', '', '', '2023-11-19', '14:08:29', 550.00, 0.00, 550.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2934, 'A2931', '', 'CS2934', '', '', '', '', '2023-11-19', '14:21:18', 1135.00, 0.00, 1135.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2935, 'A2932', '', 'CS2935', '', '', '', '', '2023-11-19', '14:21:18', 929.00, 0.00, 929.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2936, 'A2933', '', 'CS2936', '', '', '', '', '2023-11-19', '14:22:22', 3588.00, 0.00, 3588.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2937, 'A2934', '', 'CS2937', '', '', '', '', '2023-11-19', '14:32:39', 930.00, 0.00, 930.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2938, 'A2935', '', 'CS2938', '', '', '', '', '2023-11-19', '14:40:27', 749.00, 0.00, 749.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2939, 'A2936', '', 'CS2939', '', '', '', '', '2023-11-19', '14:51:41', 150.00, 0.00, 150.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2940, 'A2937', '', 'CS2940', '', '', '', '', '2023-11-19', '14:55:20', 1377.00, 0.00, 1377.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2941, 'A2938', '', 'CS2941', '', '', '', '', '2023-11-19', '15:02:07', 700.00, 0.00, 700.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2942, 'A2939', '', 'CS2942', '', '', '', '', '2023-11-19', '15:14:21', 714.00, 0.00, 714.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2943, 'A2940', '', 'CS2943', '', '', '', '', '2023-11-19', '15:20:16', 5120.00, 0.00, 5120.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2944, 'A2941', '', 'CS2944', '', '', '', '', '2023-11-19', '15:24:41', 805.00, 0.00, 805.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2945, 'A2942', '', 'CS2945', '', '', '', '', '2023-11-19', '15:25:23', 800.00, 0.00, 800.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2946, 'A2943', '', 'CS2946', '', '', '', '', '2023-11-19', '15:26:44', 530.00, 0.00, 530.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2947, 'A2944', '', 'CS2947', '', '', '', '', '2023-11-19', '15:29:03', 865.00, 0.00, 865.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2948, 'A2945', '', 'CS2948', '', '', '', '', '2023-11-19', '15:30:04', 510.00, 0.00, 510.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2949, 'A2946', '', 'CS2949', '', '', '', '', '2023-11-19', '15:32:31', 1090.00, 0.00, 1090.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2950, 'A2947', '', 'CS2950', '', '', '', '', '2023-11-19', '15:48:10', 55.00, 0.00, 55.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2951, 'A2948', '', 'CS2951', '', '', '', '', '2023-11-19', '16:02:51', 598.00, 0.00, 598.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2952, 'A2949', '', 'CS2952', '', '', '', '', '2023-11-19', '16:10:21', 3615.00, 0.00, 3615.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2953, 'A2950', '', 'CS2953', '', '', '', '', '2023-11-19', '16:11:33', 245.00, 0.00, 245.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2954, 'A2951', '', 'CS2954', '', '', '', '', '2023-11-19', '16:11:33', 624.00, 0.00, 624.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2955, 'A2952', '', 'CS2955', '', '', '', '', '2023-11-19', '16:12:29', 3402.00, 0.00, 3402.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2956, 'A2953', '', 'CS2956', '', '', '', '', '2023-11-19', '16:15:17', 200.00, 0.00, 200.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2957, 'A2954', '', 'CS2957', '', '', '', '', '2023-11-19', '16:28:59', 420.00, 0.00, 420.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2958, 'A2955', '', 'CS2958', '', '', '', '', '2023-11-19', '16:36:24', 4243.00, 0.00, 4243.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2959, 'A2956', '', 'CS2959', '', '', '', '', '2023-11-19', '16:39:10', 4243.00, 0.00, 4243.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2960, 'A2957', '', 'CS2960', '', '', '', '', '2023-11-19', '16:40:10', 99.00, 0.00, 99.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2961, 'A2958', '', 'CS2961', '', '', '', '', '2023-11-19', '16:45:49', 1260.00, 0.00, 1260.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2962, 'A2959', '', 'CS2962', '', '', '', '', '2023-11-19', '16:49:16', 300.00, 0.00, 300.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2963, 'A2960', '', 'CS2963', '', '', '', '', '2023-11-19', '17:07:50', 660.00, 0.00, 660.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2964, 'A2961', '', 'CS2964', '', '', '', '', '2023-11-19', '17:07:50', 1400.00, 0.00, 1400.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2965, 'A2962', '', 'CS2965', '', '', '', '', '2023-11-19', '17:09:11', 1034.00, 0.00, 1034.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2966, 'A2963', '', 'CS2966', '', '', '', '', '2023-11-19', '17:14:16', 1019.00, 0.00, 1019.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2967, 'A2964', '', 'CS2967', '', '', '', '', '2023-11-19', '17:15:47', 155.00, 0.00, 155.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2968, 'A2965', '', 'CS2968', '', '', '', '', '2023-11-19', '17:26:03', 3561.00, 0.00, 3561.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2969, 'A2966', '', 'CS2969', '', '', '', '', '2023-11-19', '17:34:59', 2910.00, 0.00, 2910.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2970, 'A2967', '', 'CS2970', '', '', '', '', '2023-11-19', '17:42:49', 904.00, 0.00, 904.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2971, 'A2968', '', 'CS2971', '', '', '', '', '2023-11-19', '17:43:53', 300.00, 0.00, 300.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2972, 'A2969', '', 'CS2972', '', '', '', '', '2023-11-19', '17:53:22', 640.00, 0.00, 640.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2973, 'A2970', '', 'CS2973', '', '', '', '', '2023-11-19', '17:53:22', 1120.00, 0.00, 1120.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2974, 'A2971', '', 'CS2974', '', '', '', '', '2023-11-19', '18:00:51', 230.00, 0.00, 230.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2975, 'A2972', '', 'CS2975', '', '', '', '', '2023-11-19', '18:02:25', 1066.00, 0.00, 1066.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2976, 'A2973', '', 'CS2976', '', '', '', '', '2023-11-19', '18:03:15', 580.00, 0.00, 580.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2977, 'A2974', '', 'CS2977', '', '', '', '', '2023-11-19', '18:16:44', 560.00, 0.00, 560.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2978, 'A2975', '', 'CS2978', '', '', '', '', '2023-11-19', '18:17:37', 1370.00, 0.00, 1370.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2979, 'A2976', '', 'CS2979', '', '', '', '', '2023-11-19', '18:17:37', 750.00, 0.00, 750.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2980, 'A2977', '', 'CS2980', '', '', '', '', '2023-11-19', '18:18:34', 120.00, 0.00, 120.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2981, 'A2978', '', 'CS2981', '', '', '', '', '2023-11-19', '18:22:07', 630.00, 0.00, 630.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2982, 'A2979', '', 'CS2982', '', '', '', '', '2023-11-19', '18:22:07', 255.00, 0.00, 255.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2983, 'A2980', '', 'CS2983', '', '', '', '', '2023-11-19', '18:25:24', 800.00, 0.00, 800.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2984, 'A2981', '', 'CS2984', '', '', '', '', '2023-11-19', '18:30:55', 799.00, 0.00, 799.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2985, 'A2982', '', 'CS2985', '', '', '', '', '2023-11-19', '18:33:46', 3870.00, 0.00, 3870.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2986, 'A2983', '', 'CS2986', '', '', '', '', '2023-11-19', '18:38:25', 220.00, 0.00, 220.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2987, 'A2984', '', 'CS2987', '', '', '', '', '2023-11-19', '18:39:16', 490.00, 0.00, 490.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2988, 'A2985', '', 'CS2988', '', '', '', '', '2023-11-19', '18:40:08', 465.00, 0.00, 465.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2989, 'A2986', '', 'CS2989', '', '', '', '', '2023-11-19', '18:55:29', 1000.00, 0.00, 1000.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2990, 'A2987', '', 'CS2990', '', '', '', '', '2023-11-19', '18:56:48', 230.00, 0.00, 230.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2991, 'A2988', '', 'CS2991', '', '', '', '', '2023-11-19', '19:00:23', 3050.00, 0.00, 3050.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2992, 'A2989', '', 'CS2992', '', '', '', '', '2023-11-19', '19:01:15', 550.00, 0.00, 550.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2993, 'A2990', '', 'CS2993', '', '', '', '', '2023-11-19', '19:15:01', 1490.00, 0.00, 1490.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2994, 'A2991', '', 'CS2994', '', '', '', '', '2023-11-19', '19:22:58', 580.00, 0.00, 580.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2995, 'A2992', '', 'CS2995', '', '', '', '', '2023-11-19', '19:23:54', 745.00, 0.00, 745.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2996, 'A2993', '', 'CS2996', '', '', '', '', '2023-11-19', '19:25:11', 2625.00, 0.00, 2625.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2997, 'A2994', '', 'CS2997', '', '', '', '', '2023-11-19', '19:26:38', 965.00, 0.00, 965.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2998, 'A2995', '', 'CS2998', '', '', '', '', '2023-11-19', '19:28:41', 4413.00, 0.00, 4413.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(2999, 'A2996', '', 'CS2999', '', '', '', '', '2023-11-19', '19:30:32', 780.00, 0.00, 780.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3000, 'A2997', '', 'CS3000', '', '', '', '', '2023-11-19', '19:31:17', 665.00, 0.00, 665.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3001, 'A2998', '', 'CS3001', '', '', '', '', '2023-11-19', '19:32:10', 910.00, 0.00, 910.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3002, 'A2999', '', 'CS3002', '', '', '', '', '2023-11-19', '19:34:16', 198.00, 0.00, 198.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3003, 'A3000', '', 'CS3003', '', '', '', '', '2023-11-19', '19:39:44', 855.00, 0.00, 855.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3004, 'A3001', '', 'CS3004', '', '', '', '', '2023-11-19', '19:42:04', 2343.00, 0.00, 2343.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3005, 'A3002', '', 'CS3005', '', '', '', '', '2023-11-19', '19:44:40', 1095.00, 0.00, 1095.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3006, 'A3003', '', 'CS3006', '', '', '', '', '2023-11-19', '19:45:28', 1288.00, 0.00, 1288.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3007, 'A3004', '', 'CS3007', '', '', '', '', '2023-11-19', '19:46:24', 1150.00, 0.00, 1150.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3008, 'A3005', '', 'CS3008', '', '', '', '', '2023-11-19', '19:48:20', 643.00, 0.00, 643.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3009, 'A3006', '', 'CS3009', '', '', '', '', '2023-11-19', '19:51:20', 345.00, 0.00, 345.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3010, 'A3007', '', 'CS3010', '', '', '', '', '2023-11-19', '20:01:30', 1925.00, 0.00, 1925.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3011, 'A3008', '', 'CS3011', '', '', '', '', '2023-11-19', '20:05:54', 1414.00, 0.00, 1414.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3012, 'A3009', '', 'CS3012', '', '', '', '', '2023-11-19', '20:10:34', 360.00, 0.00, 360.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3013, 'A3010', '', 'CS3013', '', '', '', '', '2023-11-19', '20:12:23', 445.00, 0.00, 445.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3014, 'A3011', '', 'CS3014', '', '', '', '', '2023-11-19', '20:19:33', 500.00, 0.00, 500.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3015, 'A3012', '', 'CS3015', '', '', '', '', '2023-11-19', '20:26:52', 1589.00, 0.00, 1589.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3016, 'A3013', '', 'CS3016', '', '', '', '', '2023-11-19', '20:28:23', 1510.00, 0.00, 1510.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3017, 'A3014', '', 'CS3017', '', '', '', '', '2023-11-19', '20:34:32', 950.00, 0.00, 950.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3018, 'A3015', '', 'CS3018', '', '', '', '', '2023-11-19', '20:40:04', 470.00, 0.00, 470.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3019, 'A3016', '', 'CS3019', '', '', '', '', '2023-11-19', '20:41:46', 170.00, 0.00, 170.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3020, 'A3017', '', 'CS3020', '', '', '', '', '2023-11-19', '20:42:47', 500.00, 0.00, 500.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3021, 'A3018', '', 'CS3021', '', '', '', '', '2023-11-19', '20:43:38', 873.00, 0.00, 873.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3022, 'A3019', '', 'CS3022', '', '', '', '', '2023-11-19', '21:00:34', 1130.00, 0.00, 1130.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3023, 'A3020', '', 'CS3023', '', '', '', '', '2023-11-19', '21:00:34', 705.00, 0.00, 705.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3024, 'A3021', '', 'CS3024', '', '', '', '', '2023-11-19', '21:02:21', 135.00, 0.00, 135.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3025, 'A3022', '', 'CS3025', '', '', '', '', '2023-11-19', '21:11:44', 375.00, 0.00, 375.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3026, 'A3023', '', 'CS3026', '', '', '', '', '2023-11-19', '21:15:53', 130.00, 0.00, 130.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3027, 'A3024', '', 'CS3027', '', '', '', '', '2023-11-19', '21:17:06', 40.00, 0.00, 40.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3028, 'A3025', '', 'CS3028', '', '', '', '', '2023-11-19', '21:27:22', 85.00, 0.00, 85.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3029, 'A3026', '', 'CS3029', '', '', '', '', '2023-11-19', '21:30:22', 90.00, 0.00, 90.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3030, 'A3027', '', 'CS3030', '', '', '', '', '2023-11-19', '21:34:43', 1035.00, 0.00, 1035.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3031, 'A3028', '', 'CS3031', '', '', '', '', '2023-11-19', '22:10:28', 1089.00, 0.00, 1089.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3032, 'A3029', '', 'CS3032', '', '', '', '', '2023-11-19', '22:14:14', 929.00, 0.00, 929.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3033, 'A3030', '', 'CS3033', '', '', '', '', '2023-11-19', '22:16:57', 550.00, 0.00, 550.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3034, 'A3031', '', 'CS3034', '', '', '', '', '2023-11-19', '22:18:18', 624.00, 0.00, 624.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3035, 'A3032', '', 'CS3035', '', '', '', '', '2023-11-20', '10:52:07', 395.00, 0.00, 395.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3036, 'A3033', '', 'CS3036', '', '', '', '', '2023-11-20', '11:22:06', 3481.00, 0.00, 3481.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3037, 'A3034', '', 'CS3037', '', '', '', '', '2023-11-20', '11:33:11', 831.00, 0.00, 831.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3038, 'A3035', '', 'CS3038', '', '', '', '', '2023-11-20', '12:12:14', 870.00, 0.00, 870.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3039, 'A3036', '', 'CS3039', '', '', '', '', '2023-11-20', '12:22:18', 4054.00, 0.00, 4054.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3040, 'A3037', '', 'CS3040', '', '', '', '', '2023-11-20', '12:23:19', 180.00, 0.00, 180.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3041, 'A3038', '', 'CS3041', '', '', '', '', '2023-11-20', '12:40:59', 1204.00, 0.00, 1204.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3042, 'A3039', '', 'CS3042', '', '', '', '', '2023-11-20', '12:52:39', 5692.00, 0.00, 5692.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3043, 'A3040', '', 'CS3043', '', '', '', '', '2023-11-20', '12:57:55', 3663.00, 0.00, 3663.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3044, 'A3041', '', 'CS3044', '', '', '', '', '2023-11-20', '12:58:44', 220.00, 0.00, 220.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3045, 'A3042', '', 'CS3045', '', '', '', '', '2023-11-20', '12:59:52', 975.00, 0.00, 975.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3046, 'A3043', '', 'CS3046', '', '', '', '', '2023-11-20', '13:01:09', 1543.00, 0.00, 1543.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3047, 'A3044', '', 'CS3047', '', '', '', '', '2023-11-20', '13:05:58', 4987.00, 0.00, 4987.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3048, 'A3045', '', 'CS3048', '', '', '', '', '2023-11-20', '13:11:16', 715.00, 0.00, 715.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3049, 'A3046', '', 'CS3049', '', '', '', '', '2023-11-20', '13:13:05', 5530.00, 0.00, 5530.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3050, 'A3047', '', 'CS3050', '', '', '', '', '2023-11-20', '13:23:02', 2525.00, 0.00, 2525.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3051, 'A3048', '', 'CS3051', '', '', '', '', '2023-11-20', '13:24:35', 935.00, 0.00, 935.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3052, 'A3049', '', 'CS3052', '', '', '', '', '2023-11-20', '13:24:35', 558.00, 0.00, 558.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3053, 'A3050', '', 'CS3053', '', '', '', '', '2023-11-20', '13:32:57', 2868.00, 0.00, 2868.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3054, 'A3051', '', 'CS3054', '', '', '', '', '2023-11-20', '13:37:27', 604.00, 0.00, 604.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3055, 'A3052', '', 'CS3055', '', '', '', '', '2023-11-20', '13:42:39', 1572.00, 0.00, 1572.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3056, 'A3053', '', 'CS3056', '', '', '', '', '2023-11-20', '13:56:37', 365.00, 0.00, 365.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3057, 'A3054', '', 'CS3057', '', '', '', '', '2023-11-20', '14:10:40', 1590.00, 0.00, 1590.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3058, 'A3055', '', 'CS3058', '', '', '', '', '2023-11-20', '14:25:04', 765.00, 0.00, 765.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3059, 'A3056', '', 'CS3059', '', '', '', '', '2023-11-20', '14:30:55', 2908.00, 0.00, 2908.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3060, 'A3057', '', 'CS3060', '', '', '', '', '2023-11-20', '14:36:03', 2300.00, 0.00, 2300.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3061, 'A3058', '', 'CS3061', '', '', '', '', '2023-11-20', '14:37:15', 3158.00, 0.00, 3158.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3062, 'A3059', '', 'CS3062', '', '', '', '', '2023-11-20', '14:38:33', 360.00, 0.00, 360.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3063, 'A3060', '', 'CS3063', '', '', '', '', '2023-11-20', '14:47:09', 364.00, 0.00, 364.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3064, 'A3061', '', 'CS3064', '', '', '', '', '2023-11-20', '14:52:30', 669.00, 0.00, 669.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3065, 'A3062', '', 'CS3065', '', '', '', '', '2023-11-20', '14:52:30', 395.00, 0.00, 395.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3066, 'A3063', '', 'CS3066', '', '', '', '', '2023-11-20', '15:02:30', 310.00, 0.00, 310.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3067, 'A3064', '', 'CS3067', '', '', '', '', '2023-11-20', '15:10:07', 1595.00, 0.00, 1595.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3068, 'A3065', '', 'CS3068', '', '', '', '', '2023-11-20', '15:12:08', 550.00, 0.00, 550.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3069, 'A3066', '', 'CS3069', '', '', '', '', '2023-11-20', '15:13:00', 249.00, 0.00, 249.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3070, 'A3067', '', 'CS3070', '', '', '', '', '2023-11-20', '15:14:15', 491.00, 0.00, 491.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3071, 'A3068', '', 'CS3071', '', '', '', '', '2023-11-20', '15:23:47', 463.00, 0.00, 463.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3072, 'A3069', '', 'CS3072', '', '', '', '', '2023-11-20', '15:23:47', 421.00, 0.00, 421.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3073, 'A3070', '', 'CS3073', '', '', '', '', '2023-11-20', '15:37:17', 2695.00, 0.00, 2695.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3074, 'A3071', '', 'CS3074', '', '', '', '', '2023-11-20', '15:45:41', 1665.00, 0.00, 1665.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3075, 'A3072', '', 'CS3075', '', '', '', '', '2023-11-20', '15:51:17', 1396.00, 0.00, 1396.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3076, 'A3073', '', 'CS3076', '', '', '', '', '2023-11-20', '15:59:14', 2085.00, 0.00, 2085.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3077, 'A3074', '', 'CS3077', '', '', '', '', '2023-11-20', '16:02:19', 1217.00, 0.00, 1217.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3078, 'A3075', '', 'CS3078', '', '', '', '', '2023-11-20', '16:08:46', 1144.00, 0.00, 1144.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3079, 'A3076', '', 'CS3079', '', '', '', '', '2023-11-20', '16:10:14', 840.00, 0.00, 840.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3080, 'A3077', '', 'CS3080', '', '', '', '', '2023-11-20', '16:12:26', 415.00, 0.00, 415.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3081, 'A3078', '', 'CS3081', '', '', '', '', '2023-11-20', '16:27:57', 1489.00, 0.00, 1489.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3082, 'A3079', '', 'CS3082', '', '', '', '', '2023-11-20', '16:28:53', 565.00, 0.00, 565.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3083, 'A3080', '', 'CS3083', '', '', '', '', '2023-11-20', '16:28:53', 1223.00, 0.00, 1223.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3084, 'A3081', '', 'CS3084', '', '', '', '', '2023-11-20', '16:34:51', 2256.00, 0.00, 2256.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3085, 'A3082', '', 'CS3085', '', '', '', '', '2023-11-20', '16:46:55', 800.00, 0.00, 800.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3086, 'A3083', '', 'CS3086', '', '', '', '', '2023-11-20', '16:47:52', 1347.00, 0.00, 1347.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3087, 'A3084', '', 'CS3087', '', '', '', '', '2023-11-20', '17:00:27', 230.00, 0.00, 230.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3088, 'A3085', '', 'CS3088', '', '', '', '', '2023-11-20', '17:01:18', 550.00, 0.00, 550.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3089, 'A3086', '', 'CS3089', '', '', '', '', '2023-11-20', '17:07:06', 1584.00, 0.00, 1584.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3090, 'A3087', '', 'CS3090', '', '', '', '', '2023-11-20', '17:13:23', 65.00, 0.00, 65.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3091, 'A3088', '', 'CS3091', '', '', '', '', '2023-11-20', '17:17:51', 3590.00, 0.00, 3590.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3092, 'A3089', '', 'CS3092', '', '', '', '', '2023-11-20', '17:19:39', 100.00, 0.00, 100.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3093, 'A3090', '', 'CS3093', '', '', '', '', '2023-11-20', '17:25:02', 175.00, 0.00, 175.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3094, 'A3091', '', 'CS3094', '', '', '', '', '2023-11-20', '17:27:34', 1846.00, 0.00, 1846.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3095, 'A3092', '', 'CS3095', '', '', '', '', '2023-11-20', '17:27:34', 831.00, 0.00, 831.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3096, 'A3093', '', 'CS3096', '', '', '', '', '2023-11-20', '17:28:19', 825.00, 0.00, 825.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3097, 'A3094', '', 'CS3097', '', '', '', '', '2023-11-20', '17:44:40', 1125.00, 0.00, 1125.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3098, 'A3095', '', 'CS3098', '', '', '', '', '2023-11-20', '17:45:22', 300.00, 0.00, 300.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3099, 'A3096', '', 'CS3099', '', '', '', '', '2023-11-20', '17:49:02', 1005.00, 0.00, 1005.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3100, 'A3097', '', 'CS3100', '', '', '', '', '2023-11-20', '17:50:10', 4211.00, 0.00, 4211.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3101, 'A3098', '', 'CS3101', '', '', '', '', '2023-11-20', '17:54:33', 2005.00, 0.00, 2005.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3102, 'A3099', '', 'CS3102', '', '', '', '', '2023-11-20', '17:57:14', 300.00, 0.00, 300.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3103, 'A3100', '', 'CS3103', '', '', '', '', '2023-11-20', '17:59:44', 1879.00, 0.00, 1879.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3104, 'A3101', '', 'CS3104', '', '', '', '', '2023-11-20', '18:07:07', 400.00, 0.00, 400.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3105, 'A3102', '', 'CS3105', '', '', '', '', '2023-11-20', '18:12:23', 3979.00, 0.00, 3979.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3106, 'A3103', '', 'CS3106', '', '', '', '', '2023-11-20', '18:16:07', 9497.00, 0.00, 9497.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3107, 'A3104', '', 'CS3107', '', '', '', '', '2023-11-20', '18:20:59', 480.00, 0.00, 480.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3108, 'A3105', '', 'CS3108', '', '', '', '', '2023-11-20', '18:23:54', 450.00, 0.00, 450.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0');
INSERT INTO `ec_ventas` (`id_venta`, `folio`, `folio_fiscal`, `numero_orden`, `certificado_csd`, `sello_digital`, `cadena_original`, `certificado_sat`, `fecha`, `hora`, `subtotal`, `iva`, `total`, `id_usuario`, `id_sucursal`, `id_cliente`, `facturado`, `id_forma_pago`, `id_metodo_pago`, `fecha_timbrado`, `cancelado`, `clave_cliente`, `cfdi`, `fecha_real`, `hora_real`, `facturacion_productos_especificos`, `es_venta_linea`) VALUES
(3109, 'A3106', '', 'CS3109', '', '', '', '', '2023-11-20', '18:25:09', 2505.00, 0.00, 2505.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3110, 'A3107', '', 'CS3110', '', '', '', '', '2023-11-20', '18:25:52', 379.00, 0.00, 379.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3111, 'A3108', '', 'CS3111', '', '', '', '', '2023-11-20', '18:29:24', 725.00, 0.00, 725.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3112, 'A3109', '', 'CS3112', '', '', '', '', '2023-11-20', '18:31:38', 765.00, 0.00, 765.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3113, 'A3110', '', 'CS3113', '', '', '', '', '2023-11-20', '18:36:04', 375.00, 0.00, 375.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3114, 'A3111', '', 'CS3114', '', '', '', '', '2023-11-20', '18:50:16', 2820.00, 0.00, 2820.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3115, 'A3112', '', 'CS3115', '', '', '', '', '2023-11-20', '18:51:09', 3342.00, 0.00, 3342.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3116, 'A3113', '', 'CS3116', '', '', '', '', '2023-11-20', '18:58:19', 499.00, 0.00, 499.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3117, 'A3114', '', 'CS3117', '', '', '', '', '2023-11-20', '18:59:30', 3560.00, 0.00, 3560.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3118, 'A3115', '', 'CS3118', '', '', '', '', '2023-11-20', '19:00:45', 1109.00, 0.00, 1109.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3119, 'A3116', '', 'CS3119', '', '', '', '', '2023-11-20', '19:04:36', 190.00, 0.00, 190.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3120, 'A3117', '', 'CS3120', '', '', '', '', '2023-11-20', '19:04:36', 3481.00, 0.00, 3481.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3121, 'A3118', '', 'CS3121', '', '', '', '', '2023-11-20', '19:06:49', 2690.00, 0.00, 2690.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3122, 'A3119', '', 'CS3122', '', '', '', '', '2023-11-20', '19:09:44', 320.00, 0.00, 320.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3123, 'A3120', '', 'CS3123', '', '', '', '', '2023-11-20', '19:15:15', 940.00, 0.00, 940.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3124, 'A3121', '', 'CS3124', '', '', '', '', '2023-11-20', '19:17:37', 80.00, 0.00, 80.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3125, 'A3122', '', 'CS3125', '', '', '', '', '2023-11-20', '19:36:17', 1099.00, 0.00, 1099.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3126, 'A3123', '', 'CS3126', '', '', '', '', '2023-11-20', '19:37:23', 265.00, 0.00, 265.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3127, 'A3124', '', 'CS3127', '', '', '', '', '2023-11-20', '19:39:11', 100.00, 0.00, 100.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3128, 'A3125', '', 'CS3128', '', '', '', '', '2023-11-20', '19:42:24', 720.00, 0.00, 720.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3129, 'A3126', '', 'CS3129', '', '', '', '', '2023-11-20', '19:44:54', 763.00, 0.00, 763.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3130, 'A3127', '', 'CS3130', '', '', '', '', '2023-11-20', '19:46:07', 901.00, 0.00, 901.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3131, 'A3128', '', 'CS3131', '', '', '', '', '2023-11-20', '19:47:56', 1827.00, 0.00, 1827.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3132, 'A3129', '', 'CS3132', '', '', '', '', '2023-11-20', '19:51:16', 1398.00, 0.00, 1398.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3133, 'A3130', '', 'CS3133', '', '', '', '', '2023-11-20', '19:56:14', 140.00, 0.00, 140.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3134, 'A3131', '', 'CS3134', '', '', '', '', '2023-11-20', '19:57:32', 520.00, 0.00, 520.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3135, 'A3132', '', 'CS3135', '', '', '', '', '2023-11-20', '20:03:36', 984.00, 0.00, 984.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3136, 'A3133', '', 'CS3136', '', '', '', '', '2023-11-20', '20:04:30', 500.00, 0.00, 500.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3137, 'A3134', '', 'CS3137', '', '', '', '', '2023-11-20', '20:08:59', 320.00, 0.00, 320.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3138, 'A3135', '', 'CS3138', '', '', '', '', '2023-11-20', '20:11:26', 475.00, 0.00, 475.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3139, 'A3136', '', 'CS3139', '', '', '', '', '2023-11-20', '20:25:14', 575.00, 0.00, 575.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3140, 'A3137', '', 'CS3140', '', '', '', '', '2023-11-20', '20:32:24', 75.00, 0.00, 75.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3141, 'A3138', '', 'CS3141', '', '', '', '', '2023-11-20', '20:38:06', 674.00, 0.00, 674.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3142, 'A3139', '', 'CS3142', '', '', '', '', '2023-11-20', '20:53:03', 520.00, 0.00, 520.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3143, 'A3140', '', 'CS3143', '', '', '', '', '2023-11-20', '20:58:36', 1751.00, 0.00, 1751.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3144, 'A3141', '', 'CS3144', '', '', '', '', '2023-11-20', '20:58:36', 615.00, 0.00, 615.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3145, 'A3142', '', 'CS3145', '', '', '', '', '2023-11-20', '21:07:38', 2687.00, 0.00, 2687.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3146, 'A3143', '', 'CS3146', '', '', '', '', '2023-11-20', '21:17:29', 1223.00, 0.00, 1223.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3147, 'A3144', '', 'CS3147', '', '', '', '', '2023-11-20', '21:22:19', 558.00, 0.00, 558.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3148, 'A3145', '', 'CS3148', '', '', '', '', '2023-11-20', '21:24:44', 615.00, 0.00, 615.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3149, 'A3146', '', 'CS3149', '', '', '', '', '2023-11-21', '11:57:48', 1412.00, 0.00, 1412.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3150, 'A3147', '', 'CS3150', '', '', '', '', '2023-11-21', '12:12:08', 575.00, 0.00, 575.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3151, 'A3148', '', 'CS3151', '', '', '', '', '2023-11-21', '12:37:49', 2310.00, 0.00, 2310.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3152, 'A3149', '', 'CS3152', '', '', '', '', '2023-11-21', '13:23:07', 1209.00, 0.00, 1209.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3153, 'A3150', '', 'CS3153', '', '', '', '', '2023-11-21', '13:44:08', 645.00, 0.00, 645.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3154, 'A3151', '', 'CS3154', '', '', '', '', '2023-11-21', '13:44:08', 457.00, 0.00, 457.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3155, 'A3152', '', 'CS3155', '', '', '', '', '2023-11-21', '14:24:46', 1989.00, 0.00, 1989.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3156, 'A3153', '', 'CS3156', '', '', '', '', '2023-11-21', '14:41:58', 1990.00, 0.00, 1990.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3157, 'A3154', '', 'CS3157', '', '', '', '', '2023-11-21', '15:04:14', 2775.00, 0.00, 2775.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3158, 'A3155', '', 'CS3158', '', '', '', '', '2023-11-21', '15:17:33', 500.00, 0.00, 500.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3159, 'A3156', 'd8876489-e761-446a-8e9d-6d2b3b100d49', 'CS3159', '', 'DNMXxZQzPTsel5x5LpaRkXY25Q19hmqDxzddivp5OwsOF/Bx0VdHbc9ir3bJIfzTIZHJDRxEsP4E3fJh3QvrZuYkY7zvSrLMwpKKVpksDaNEL9OngPFJOSJSwxqJw4IuIYUJxHMmVB8Ywa7ug8nCi1ABMneE6SybUZCaYZXZfliFYn2JpRQw10bY05S4Byv3bREOjC9kWKVmSsyStHl27Gcq6qV3zxqJ713qp1I1afYnhRHUZRJmKzUQsWUQk7U8XkNRkKfo8DazmH8/kEbyTuaUv3BDTDduFAxSd7uEcBMGKPSg3S+xyQD8ADcNa7jYXNrtFfsqMAtrbxHjroExEA==', '||1.1|d8876489-e761-446a-8e9d-6d2b3b100d49|2023-11-29T10:29:23|LSO1306189R5|DNMXxZQzPTsel5x5LpaRkXY25Q19hmqDxzddivp5OwsOF/Bx0VdHbc9ir3bJIfzTIZHJDRxEsP4E3fJh3QvrZuYkY7zvSrLMwpKKVpksDaNEL9OngPFJOSJSwxqJw4IuIYUJxHMmVB8Ywa7ug8nCi1ABMneE6SybUZCaYZXZfliFYn2JpRQw10bY05S4Byv3bREOjC9kWKVmSsyStHl27Gcq6qV3zxqJ713qp1I1afYnhRHUZRJmKzUQsWUQk7U8XkNRkKfo8DazmH8/kEbyTuaUv3BDTDduFAxSd7uEcBMGKPSg3S+xyQD8ADcNa7jYXNrtFfsqMAtrbxHjroExEA==|00001000000509846663||', 'UOqOFOp85h0HLnrMyQg1Zmy6IC7YRjIVAP5dhbggqTqg+zoD/XQOuJRvNU/wOmi/b/06ujF67Sgo2BaFRIyk8fviLaMg9Xs8BGOQfOIepV8HJMAVHYHHHCZM8qVSR91hdY3eu+4PNpEU/6UAezDQR1FUyenW4DJTm+RyB/VtVIYjZYhQvfCJYJGQIzAHRUgSEPJMMYUTLkV0lLvIOLkAGXbDDVx4mtfW0H3oLFpq4fLQy7WgkvJYG9hAaWSgmB9jk2WnEHPCfZwKUPU6e7fmEgYE1vl+SrcJQC6rHIk3S3COlNAECY1S5IXhetQc8sJPSIzQeikmpsoUqWUfEDQnNw==', '2023-11-21', '15:46:58', 4931.03, 788.96, 5719.99, 7, 1, 10325, 1, 14, 1, '2023-11-29 10:29:23', 0, '', '2', '2023-11-29', '10:29:22', 0, b'0'),
(3160, 'A3157', '', 'CS3160', '', '', '', '', '2023-11-21', '15:46:58', 700.00, 0.00, 700.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3161, 'A3158', '', 'CS3161', '', '', '', '', '2023-11-21', '16:01:43', 739.00, 0.00, 739.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3162, 'A3159', '', 'CS3162', '', '', '', '', '2023-11-21', '16:02:53', 230.00, 0.00, 230.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3163, 'A3160', '', 'CS3163', '', '', '', '', '2023-11-21', '16:17:31', 1089.00, 0.00, 1089.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3164, 'A3161', '', 'CS3164', '', '', '', '', '2023-11-21', '16:49:27', 250.00, 0.00, 250.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3165, 'A3162', '', 'CS3165', '', '', '', '', '2023-11-21', '16:51:25', 163.00, 0.00, 163.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3166, 'A3163', '', 'CS3166', '', '', '', '', '2023-11-21', '16:55:54', 1000.00, 0.00, 1000.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3167, 'A3164', '', 'CS3167', '', '', '', '', '2023-11-21', '16:55:54', 1560.30, 0.00, 1560.30, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3168, 'A3165', '', 'CS3168', '', '', '', '', '2023-11-21', '17:09:03', 1010.00, 0.00, 1010.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3169, 'A3166', '', 'CS3169', '', '', '', '', '2023-11-21', '18:06:32', 1585.00, 0.00, 1585.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3170, 'A3167', '', 'CS3170', '', '', '', '', '2023-11-21', '18:08:21', 165.00, 0.00, 165.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3171, 'A3168', '', 'CS3171', '', '', '', '', '2023-11-21', '18:30:19', 235.00, 0.00, 235.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3172, 'A3169', '', 'CS3172', '', '', '', '', '2023-11-21', '18:30:19', 1412.00, 0.00, 1412.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3173, 'A3170', '', 'CS3173', '', '', '', '', '2023-11-21', '18:42:28', 3180.00, 0.00, 3180.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3174, 'A3171', '', 'CS3174', '', '', '', '', '2023-11-21', '18:44:16', 115.00, 0.00, 115.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3175, 'A3172', '', 'CS3175', '', '', '', '', '2023-11-21', '18:46:25', 250.00, 0.00, 250.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3176, 'A3173', '', 'CS3176', '', '', '', '', '2023-11-21', '18:48:05', 1653.00, 0.00, 1653.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3177, 'A3174', '44ffe991-3763-41a1-adc0-6b6266169b8f', 'CS3177', '', 'pOHCSl87/YUWkZrp3+fmhFUfMUb40xlRZ1NfDbHbvoVfEGw8wrzwF2dMnXevXWFwCUgzD9g0udGXTMtHQmTyfiZ/veKPzoWXj374z36wTGxn+Z41PRRDMZ1EYkIsM/yI9QpT2skg3iAKYrxSlxaIFuFtzAXsQAtqw9lSvWVJk5lbXLRgWzwgdzXz9Ba05hSsQulxbzwnPsEjD5QmXzJeHZNKzP7bM959I8zPAIjDvJNuLoGBMR6vYNy8ucVx7CSAGk6nb+UAK72p1KZmkxmA8uKZu508dfKJ+w6GiczrgAHN7/47TuzrpPCsmkzLOSgBoYDeOSBFTy3vhamb6kcq7A==', '||1.1|44ffe991-3763-41a1-adc0-6b6266169b8f|2023-11-23T14:16:37|LSO1306189R5|pOHCSl87/YUWkZrp3+fmhFUfMUb40xlRZ1NfDbHbvoVfEGw8wrzwF2dMnXevXWFwCUgzD9g0udGXTMtHQmTyfiZ/veKPzoWXj374z36wTGxn+Z41PRRDMZ1EYkIsM/yI9QpT2skg3iAKYrxSlxaIFuFtzAXsQAtqw9lSvWVJk5lbXLRgWzwgdzXz9Ba05hSsQulxbzwnPsEjD5QmXzJeHZNKzP7bM959I8zPAIjDvJNuLoGBMR6vYNy8ucVx7CSAGk6nb+UAK72p1KZmkxmA8uKZu508dfKJ+w6GiczrgAHN7/47TuzrpPCsmkzLOSgBoYDeOSBFTy3vhamb6kcq7A==|00001000000509846663||', 'H8+RoHG2Ra94Y+cK0Rof9t7u6zsYMOh6WrbfTi6V+ESFKSkhhYNEecFKA5orOjrltxpB6KWgkZG/HHx8RITjKYiiw/s0ByeewFzT6DIVHY1ruxnMtk+K68oFU6MJCHbd+VDBpmIyCGo4AeU8/KS7SlM/Jpwr0LNYyk0RTo9+fbpjTiRnOw16OU8B6IIJTsg7O2mnjn4V8i8lCgvJwwp6vVaWg6F92pB4TDmE1qRgD10DzyuSFvWrE8P/ZF5NTxp4nfb9xKuHpKIJhoN4X0D6QZzGLv5de6cXhWEqvukdCRs+S3xamJqqmTbXzRzvjWpsQPhxbjugK2uXDLxIRBoiPw==', '2023-11-21', '18:48:05', 5525.86, 884.14, 6410.00, 7, 1, 409, 1, 18, 1, '2023-11-23 14:16:37', 0, '', '2', '2023-11-23', '14:16:36', 0, b'0'),
(3178, 'A3175', '', 'CS3178', '', '', '', '', '2023-11-21', '18:53:00', 2483.00, 0.00, 2483.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3179, 'A3176', '', 'CS3179', '', '', '', '', '2023-11-21', '18:58:26', 871.00, 0.00, 871.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3180, 'A3177', '', 'CS3180', '', '', '', '', '2023-11-21', '19:17:02', 350.00, 0.00, 350.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3181, 'A3178', '', 'CS3181', '', '', '', '', '2023-11-21', '19:20:29', 2230.00, 0.00, 2230.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3182, 'A3179', '', 'CS3182', '', '', '', '', '2023-11-21', '19:22:04', 789.00, 0.00, 789.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3183, 'A3180', '', 'CS3183', '', '', '', '', '2023-11-21', '19:23:36', 704.00, 0.00, 704.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3184, 'A3181', '', 'CS3184', '', '', '', '', '2023-11-21', '19:27:20', 260.00, 0.00, 260.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3185, 'A3182', '', 'CS3185', '', '', '', '', '2023-11-21', '19:38:10', 2390.00, 0.00, 2390.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3186, 'A3183', '', 'CS3186', '', '', '', '', '2023-11-21', '19:39:39', 1154.00, 0.00, 1154.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3187, 'A3184', '', 'CS3187', '', '', '', '', '2023-11-21', '19:49:30', 2410.00, 0.00, 2410.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3188, 'A3185', '', 'CS3188', '', '', '', '', '2023-11-21', '20:07:21', 354.00, 0.00, 354.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3189, 'A3186', '', 'CS3189', '', '', '', '', '2023-11-21', '20:28:04', 749.00, 0.00, 749.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3190, 'A3187', '', 'CS3190', '', '', '', '', '2023-11-21', '20:44:34', 409.00, 0.00, 409.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3191, 'A3188', 'b7007a7f-3f36-4f3b-add0-7e165d06b347', 'CS3191', '', 'a7W5zvWeZNxeRGQX0lRMYCYL8N2vmVLF4rpvQpzyVerfENFQVnftJIo3f0MXLxaW12QUyHmFgjJypBBPHVDXgxQlbliDJgwzObl8cSbpfwPu/iVxZ1Tb1gp66bIG8G+8PD/Dozx8CXTl4IakiZ67NmJWweY94Apr+pk9b7Kq4NlJGfMTV7Li0uW8ojilDJb3wlYsMTefpXDX/SvbA8PslOQwddb5iZ1x9bE1H3AKBudVQygOtUGuZC6xp3Gl+4B3oU37TzErVtQKnpAObtEwYTx7AFCNdy6yxyPIq3h8RuYZuxYndSBJK3CdyC8rZBQdbmekuc2mqMLaWHa1kfBHcQ==', '||1.1|b7007a7f-3f36-4f3b-add0-7e165d06b347|2023-11-23T14:16:31|LSO1306189R5|a7W5zvWeZNxeRGQX0lRMYCYL8N2vmVLF4rpvQpzyVerfENFQVnftJIo3f0MXLxaW12QUyHmFgjJypBBPHVDXgxQlbliDJgwzObl8cSbpfwPu/iVxZ1Tb1gp66bIG8G+8PD/Dozx8CXTl4IakiZ67NmJWweY94Apr+pk9b7Kq4NlJGfMTV7Li0uW8ojilDJb3wlYsMTefpXDX/SvbA8PslOQwddb5iZ1x9bE1H3AKBudVQygOtUGuZC6xp3Gl+4B3oU37TzErVtQKnpAObtEwYTx7AFCNdy6yxyPIq3h8RuYZuxYndSBJK3CdyC8rZBQdbmekuc2mqMLaWHa1kfBHcQ==|00001000000509846663||', 'CxFgqje1DMJOb3Jl6QjNuo3fF0upunu2VIq9KjG5TerxmbDdPj+VvKQoY+QTFpajN/ZUSc/o+E5YNlPeTiJIU9fz+s6UV8TlB7HKv7x7ueDwPI/Y32RtC+nDA8S5nJpC9xqqUirc9v+TmwBC0Tdx/mQAgWbzz55C/40xWETrpp27eMEiWBkgj63tezhoYwgNQVE2u+59mdRP8T4ejTx3Ftp4YjBn+FBycrbtZ+cJIBXH7hFVgOGseBBYpyeRVjL75UI3T60KNQQZWtGNmv4yJ3tichHnBcrrSQnkqvap1CQJbAXlvEqzCyiv2f9ixnDww/+f4aybZAHDOOnrVbZWtg==', '2023-11-21', '20:44:34', 33105.16, 5296.83, 38401.99, 7, 1, 409, 1, 18, 1, '2023-11-23 14:16:31', 0, '', '2', '2023-11-23', '14:16:29', 0, b'0'),
(3192, 'A3189', '', 'CS3192', '', '', '', '', '2023-11-21', '21:02:17', 2175.00, 0.00, 2175.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3193, 'A3190', '', 'CS3193', '', '', '', '', '2023-11-21', '21:02:17', 575.00, 0.00, 575.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3194, 'A3191', '', 'CS3194', '', '', '', '', '2023-11-21', '21:26:55', 457.00, 0.00, 457.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3195, 'A3192', '', 'CS3195', '', '', '', '', '2023-11-21', '21:38:02', 700.00, 0.00, 700.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3196, 'A3193', '976942ac-03c6-48d5-9981-63715202d2d2', 'CS3196', '', 'FxmVetiY0GthQ0I4PVVXqoXnkQENrE3jbjub0GoZG0iDTKsr9H9G7mF02Zq3KIERqTni2ru/02KXrzDT1ZSyAC7Vdxs3904iSg8MRv7uuO0H9CA0rr5kNc+ENUfoMVb979mHP9911Mx2sy0noIYZ5I/I9CZ1joSNF6VX7orZYuoDBY4iKVMgTj0lZGO0f/scS/wH0w3YIaA8xrDPSntmfENi838kNpbJrnM+8MpYLHHQJxUCNsv+EWoacbO5LnBfM34Cr9sWwD+uxi3nmwrCkLmEqwHRZO0NoAtKpAcnHvgJtbAn+SxTudLcD6DvPxBeI/fYHjcjLtKycHK4pznWHQ==', '||1.1|976942ac-03c6-48d5-9981-63715202d2d2|2023-11-25T19:41:38|LSO1306189R5|FxmVetiY0GthQ0I4PVVXqoXnkQENrE3jbjub0GoZG0iDTKsr9H9G7mF02Zq3KIERqTni2ru/02KXrzDT1ZSyAC7Vdxs3904iSg8MRv7uuO0H9CA0rr5kNc+ENUfoMVb979mHP9911Mx2sy0noIYZ5I/I9CZ1joSNF6VX7orZYuoDBY4iKVMgTj0lZGO0f/scS/wH0w3YIaA8xrDPSntmfENi838kNpbJrnM+8MpYLHHQJxUCNsv+EWoacbO5LnBfM34Cr9sWwD+uxi3nmwrCkLmEqwHRZO0NoAtKpAcnHvgJtbAn+SxTudLcD6DvPxBeI/fYHjcjLtKycHK4pznWHQ==|00001000000509846663||', 'V+CZV1CBqbjater1+nTeoUEdAOuNFLu491XuwmTqhb1Odkr6kS0BjQU3Aci41ZKwl+2UyUuYWoDBNj8ZpBNeVl2hnJCHbBNnmaupvk5WOF+NJNw5yvc8EiSpu9w1XzfltbXz+uVwpoyrnA/wEYfDYQsLNwSG1X9Qgj90FCJQgU1kC7vuLpqyyvJcOwEFfgWXiBDYwcAb+Jpu9lSzXmELRHoJ3KDZiCJARokKQ4LYfFnfYeErxpmFD4ku6AEixXU4oqP6nJ2EU9sBYL/ucrXl/WNjJeVH8Dkp6lr11rXZQeqP2mZ2Fpz3L+uOYwW05k7zgMBQyRpe/R87oZUDEvbIKw==', '2023-11-22', '11:48:51', 2765.52, 442.48, 3208.00, 7, 1, 2353, 1, 14, 1, '2023-11-25 19:41:38', 0, '8702', '2', '2023-11-25', '19:41:37', 0, b'0'),
(3197, 'A3194', '', 'CS3197', '', '', '', '', '2023-11-22', '11:56:26', 100.00, 0.00, 100.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3198, 'A3195', '', 'CS3198', '', '', '', '', '2023-11-22', '12:17:51', 299.00, 0.00, 299.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3199, 'A3196', '', 'CS3199', '', '', '', '', '2023-11-22', '12:24:13', 980.00, 0.00, 980.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3200, 'A3197', '', 'CS3200', '', '', '', '', '2023-11-22', '12:39:20', 1890.00, 0.00, 1890.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3201, 'A3198', '', 'CS3201', '', '', '', '', '2023-11-22', '12:40:16', 909.00, 0.00, 909.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3202, 'A3199', '', 'CS3202', '', '', '', '', '2023-11-22', '13:25:33', 5221.00, 0.00, 5221.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3203, 'A3200', '', 'CS3203', '', '', '', '', '2023-11-22', '14:12:27', 850.00, 0.00, 850.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3204, 'A3201', '', 'CS3204', '', '', '', '', '2023-11-22', '15:03:03', 296.00, 0.00, 296.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3205, 'A3202', '', 'CS3205', '', '', '', '', '2023-11-22', '16:38:30', 511.00, 0.00, 511.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3206, 'A3203', '', 'CS3206', '', '', '', '', '2023-11-22', '17:44:06', 829.00, 0.00, 829.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3207, 'A3204', '', 'CS3207', '', '', '', '', '2023-11-22', '17:45:14', 505.00, 0.00, 505.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3208, 'A3205', '', 'CS3208', '', '', '', '', '2023-11-22', '17:54:47', 749.00, 0.00, 749.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3209, 'A3206', '', 'CS3209', '', '', '', '', '2023-11-22', '18:17:35', 1775.00, 0.00, 1775.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3210, 'A3207', '', 'CS3210', '', '', '', '', '2023-11-22', '18:20:49', 180.00, 0.00, 180.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3211, 'A3208', '', 'CS3211', '', '', '', '', '2023-11-22', '18:23:57', 1249.00, 0.00, 1249.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3212, 'A3209', '', 'CS3212', '', '', '', '', '2023-11-22', '19:12:07', 1795.00, 0.00, 1795.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3213, 'A3210', '', 'CS3213', '', '', '', '', '2023-11-22', '19:21:10', 760.00, 0.00, 760.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3214, 'A3211', '', 'CS3214', '', '', '', '', '2023-11-22', '19:26:36', 1055.00, 0.00, 1055.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3215, 'A3212', '', 'CS3215', '', '', '', '', '2023-11-22', '20:00:25', 2210.00, 0.00, 2210.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3216, 'A3213', '', 'CS3216', '', '', '', '', '2023-11-22', '20:02:07', 562.00, 0.00, 562.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3217, 'A3214', '', 'CS3217', '', '', '', '', '2023-11-22', '20:12:37', 1813.00, 0.00, 1813.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3218, 'A3215', 'f089471f-2585-485f-bdb7-cd06993088f9', 'CS3218', '', 'fDyswTQBcq6KeQ5QJscRWjldvL2lB7ZvcpkyKmcmxfLvj817BAzrX3GK5svtnLfiNKwGzxdRh6czFbM3ZJ9Z6TFcXBrzRZtTR5ikypclgVXRZgS8C2dWr+xHxR72wi7YwGwec9mJkJP4Fcz+OrFKCEnE4CeqKS+jl5T+GDi4Y9rf9piYrQddt8ogkFQXlzPvGfj8pSwhbrzMyHQaJBZ8xNSEYuSwNV1abXdWoFgt1X+El2o/KTQEvY0Ncqls+yUrUk8YLt/M3XN/IqFeYTjI5rIXTtIKhoAVDvTq/IYmS5AH2ZaZ3B5qoEfJmb9YXsfFZ/+0/Cjd4quOovyqGyGGHA==', '||1.1|f089471f-2585-485f-bdb7-cd06993088f9|2023-11-25T19:40:31|LSO1306189R5|fDyswTQBcq6KeQ5QJscRWjldvL2lB7ZvcpkyKmcmxfLvj817BAzrX3GK5svtnLfiNKwGzxdRh6czFbM3ZJ9Z6TFcXBrzRZtTR5ikypclgVXRZgS8C2dWr+xHxR72wi7YwGwec9mJkJP4Fcz+OrFKCEnE4CeqKS+jl5T+GDi4Y9rf9piYrQddt8ogkFQXlzPvGfj8pSwhbrzMyHQaJBZ8xNSEYuSwNV1abXdWoFgt1X+El2o/KTQEvY0Ncqls+yUrUk8YLt/M3XN/IqFeYTjI5rIXTtIKhoAVDvTq/IYmS5AH2ZaZ3B5qoEfJmb9YXsfFZ/+0/Cjd4quOovyqGyGGHA==|00001000000509846663||', 'SMijNAXrz9yZiciK66s03HtOoB5VAhg9cpGYhsEpeo6w3dHIveCcfLQw7MnzriQEYLH82uQJNzx6i4bWzN97WtU2h+SSiWtpXU3XdDLw9Sr8gJRQmIp19gdFDzZ72axDF7IrceG08P6XmP2h0qTwxkWWEN2AC3J75UJ9OcsiIzmPNIMeCEr9Kq8JFGJqtxgb0POUN7lwPzg6z38s1JexDtjyZzQC718HLSBYQZw56fnqjYWz5wM4HGgp50Ui/s+bJjb8RAYTwHXz+ZRN9AqjQ4klnusU4F3AJznD4qqKgB7Kx6cAzhEUkJRagpCry+iAbfH7JToDmNU2Ya5c+1oEVQ==', '2023-11-22', '20:32:54', 4841.38, 774.62, 5616.00, 7, 1, 548, 1, 14, 1, '2023-11-25 19:40:31', 0, '1398', '2', '2023-11-25', '19:40:29', 0, b'0'),
(3219, 'A3216', 'feb0bcb2-7b13-4c7d-908e-4e8605000c37', 'CS3219', '', 'aGpFnuxnH3vte4X/D4OkzvjGBq0Ojv3VFf3U5O1vJidqBTYcj1zIsIs9HL0aYa8w/zBc4nVIjW5MYcXWyf/rshXdWe2Cnr2b49tRll1Nckc1CzqHbe9OPMWZFsK5MkuvYlcJUxf8D1Zu7F3lgwcs2ZUv30rfZ8opr/zi4Paag58+AZ35hTRiOaHuIz6q3XKagOdfR9MiEINFXbguOm9COV3/39/xdCWn8+XgFZbeNqH8LizMWjxj6oWAimQPNKa5VjU5g7vyGHXWMW0An8PxDmUC1bffZL9Vt8UoN268V/CqgPJs0rMI/hdG4BeeYLzzEkryK4uZwWIQChA6xiyqlg==', '||1.1|feb0bcb2-7b13-4c7d-908e-4e8605000c37|2023-11-25T19:38:21|LSO1306189R5|aGpFnuxnH3vte4X/D4OkzvjGBq0Ojv3VFf3U5O1vJidqBTYcj1zIsIs9HL0aYa8w/zBc4nVIjW5MYcXWyf/rshXdWe2Cnr2b49tRll1Nckc1CzqHbe9OPMWZFsK5MkuvYlcJUxf8D1Zu7F3lgwcs2ZUv30rfZ8opr/zi4Paag58+AZ35hTRiOaHuIz6q3XKagOdfR9MiEINFXbguOm9COV3/39/xdCWn8+XgFZbeNqH8LizMWjxj6oWAimQPNKa5VjU5g7vyGHXWMW0An8PxDmUC1bffZL9Vt8UoN268V/CqgPJs0rMI/hdG4BeeYLzzEkryK4uZwWIQChA6xiyqlg==|00001000000509846663||', 'KkfJkT3FUuAHtrq73hEZW/mOrhOpHaMh0+d/S1ccNHu/AJE0LUt0E6JuBpuNPLDoxUY4daR2R/j7wqZthC9XJL2s+0mpI3175EXPHGlmH7UbIDOo8UBl8MmGgnQOZj4SesgfZAh6FetO0w0/d9y9kRok74BcJ6HyCrt0HLlnxRdO4JU9nnJZ1MNcoKuDzrTtiUflDGlJ5kzSvmUnQf1uYNSJ6f6u+geBfJqkAb/4DCBTlUy/syZX+XBxkgOrZ52YVXg3pQTV4/D9SeuojtsMOz3XaPEt8Rh51WHIi/e82KXHfBOnHGqqdG2QtVhW8Bl55z7dHbhoUqvsntkukGAxeg==', '2023-11-22', '20:54:11', 2111.21, 337.79, 2449.00, 7, 1, 1857, 1, 14, 1, '2023-11-25 19:38:21', 0, '3155', '2', '2023-11-25', '19:38:19', 0, b'0'),
(3220, 'A3217', '', 'CS3220', '', '', '', '', '2023-11-22', '21:16:03', 1980.00, 0.00, 1980.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3221, 'A3218', '', 'CS3221', '', '', '', '', '2023-11-22', '22:07:42', 541.00, 0.00, 541.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3222, 'A3219', '', 'CS3222', '', '', '', '', '2023-11-23', '11:02:59', 1110.00, 0.00, 1110.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3223, 'A3220', '', 'CS3223', '', '', '', '', '2023-11-23', '11:58:42', 942.00, 0.00, 942.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3224, 'A3221', '', 'CS3224', '', '', '', '', '2023-11-23', '13:07:16', 970.00, 0.00, 970.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3225, 'A3222', '', 'CS3225', '', '', '', '', '2023-11-23', '13:07:16', 942.00, 0.00, 942.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3226, 'A3223', '', 'CS3226', '', '', '', '', '2023-11-23', '13:11:46', 300.00, 0.00, 300.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3227, 'A3224', '', 'CS3227', '', '', '', '', '2023-11-23', '13:12:39', 3147.00, 0.00, 3147.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3228, 'A3225', '', 'CS3228', '', '', '', '', '2023-11-23', '13:39:59', 420.00, 0.00, 420.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3229, 'A3226', '', 'CS3229', '', '', '', '', '2023-11-23', '13:58:13', 430.00, 0.00, 430.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3230, 'A3227', '', 'CS3230', '', '', '', '', '2023-11-23', '14:16:47', 1358.00, 0.00, 1358.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3231, 'A3228', '', 'CS3231', '', '', '', '', '2023-11-23', '14:17:37', 295.00, 0.00, 295.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3232, 'A3229', '', 'CS3232', '', '', '', '', '2023-11-23', '14:18:14', 510.00, 0.00, 510.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3233, 'A3230', '', 'CS3233', '', '', '', '', '2023-11-23', '14:19:14', 825.00, 0.00, 825.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3234, 'A3231', '', 'CS3234', '', '', '', '', '2023-11-23', '14:26:33', 510.00, 0.00, 510.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3235, 'A3232', 'f0f0853f-0de0-4d9d-827a-ca2fbb8eda5b', 'CS3235', '', 'cYeKsG8tphAUDBUnZnJhn06pTnNZzYhfzBIkRxuvaQF9VkVNS9wp5LI3UAfN3iwXF+SIC5T+GuTtrym8TeWEi8UzWvzMzd2lDSpwETPJdxdIZBxYnME04jVZ+UP+ahPevYuePL+Znpr9xadfLA70J38TkopN1YzJZSMCsNZtrU6eeN5YLmmhM56dcKC0PNUuP0OoUQWPLkLwI3a/Yim8YY0ZNDFSNpArefv8eHCX33752N0gJyEQF64HzVR3MRh8q5xRgbtl9SlaMko2a33HEdsqjBL9OmohqAaqY5/VxeF+mUyt9oVCOJ+Ka+DxuyDKwvpFUdg5peXf4AeZJOskZg==', '||1.1|f0f0853f-0de0-4d9d-827a-ca2fbb8eda5b|2023-11-25T19:46:16|LSO1306189R5|cYeKsG8tphAUDBUnZnJhn06pTnNZzYhfzBIkRxuvaQF9VkVNS9wp5LI3UAfN3iwXF+SIC5T+GuTtrym8TeWEi8UzWvzMzd2lDSpwETPJdxdIZBxYnME04jVZ+UP+ahPevYuePL+Znpr9xadfLA70J38TkopN1YzJZSMCsNZtrU6eeN5YLmmhM56dcKC0PNUuP0OoUQWPLkLwI3a/Yim8YY0ZNDFSNpArefv8eHCX33752N0gJyEQF64HzVR3MRh8q5xRgbtl9SlaMko2a33HEdsqjBL9OmohqAaqY5/VxeF+mUyt9oVCOJ+Ka+DxuyDKwvpFUdg5peXf4AeZJOskZg==|00001000000509846663||', 'c0xMcw5spzbAD/Uo5iPWSb24jwg1Ed4ha23MP9+OH3ZVkcl66MuLGYJHi77Va+SBe9Xuk9glcFUTvGN1rjMJGdhARybSJHUGxTwpydmrfK1EQgc+PG+X+owYSkZKivvm+Lj83FjwXxngXtRmemBhjFty6+IdiZAXRsz/XFvSL+gv7TUCzE5Cz8J8GKIgJGZmFXSQNEDkZArSe9jjvBCW0Lb5EVd3UQ6RcRz3TdSUfMBfTsWt/otgYfMFnSOLHdjU2zhHygCC/hDGxIm99rDKLYIOh4D5dydD6YPpd+mUdNPU80PLzf+L4LfHd59+qNw+Wgo53w+1QNNVLA/OzHN6VA==', '2023-11-23', '14:37:35', 1462.08, 233.93, 1696.01, 7, 1, 2438, 1, 14, 1, '2023-11-25 19:46:16', 0, '6291', '2', '2023-11-25', '19:46:14', 0, b'0'),
(3236, 'A3233', '', 'CS3236', '', '', '', '', '2023-11-23', '15:00:18', 740.00, 0.00, 740.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3237, 'A3234', '', 'CS3237', '', '', '', '', '2023-11-23', '15:00:18', 250.00, 0.00, 250.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3238, 'A3235', '', 'CS3238', '', '', '', '', '2023-11-23', '15:04:34', 100.00, 0.00, 100.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3239, 'A3236', '', 'CS3239', '', '', '', '', '2023-11-23', '16:14:22', 620.00, 0.00, 620.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3240, 'A3237', '', 'CS3240', '', '', '', '', '2023-11-23', '16:50:01', 2420.00, 0.00, 2420.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3241, 'A3238', '', 'CS3241', '', '', '', '', '2023-11-23', '17:00:11', 2075.00, 0.00, 2075.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3242, 'A3239', '', 'CS3242', '', '', '', '', '2023-11-23', '17:00:11', 255.70, 0.00, 255.70, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3243, 'A3240', '', 'CS3243', '', '', '', '', '2023-11-23', '17:27:27', 110.00, 0.00, 110.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3244, 'A3241', '', 'CS3244', '', '', '', '', '2023-11-23', '17:54:57', 5248.00, 0.00, 5248.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3245, 'A3242', '', 'CS3245', '', '', '', '', '2023-11-23', '18:25:20', 922.00, 0.00, 922.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3246, 'A3243', '', 'CS3246', '', '', '', '', '2023-11-23', '18:43:08', 895.00, 0.00, 895.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3247, 'A3244', '', 'CS3247', '', '', '', '', '2023-11-23', '18:49:03', 614.00, 0.00, 614.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3248, 'A3245', '', 'CS3248', '', '', '', '', '2023-11-23', '19:43:47', 2056.00, 0.00, 2056.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3249, 'A3246', '', 'CS3249', '', '', '', '', '2023-11-23', '19:44:45', 2725.00, 0.00, 2725.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3250, 'A3247', '', 'CS3250', '', '', '', '', '2023-11-23', '19:46:50', 2194.00, 0.00, 2194.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3251, 'A3248', '', 'CS3251', '', '', '', '', '2023-11-23', '19:46:50', 1110.00, 0.00, 1110.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3252, 'A3249', '', 'CS3252', '', '', '', '', '2023-11-23', '19:50:16', 380.00, 0.00, 380.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3253, 'A3250', '', 'CS3253', '', '', '', '', '2023-11-23', '19:51:05', 1000.00, 0.00, 1000.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3254, 'A3251', '', 'CS3254', '', '', '', '', '2023-11-23', '19:54:45', 1771.00, 0.00, 1771.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3255, 'A3252', '', 'CS3255', '', '', '', '', '2023-11-23', '19:59:34', 490.00, 0.00, 490.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3256, 'A3253', '', 'CS3256', '', '', '', '', '2023-11-23', '20:00:35', 675.00, 0.00, 675.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3257, 'A3254', '', 'CS3257', '', '', '', '', '2023-11-23', '20:02:14', 940.00, 0.00, 940.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3258, 'A3255', '', 'CS3258', '', '', '', '', '2023-11-23', '20:13:39', 150.00, 0.00, 150.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3259, 'A3256', '', 'CS3259', '', '', '', '', '2023-11-23', '20:26:35', 1144.00, 0.00, 1144.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3260, 'A3257', '', 'CS3260', '', '', '', '', '2023-11-23', '20:45:54', 2884.00, 0.00, 2884.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3261, 'A3258', '', 'CS3261', '', '', '', '', '2023-11-23', '20:54:59', 130.00, 0.00, 130.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3262, 'A3259', '', 'CS3262', '', '', '', '', '2023-11-23', '21:04:18', 520.00, 0.00, 520.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3263, 'A3260', '', 'CS3263', '', '', '', '', '2023-11-23', '21:05:05', 400.00, 0.00, 400.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3264, 'A3261', '', 'CS3264', '', '', '', '', '2023-11-23', '21:05:45', 115.00, 0.00, 115.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3265, 'A3262', '', 'CS3265', '', '', '', '', '2023-11-23', '21:19:56', 1612.00, 0.00, 1612.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3266, 'A3263', '', 'CS3266', '', '', '', '', '2023-11-23', '21:37:26', 585.00, 0.00, 585.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3267, 'A3264', '', 'CS3267', '', '', '', '', '2023-11-23', '21:41:04', 220.00, 0.00, 220.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3268, 'A3265', '', 'CS3268', '', '', '', '', '2023-11-23', '21:51:31', 3448.00, 0.00, 3448.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3269, 'A3266', '', 'CS3269', '', '', '', '', '2023-11-23', '21:58:42', 1208.00, 0.00, 1208.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3270, 'A3267', '', 'CS3270', '', '', '', '', '2023-11-23', '22:17:29', 250.00, 0.00, 250.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3271, 'A3268', '', 'CS3271', '', '', '', '', '2023-11-24', '10:53:35', 1305.00, 0.00, 1305.00, 7, 1, 10022, 0, 14, 1, '0000-00-00 00:00:00', 0, '0397', '2', '0000-00-00', '00:00:00', 0, b'0'),
(3272, 'A3269', '', 'CS3272', '', '', '', '', '2023-11-24', '11:47:35', 350.00, 0.00, 350.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3273, 'A3270', '', 'CS3273', '', '', '', '', '2023-11-24', '11:54:12', 390.00, 0.00, 390.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3274, 'A3271', '', 'CS3274', '', '', '', '', '2023-11-24', '12:56:33', 120.00, 0.00, 120.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3275, 'A3272', '', 'CS3275', '', '', '', '', '2023-11-24', '13:18:30', 1798.00, 0.00, 1798.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3276, 'A3273', '', 'CS3276', '', '', '', '', '2023-11-24', '13:23:51', 1260.00, 0.00, 1260.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3277, 'A3274', '', 'CS3277', '', '', '', '', '2023-11-24', '13:54:36', 632.00, 0.00, 632.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3278, 'A3275', '', 'CS3278', '', '', '', '', '2023-11-24', '14:07:17', 1588.00, 0.00, 1588.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3279, 'A3276', '', 'CS3279', '', '', '', '', '2023-11-24', '14:10:58', 300.00, 0.00, 300.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3280, 'A3277', '', 'CS3280', '', '', '', '', '2023-11-24', '15:04:33', 1740.00, 0.00, 1740.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3281, 'A3278', '', 'CS3281', '', '', '', '', '2023-11-24', '15:05:42', 1474.00, 0.00, 1474.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3282, 'A3279', '', 'CS3282', '', '', '', '', '2023-11-24', '15:22:12', 1080.00, 0.00, 1080.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3283, 'A3280', '', 'CS3283', '', '', '', '', '2023-11-24', '15:26:02', 845.00, 0.00, 845.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3284, 'A3281', '', 'CS3284', '', '', '', '', '2023-11-24', '15:34:34', 210.00, 0.00, 210.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3285, 'A3282', '', 'CS3285', '', '', '', '', '2023-11-24', '15:36:06', 405.00, 0.00, 405.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3286, 'A3283', '', 'CS3286', '', '', '', '', '2023-11-24', '15:43:14', 50.00, 0.00, 50.00, 7, 1, 10467, 0, 14, 1, '0000-00-00 00:00:00', 0, '', '2', '0000-00-00', '00:00:00', 0, b'0'),
(3287, 'A3284', 'e5a9433f-2176-4ad0-bec9-63376d8406bb', 'CS3287', '', 'UObujv+4jH6c0Xe0k/kVdlieOc2vMIbA8zCPyTAsOhZShLFX3H09kK4bSNGwjm+mhtjn6FtAHNIJGul3YGtInKtv6vYaOIUc/mCCEHAWavEJ8HIOgjiEASj1pghjE0P+C4Mi01nBFqQlMtKS7tSZABQmBAJlug4K8u4506GWMcl7y1SqxxcPIuUMwhDxuSvqeR2yvRJDbmIte4pNVrvQjDtpAGBh6W+eKz3r0JO0N3pNmm9XLGe2etq6uvDdQzv8cUoiKJxc79HQvwBJlAUZGZ9F1H1zFZ/lTwAq/cnL054SS/h7WGwYrDsEzYQsBo1oSTp9eFSLGclvwzpJKvntCw==', '||1.1|e5a9433f-2176-4ad0-bec9-63376d8406bb|2023-11-28T13:42:56|LSO1306189R5|UObujv+4jH6c0Xe0k/kVdlieOc2vMIbA8zCPyTAsOhZShLFX3H09kK4bSNGwjm+mhtjn6FtAHNIJGul3YGtInKtv6vYaOIUc/mCCEHAWavEJ8HIOgjiEASj1pghjE0P+C4Mi01nBFqQlMtKS7tSZABQmBAJlug4K8u4506GWMcl7y1SqxxcPIuUMwhDxuSvqeR2yvRJDbmIte4pNVrvQjDtpAGBh6W+eKz3r0JO0N3pNmm9XLGe2etq6uvDdQzv8cUoiKJxc79HQvwBJlAUZGZ9F1H1zFZ/lTwAq/cnL054SS/h7WGwYrDsEzYQsBo1oSTp9eFSLGclvwzpJKvntCw==|00001000000509846663||', 'LQ2pRPoiYZqc7xOoT7zjoPuFYTopUC1/4Hy1E5LN127PqwGUEkhNNe8J9xjCZRXwGMCK5zx+Zjnlh0/qgJZN4adkUpRyVJhKLVURfJuY+kTmoM9TFmvJ8b9fMhMAxyL3bzFvm4xNyorQ5/Me4++xUxxDxIKhSq9X3dB+QGhFtgpqV+qdmH48n1EJQfY4vZXb+L3jo3eN51W+dJk9CudLY509mELaJNbErL+k5rRURe85jjQjmWx0onOPnvhwg3w4vOM4we43p9PPGo+9+gMycG/OXhLonnWG23LCsP8ats5X0cDXnlCx4szwm47dHiM+SlmgbUcUT5UscfgC7Wekxg==', '2023-11-24', '15:44:09', 1058.62, 169.38, 1228.00, 7, 1, 10467, 1, 14, 1, '2023-11-28 13:42:56', 0, '5600', '2', '2023-11-28', '13:42:54', 0, b'0'),
(3288, 'A3285', '', 'CS3288', '', '', '', '', '2023-11-24', '15:45:12', 1000.00, 0.00, 1000.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3289, 'A3286', '', 'CS3289', '', '', '', '', '2023-11-24', '16:09:57', 730.00, 0.00, 730.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3290, 'A3287', '', 'CS3290', '', '', '', '', '2023-11-24', '16:17:26', 1890.00, 0.00, 1890.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3291, 'A3288', '', 'CS3291', '', '', '', '', '2023-11-24', '16:18:38', 390.00, 0.00, 390.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3292, 'A3289', '', 'CS3292', '', '', '', '', '2023-11-24', '16:26:44', 780.00, 0.00, 780.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3293, 'A3290', '', 'CS3293', '', '', '', '', '2023-11-24', '16:44:18', 220.00, 0.00, 220.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3294, 'A3291', '', 'CS3294', '', '', '', '', '2023-11-24', '16:57:07', 389.00, 0.00, 389.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3295, 'A3292', '', 'CS3295', '', '', '', '', '2023-11-24', '17:25:16', 1490.00, 0.00, 1490.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3296, 'A3293', '', 'CS3296', '', '', '', '', '2023-11-24', '17:32:16', 809.00, 0.00, 809.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3297, 'A3294', '', 'CS3297', '', '', '', '', '2023-11-24', '17:58:37', 350.00, 0.00, 350.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3298, 'A3295', '', 'CS3298', '', '', '', '', '2023-11-24', '17:59:38', 1491.00, 0.00, 1491.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3299, 'A3296', '', 'CS3299', '', '', '', '', '2023-11-24', '18:11:13', 2000.00, 0.00, 2000.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3300, 'A3297', '', 'CS3300', '', '', '', '', '2023-11-24', '18:13:42', 340.00, 0.00, 340.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3301, 'A3298', '', 'CS3301', '', '', '', '', '2023-11-24', '18:14:22', 414.00, 0.00, 414.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3302, 'A3299', '', 'CS3302', '', '', '', '', '2023-11-24', '18:22:51', 749.00, 0.00, 749.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3303, 'A3300', '', 'CS3303', '', '', '', '', '2023-11-24', '18:31:07', 320.00, 0.00, 320.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3304, 'A3301', '', 'CS3304', '', '', '', '', '2023-11-24', '18:44:01', 1000.00, 0.00, 1000.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3305, 'A3302', '', 'CS3305', '', '', '', '', '2023-11-24', '18:46:52', 1454.00, 0.00, 1454.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3306, 'A3303', '', 'CS3306', '', '', '', '', '2023-11-24', '18:48:19', 2483.00, 0.00, 2483.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3307, 'A3304', '', 'CS3307', '', '', '', '', '2023-11-24', '19:05:56', 5094.00, 0.00, 5094.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3308, 'A3305', '', 'CS3308', '', '', '', '', '2023-11-24', '19:09:40', 1010.00, 0.00, 1010.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3309, 'A3306', '', 'CS3309', '', '', '', '', '2023-11-24', '19:20:14', 950.00, 0.00, 950.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3310, 'A3307', 'f32f75b1-b6ef-4960-b6a9-753348a58015', 'CS3310', '', 'fFD/Pp/f0aOFTJvFjZLOhXqItAEk+1aTIzkX6LnBBxLT2AEb43pjDpr/otahH/LqvTGKs222hcYINyxIkkVOmWB+7yvJ9DdpprX8tXfCKEJ+KQSRr5RLE+roD3xSyIXCOFCgg3UETziQvaW6gTB67Bz5qTmCz4L+E7hjnz7p8JoCHFIvn+zbS40wAg8BxK5Zt5t31IlAdEzc6axv4ki9NFEpuglln+jnFC4b+NFGIPzAvHTAwkHw0ExZPv3TnsCCyiXumiGB2rRtgLi3BB7/ZIb3CXWHLZYOW+VCIpzcZX/3IHjbOIvfBZB4Lps2eUYfj5e0S38kYsiEalqJfaLnnA==', '||1.1|f32f75b1-b6ef-4960-b6a9-753348a58015|2023-11-30T19:28:03|LSO1306189R5|fFD/Pp/f0aOFTJvFjZLOhXqItAEk+1aTIzkX6LnBBxLT2AEb43pjDpr/otahH/LqvTGKs222hcYINyxIkkVOmWB+7yvJ9DdpprX8tXfCKEJ+KQSRr5RLE+roD3xSyIXCOFCgg3UETziQvaW6gTB67Bz5qTmCz4L+E7hjnz7p8JoCHFIvn+zbS40wAg8BxK5Zt5t31IlAdEzc6axv4ki9NFEpuglln+jnFC4b+NFGIPzAvHTAwkHw0ExZPv3TnsCCyiXumiGB2rRtgLi3BB7/ZIb3CXWHLZYOW+VCIpzcZX/3IHjbOIvfBZB4Lps2eUYfj5e0S38kYsiEalqJfaLnnA==|00001000000509846663||', 'N/61QWbPmCn18JvOXJWAMq9H+uLQN9mK+Z0VZOUeufY9hiYHYJOKdgMp4S44HftZvgfhQQsg1EbddLWZAT57vvmLoPre5U7gn34XLfnXqOTWSFtudYAtbpfy1IklHHwYccpcUjXJGS5UdyXD/1VLaGnUddDQcv1EMMh2UPhDJGymej5YJlq2WqueaHPldkCeF/LESdcjsRv0mhm67aYSIuNzURuiH6As6NRsQ74VX6dW+Q+RbW+mz4CQIX6dK0x/20ZwZE9nJ4PsSkXyt3GOw2qUtrnjpvR3HsnCKscJU+BIBV1RckLtEooIDe+1OaVedjg8DyD/XdhowhI4itERiQ==', '2023-11-24', '19:20:14', 1125.00, 180.00, 1305.00, 7, 1, 10464, 1, 1, 1, '2023-11-30 19:28:03', 0, '', '2', '2023-11-30', '19:28:02', 0, b'0'),
(3311, 'A3308', '', 'CS3311', '', '', '', '', '2023-11-24', '19:24:49', 395.00, 0.00, 395.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3312, 'A3309', '', 'CS3312', '', '', '', '', '2023-11-24', '19:25:50', 940.00, 0.00, 940.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3313, 'A3310', '', 'CS3313', '', '', '', '', '2023-11-24', '19:26:28', 490.00, 0.00, 490.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3314, 'A3311', '', 'CS3314', '', '', '', '', '2023-11-24', '19:28:40', 2173.00, 0.00, 2173.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3315, 'A3312', '', 'CS3315', '', '', '', '', '2023-11-24', '19:34:09', 1758.00, 0.00, 1758.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3316, 'A3313', '', 'CS3316', '', '', '', '', '2023-11-24', '19:34:09', 2740.00, 0.00, 2740.00, 7, 1, 105, 0, 18, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3317, 'A3314', '', 'CS3317', '', '', '', '', '2023-11-24', '19:37:15', 962.00, 0.00, 962.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3318, 'A3315', '', 'CS3318', '', '', '', '', '2023-11-24', '19:38:23', 60.00, 0.00, 60.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3319, 'A3316', '', 'CS3319', '', '', '', '', '2023-11-24', '19:43:22', 375.00, 0.00, 375.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0');
INSERT INTO `ec_ventas` (`id_venta`, `folio`, `folio_fiscal`, `numero_orden`, `certificado_csd`, `sello_digital`, `cadena_original`, `certificado_sat`, `fecha`, `hora`, `subtotal`, `iva`, `total`, `id_usuario`, `id_sucursal`, `id_cliente`, `facturado`, `id_forma_pago`, `id_metodo_pago`, `fecha_timbrado`, `cancelado`, `clave_cliente`, `cfdi`, `fecha_real`, `hora_real`, `facturacion_productos_especificos`, `es_venta_linea`) VALUES
(3320, 'A3317', '', 'CS3320', '', '', '', '', '2023-11-24', '19:44:37', 902.00, 0.00, 902.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3321, 'A3318', '', 'CS3321', '', '', '', '', '2023-11-24', '19:45:39', 245.00, 0.00, 245.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3322, 'A3319', '', 'CS3322', '', '', '', '', '2023-11-24', '20:06:34', 375.00, 0.00, 375.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3323, 'A3320', '', 'CS3323', '', '', '', '', '2023-11-24', '20:14:38', 560.00, 0.00, 560.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3324, 'A3321', '', 'CS3324', '', '', '', '', '2023-11-24', '20:19:49', 465.00, 0.00, 465.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3325, 'A3322', '', 'CS3325', '', '', '', '', '2023-11-24', '20:23:55', 450.00, 0.00, 450.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3326, 'A3323', '', 'CS3326', '', '', '', '', '2023-11-24', '20:28:24', 927.00, 0.00, 927.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3327, 'A3324', '', 'CS3327', '', '', '', '', '2023-11-24', '20:34:01', 75.00, 0.00, 75.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3328, 'A3325', '', 'CS3328', '', '', '', '', '2023-11-24', '20:42:32', 1794.00, 0.00, 1794.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3329, 'A3326', '', 'CS3329', '', '', '', '', '2023-11-24', '20:50:53', 829.00, 0.00, 829.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3330, 'A3327', '', 'CS3330', '', '', '', '', '2023-11-24', '21:02:14', 600.00, 0.00, 600.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3331, 'A3328', '', 'CS3331', '', '', '', '', '2023-11-24', '21:07:00', 2546.00, 0.00, 2546.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3332, 'A3329', '', 'CS3332', '', '', '', '', '2023-11-24', '21:14:47', 274.00, 0.00, 274.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3333, 'A3330', '', 'CS3333', '', '', '', '', '2023-11-24', '21:19:25', 196.00, 0.00, 196.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3334, 'A3331', '', 'CS3334', '', '', '', '', '2023-11-24', '21:20:42', 390.00, 0.00, 390.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3335, 'A3332', '', 'CS3335', '', '', '', '', '2023-11-24', '21:22:56', 3889.00, 0.00, 3889.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3336, 'A3333', '', 'CS3336', '', '', '', '', '2023-11-24', '21:47:36', 765.00, 0.00, 765.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3337, 'A3334', '', 'CS3337', '', '', '', '', '2023-11-24', '21:47:36', 2364.15, 0.00, 2364.15, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3338, 'A3335', '', 'CS3338', '', '', '', '', '2023-11-24', '22:21:06', 5293.00, 0.00, 5293.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3339, 'A3336', '', 'CS3339', '', '', '', '', '2023-11-24', '22:33:52', 2837.00, 0.00, 2837.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3340, 'A3337', 'b1202406-1acc-4f40-90aa-edc2c9ca40ff', 'CS3340', '', 'RO6qFwLTF5CjW2fsLYgFOgEo6n8xl0j8op1b0I6InT9YjlOLv9sNJv3sMkxt9epy2Yg7GbXyMBmwgSP7BSRpOaQtN+SkAOzwaplZgVQaskMREbLoWIhglDO424LnnZdebgGVbKUcv25eHWJi4/kf7HIUoq2Zt6GmCo0yENC70g9SL9uD4VVYexZlNaBD97K/KDo0ozzyEZ5x8l5Woc+anh8qNJGQ/6cxOanft2lcMEPEdRHvw4PcVGtYd8D+kajI8avmgfqHyfwwQSRMP+IXUbD1uFjb1ljgrkmBZ5DAvx5Yse6X9D86mkXV2wPF/7KHlgf3wYYWTdrw4CA8JcUH8Q==', '||1.1|b1202406-1acc-4f40-90aa-edc2c9ca40ff|2023-11-28T14:00:46|LSO1306189R5|RO6qFwLTF5CjW2fsLYgFOgEo6n8xl0j8op1b0I6InT9YjlOLv9sNJv3sMkxt9epy2Yg7GbXyMBmwgSP7BSRpOaQtN+SkAOzwaplZgVQaskMREbLoWIhglDO424LnnZdebgGVbKUcv25eHWJi4/kf7HIUoq2Zt6GmCo0yENC70g9SL9uD4VVYexZlNaBD97K/KDo0ozzyEZ5x8l5Woc+anh8qNJGQ/6cxOanft2lcMEPEdRHvw4PcVGtYd8D+kajI8avmgfqHyfwwQSRMP+IXUbD1uFjb1ljgrkmBZ5DAvx5Yse6X9D86mkXV2wPF/7KHlgf3wYYWTdrw4CA8JcUH8Q==|00001000000509846663||', 'R5a91wGkwCd7Jz7UGk73K+44J+cgqgdUdHFlSbNbsB6/hWGqQdALVUqI7eGD+MPuX7Dq2f4jKQChluMpDf6QyseBZ+mh2LpBBgXrGX6vF1NdR3H5vi/xy0+2T+jkCFl+RxeFu5qF4dlXnQH5281iF8bwaZKGikMOIPVh2UKuIv3fn5iKO6O+6kUcBjx/H7+kVZagnV0XOmPan0yBH+WaqqyF57aNX5TqYUdbY/tbXoQWAGs9kEhzzvdcmRSobWxLmSTJfLyDNopglyluyJ9msKu+xgkEpKHcmzrYfvYG4pyH45HVZNzkfOsVpF4bk7f8ySvT6vkjt/lonQeB1it02A==', '2023-11-25', '08:11:05', 814.66, 130.35, 945.01, 1, 1, 10608, 1, 1, 1, '2023-11-28 14:00:46', 0, '', '2', '2023-11-28', '14:00:44', 0, b'0'),
(3341, 'A3338', '', 'CS3341', '', '', '', '', '2023-11-25', '10:28:30', 420.00, 0.00, 420.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3342, 'A3339', '', 'CS3342', '', '', '', '', '2023-12-07', '10:32:16', 88360.00, 0.00, 88360.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, '', '2', '0000-00-00', '00:00:00', 0, b'0'),
(3343, 'A3340', '', 'CS3343', '', '', '', '', '2023-12-07', '11:11:21', 285.00, 0.00, 285.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3345, 'A3342', '', 'CS3345', '', '', '', '', '2023-12-07', '12:02:20', 1150.00, 0.00, 1150.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3346, 'A3343', '', 'CS3346', '', '', '', '', '2023-12-07', '13:08:34', 2339.00, 0.00, 2339.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3347, 'A3344', 'f8b508b4-1742-4a50-8981-42dc30af02f9', 'CS3347', '', 'j+8WW+Ta8cBd6KZx+zkQxPgUlWAkebJIUYs/BPWDAXPKJ9hL5u5C75o3Ook7ztId7PxqvYKo5FbbJpdMe6tF0Wu3nqkmZ4derUsb0nm0QLxgWw68+RQzipHD004zVBN802GvXwqVSehJ7euCGQaq9wZO5HIWlZeRKP7uQNSgC2Rica7gQNlyyE6PPWgtK174uCDwPF2JY/ecEBc3RuT23a/jnz0LRLpn3p4b/l9+l4OeOpcaCSO2GNbBSTaBPhXBWmn7z3r1DLbE4SC6mUN6w7MVgmxRXepx+3N52BMgaLSEPDlCkiiyIZSRBp712frGyd/y700tMONEJYR8fNwNQQ==', '||1.1|f8b508b4-1742-4a50-8981-42dc30af02f9|2023-12-11T17:39:33|LSO1306189R5|j+8WW+Ta8cBd6KZx+zkQxPgUlWAkebJIUYs/BPWDAXPKJ9hL5u5C75o3Ook7ztId7PxqvYKo5FbbJpdMe6tF0Wu3nqkmZ4derUsb0nm0QLxgWw68+RQzipHD004zVBN802GvXwqVSehJ7euCGQaq9wZO5HIWlZeRKP7uQNSgC2Rica7gQNlyyE6PPWgtK174uCDwPF2JY/ecEBc3RuT23a/jnz0LRLpn3p4b/l9+l4OeOpcaCSO2GNbBSTaBPhXBWmn7z3r1DLbE4SC6mUN6w7MVgmxRXepx+3N52BMgaLSEPDlCkiiyIZSRBp712frGyd/y700tMONEJYR8fNwNQQ==|00001000000509846663||', 'BVwjV31MTjoUvnYagW+az4RhxQNyfmAuiTclw+thI/7I9ZsyffCMsMGD/fS2wADDl22Yan0NB0QcKxXIEidqID2a4h+mWLLqCqtNQ1LoDXBWm5ku3s996vYVTts5G9tJWh6pZPItCx0ZfAnSh3tchlaJOg3kWSreniaZ8hvvQ6vKlSx8YVZt4WJ8BBEFSHjXVbaWeVD3RmXETdRlUHCUx5qV0FmCzgdZZTEksBD1Lr4UgX7iqGrrcDdEcIgCpX3GKH1sC37wlG3hCk3I0lucIerQND6jAVhOzse20DJRTdanrsPmePMrHfg4VY2W4Mu5STvOBSyQRIp431zv7jb6JQ==', '2023-12-07', '13:09:41', 865.52, 138.48, 1004.00, 7, 1, 11377, 1, 11, 1, '2023-12-11 17:39:33', 0, '6058', '2', '2023-12-11', '17:39:31', 0, b'0'),
(3348, 'A3345', '', 'CS3348', '', '', '', '', '2023-12-07', '13:40:35', 1520.00, 0.00, 1520.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3349, 'A3346', '', 'CS3349', '', '', '', '', '2023-12-07', '13:55:33', 1984.00, 0.00, 1984.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3350, 'A3347', '3f4185bf-d2ca-411c-80c2-a1d2af6e0f2f', 'CS3350', '', 'cEUklVzIws/fq87LYq+3UjzkKseCO+1AJAJg7RXe6oOTJhBqdkplFL8bcl1Vc5Ce6gfgbVIAyGOReIIB5ZgdAh8iEg2pQlFb7iRDWJUWN0+h5OQ/3mmxC9dxwqDaXKkE+1SAJRsa3FQVdmB1jZLW0p51qxQxIb/hvALML19w2dPyNtOP3VKOCIUbK4EDyG+PhOu7cZ3bK7QcCjOVJ2BGIkyzlCURJQTEIHf4lTWZWdAiXc9BBB/3yM1gsVWE6sl2QTsoVSYJt19BWc53iPMXT+2JDoKCUEm0zQli25Eyx4+jnJbQBSTEDE9kfod6/2nvu9iCSGLNhrov8tSeCXD3GQ==', '||1.1|3f4185bf-d2ca-411c-80c2-a1d2af6e0f2f|2023-12-11T17:33:19|LSO1306189R5|cEUklVzIws/fq87LYq+3UjzkKseCO+1AJAJg7RXe6oOTJhBqdkplFL8bcl1Vc5Ce6gfgbVIAyGOReIIB5ZgdAh8iEg2pQlFb7iRDWJUWN0+h5OQ/3mmxC9dxwqDaXKkE+1SAJRsa3FQVdmB1jZLW0p51qxQxIb/hvALML19w2dPyNtOP3VKOCIUbK4EDyG+PhOu7cZ3bK7QcCjOVJ2BGIkyzlCURJQTEIHf4lTWZWdAiXc9BBB/3yM1gsVWE6sl2QTsoVSYJt19BWc53iPMXT+2JDoKCUEm0zQli25Eyx4+jnJbQBSTEDE9kfod6/2nvu9iCSGLNhrov8tSeCXD3GQ==|00001000000509846663||', 'lk4gXu8HJFanMGvV/T79Jby9UpeWGQn/cggMeqO2EetaC7w5veu56HpQfTug8GpsqPcEiJdeJSj8N/+bGeCpPlHmJvm9aHrRmQ26aotuE8Jgqm2+FrfKspWopCOG7hhigasJ/by+zk5hVH5J3iQQdvcSa8HHfQonksz+7nRhPlzwI/oMTV/iVqk3UaXUeRpP+xRt9zteA/r7MbU5lfzLpgr7JA1YkMHHvbNkjHUYwCoVA8jwyl1WbJ1H41Otf3UBVA1iaZ7FNIMjepGA5DB8aWd0Sv1vgODERLJWU9iJyE2aNxBtYlTQMParqTqzL0SzRDcvdggC1zn1+Yn8PkBdtA==', '2023-12-07', '14:03:09', 1991.38, 318.62, 2310.00, 7, 1, 10819, 1, 14, 1, '2023-12-11 17:33:19', 0, '4943', '2', '2023-12-11', '17:33:17', 0, b'0'),
(3351, 'A3348', '', 'CS3351', '', '', '', '', '2023-12-07', '14:03:59', 580.00, 0.00, 580.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3352, 'A3349', '', 'CS3352', '', '', '', '', '2023-12-07', '14:34:56', 460.00, 0.00, 460.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3353, 'A3350', '', 'CS3353', '', '', '', '', '2023-12-07', '14:48:14', 1524.00, 0.00, 1524.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3354, 'A3351', '', 'CS3354', '', '', '', '', '2023-12-07', '14:49:00', 800.00, 0.00, 800.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3355, 'A3352', '', 'CS3355', '', '', '', '', '2023-12-07', '14:55:53', 1347.00, 0.00, 1347.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3356, 'A3353', '', 'CS3356', '', '', '', '', '2023-12-07', '14:56:34', 810.00, 0.00, 810.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3357, 'A3354', '', 'CS3357', '', '', '', '', '2023-12-07', '14:56:34', 285.00, 0.00, 285.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3358, 'A3355', '', 'CS3358', '', '', '', '', '2023-12-07', '15:41:41', 1345.00, 0.00, 1345.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3359, 'A3356', '', 'CS3359', '', '', '', '', '2023-12-07', '15:57:42', 385.00, 0.00, 385.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3360, 'A3357', '', 'CS3360', '', '', '', '', '2023-12-07', '15:58:30', 190.00, 0.00, 190.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3361, 'A3358', '', 'CS3361', '', '', '', '', '2023-12-07', '16:21:00', 2390.00, 0.00, 2390.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3362, 'A3359', '', 'CS3362', '', '', '', '', '2023-12-07', '16:21:00', 0.01, 0.00, 0.01, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3363, 'A3360', '', 'CS3363', '', '', '', '', '2023-12-07', '16:52:28', 355.00, 0.00, 355.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3364, 'A3361', '', 'CS3364', '', '', '', '', '2023-12-07', '16:59:34', 650.00, 0.00, 650.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3365, 'A3362', '', 'CS3365', '', '', '', '', '2023-12-07', '17:10:38', 120.00, 0.00, 120.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3366, 'A3363', '', 'CS3366', '', '', '', '', '2023-12-07', '17:42:50', 786.00, 0.00, 786.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3367, 'A3364', '', 'CS3367', '', '', '', '', '2023-12-07', '18:30:45', 349.00, 0.00, 349.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3368, 'A3365', '', 'CS3368', '', '', '', '', '2023-12-07', '18:33:21', 751.00, 0.00, 751.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3369, 'A3366', '', 'CS3369', '', '', '', '', '2023-12-07', '18:38:38', 63.00, 0.00, 63.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3370, 'A3367', '940a8490-d010-43dc-970c-6d895171d263', 'CS3370', '', 'URgZcX2PqCnVluuiYZmUbFZNb1zdkC6TmJ0XxCwFXPb8H94dqzrAWcdnNp57Zigthe/oD8NojEd4wK9CoQYtKTXlPukwdl3r8eq3Z/ly0tEEqD5va6IqKxnVcnp4zD7s4YpgrQSACXTegczMFgJTqHpA74CRgRkw623aHabsxDN7Z9K78UeSTy7VuBL3+ASYZxeltX2GBwrPsUlKNcOcTaTskX49y5onu2g6UUIJOyHLhMqEuNmHSuaP0cx9Hjf0oFJMRzxakNscsvVLEVd3YK2PiBhxEplrcyRj4bNJLuBY9mDA4R1JPzi0dI2oB1LyoDJuJsjH0IQS7tNIZeckXg==', '||1.1|940a8490-d010-43dc-970c-6d895171d263|2023-12-11T18:00:15|LSO1306189R5|URgZcX2PqCnVluuiYZmUbFZNb1zdkC6TmJ0XxCwFXPb8H94dqzrAWcdnNp57Zigthe/oD8NojEd4wK9CoQYtKTXlPukwdl3r8eq3Z/ly0tEEqD5va6IqKxnVcnp4zD7s4YpgrQSACXTegczMFgJTqHpA74CRgRkw623aHabsxDN7Z9K78UeSTy7VuBL3+ASYZxeltX2GBwrPsUlKNcOcTaTskX49y5onu2g6UUIJOyHLhMqEuNmHSuaP0cx9Hjf0oFJMRzxakNscsvVLEVd3YK2PiBhxEplrcyRj4bNJLuBY9mDA4R1JPzi0dI2oB1LyoDJuJsjH0IQS7tNIZeckXg==|00001000000509846663||', 'WKzxUvY2JDtESJBHm/T5at7D3FMRAIN4rASKXfgAuNl/g84XTPruWcITtyIps7s3vfd5TBjJGh4NVsIj8Eqgm/04nXUzlKfP5ZUHm9sjo6qW08g+TuaLkmt9Zvt/e9x/PaTKEYJ+Qgfi0vQDOG2sdoC4kJ2O4OJx5J3HKEug87yVWXuzCsKU66aRLCLwYfVd+2TkN0F8NAMY7zZmAWGJaDTO8lKDOvnGEk2KmVbQwDwBg3VLrCb69G/Ua3DevrWPLSM1pdvraIuy+NT36dptI4tGJBIG8txYke6hDcSPY5j4+7wdMydHvTwwwXlm6ooP9nl4Kx2+rpwiYe1La8EKDg==', '2023-12-07', '18:39:23', 1891.38, 302.62, 2194.00, 7, 1, 10573, 1, 14, 1, '2023-12-11 18:00:15', 0, '0647', '2', '2023-12-11', '18:00:14', 0, b'0'),
(3371, 'A3368', '', 'CS3371', '', '', '', '', '2023-12-07', '18:56:08', 601.00, 0.00, 601.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3372, 'A3369', '', 'CS3372', '', '', '', '', '2023-12-07', '19:05:41', 1039.00, 0.00, 1039.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3373, 'A3370', '', 'CS3373', '', '', '', '', '2023-12-07', '19:10:42', 360.00, 0.00, 360.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3374, 'A3371', '', 'CS3374', '', '', '', '', '2023-12-07', '19:12:16', 1065.00, 0.00, 1065.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3375, 'A3372', '', 'CS3375', '', '', '', '', '2023-12-07', '19:35:15', 670.00, 0.00, 670.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3376, 'A3373', '', 'CS3376', '', '', '', '', '2023-12-07', '19:52:52', 865.00, 0.00, 865.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3377, 'A3374', '376cb88a-26ce-4878-9aca-72f35799fce6', 'CS3377', '', 'NkgpwUnmK2L0ZrZiTzAjuS0a732XHVAff4muQ3Wf7kTqivIEXLtPGqNVVTjLaKaOZFqMbz7O6hfEqEQps25fLCHoDC6Y2j5mvbusHPs69BtkRJbxhOcHe+h8Jazb3inxxHSR61xz+UcWOFwunaOI7Ytcg9a+bCniZDVKe+uQZXMhAtlknIjinRxFYb9tcBoytAVnjIjx21FVN5UEk0aO55BGsXK8q0+UOf/C0NNatEecigUjKgEgtQEiYULp9UF7HGWNjICqo8/OA2qSNfzfRv5etx/Wsmxx68ig6sNa0wVU1KgVvKuIEOhdjFQrglohlGK1YzE884C+d7ykLpaxeg==', '||1.1|376cb88a-26ce-4878-9aca-72f35799fce6|2023-12-11T17:41:21|LSO1306189R5|NkgpwUnmK2L0ZrZiTzAjuS0a732XHVAff4muQ3Wf7kTqivIEXLtPGqNVVTjLaKaOZFqMbz7O6hfEqEQps25fLCHoDC6Y2j5mvbusHPs69BtkRJbxhOcHe+h8Jazb3inxxHSR61xz+UcWOFwunaOI7Ytcg9a+bCniZDVKe+uQZXMhAtlknIjinRxFYb9tcBoytAVnjIjx21FVN5UEk0aO55BGsXK8q0+UOf/C0NNatEecigUjKgEgtQEiYULp9UF7HGWNjICqo8/OA2qSNfzfRv5etx/Wsmxx68ig6sNa0wVU1KgVvKuIEOhdjFQrglohlGK1YzE884C+d7ykLpaxeg==|00001000000509846663||', 'hJ9nLU/v0NbpigHmHAeMnK4QYpaUwN+WN37JoJQT+GOjiAV33Q4Qk118iAxO0222QFaPjoPPK4Qf296xpYsjd7cYwT8Z+aSp6zcX3eFHHney4LstZUsdsh88iylbnsY9sz2jN+gTuAPExUTKUwrSY0ILt69jxF/uq8q+vEGMHBSNHntGduHGCRPFd5R5mip4ie2gVrQOaYiBmSLcF5/ijChfeIl8xraexKSpX/TSEPSICJiVyMl1081U5zkZ//4BOKMq+kmWqT58F1I+GhE5dGBDJDycFM2mXgHXMyEDwOlb1ri8Jme9XpQuBmaFCfjF4Y7ye01jtXV6mQq+pyZjSg==', '2023-12-07', '20:13:05', 1284.48, 205.52, 1490.00, 7, 1, 11361, 1, 14, 1, '2023-12-11 17:41:21', 0, '1205', '2', '2023-12-11', '17:41:19', 0, b'0'),
(3378, 'A3375', '', 'CS3378', '', '', '', '', '2023-12-07', '20:17:18', 971.00, 0.00, 971.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3379, 'A3376', '', 'CS3379', '', '', '', '', '2023-12-07', '20:31:02', 1150.00, 0.00, 1150.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3380, 'A3377', '', 'CS3380', '', '', '', '', '2023-12-07', '20:42:30', 725.00, 0.00, 725.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3381, 'A3378', '', 'CS3381', '', '', '', '', '2023-12-07', '21:27:19', 1935.00, 0.00, 1935.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3382, 'A3379', 'c35ff3a9-e8f3-4ede-80e7-5f7b6df85481', 'CS3382', '', 'JS1lrafBFQWl/7rdxC+zmSjGI10oR//1dEmGM7SCRvj95F7WNSCKvxKyiSTKiXt1oCKZDkzFVKEsNujJf1ylk98nJsBRBt6oEFuSnPNXZuwglInvNY8/GgfFPIe/8tkdBZrrDYwPgXGlVjDRxfwvjPH4T615P6SUvuFoip/R+/7aTIQMuZr5TsBKHJSvo954ZTucwSbHOTo6xvWhxotsx6CqazzsH6vVIBbPgSaTJtsfmu2iWDIvcWzSnyEKJitR/AB//dSaXGzySQfPF9oyNQ0KC2cqBlx+17M2wjjNjrISyUOhKcZrLN8wsjES+FX+Y0FblVpUo1hxPMMkhDdyDA==', '||1.1|c35ff3a9-e8f3-4ede-80e7-5f7b6df85481|2023-12-11T17:45:17|LSO1306189R5|JS1lrafBFQWl/7rdxC+zmSjGI10oR//1dEmGM7SCRvj95F7WNSCKvxKyiSTKiXt1oCKZDkzFVKEsNujJf1ylk98nJsBRBt6oEFuSnPNXZuwglInvNY8/GgfFPIe/8tkdBZrrDYwPgXGlVjDRxfwvjPH4T615P6SUvuFoip/R+/7aTIQMuZr5TsBKHJSvo954ZTucwSbHOTo6xvWhxotsx6CqazzsH6vVIBbPgSaTJtsfmu2iWDIvcWzSnyEKJitR/AB//dSaXGzySQfPF9oyNQ0KC2cqBlx+17M2wjjNjrISyUOhKcZrLN8wsjES+FX+Y0FblVpUo1hxPMMkhDdyDA==|00001000000509846663||', 'OrB5KCLwx1vjiczfi6lXuC5q6nCNzDSXk4oUgoEaATaUAK+2l67TyrJ9EEeH/VUc7jJrpAQkkladtXXpXjtxMSUOzwW4ltAkMX55atcSk02+KEGgrbtOOsgI9LWfpYKVd+ToSZ8EscVduJ+IBNhapbWdXdmDXJhUy4Y4xyLLHbbWAWggWdzLyM0kSp7KzGuz6b7BDGOp0qvUSAYuYQEOCxMz1HljOymsmHQ9UpvxYsyD3GO31B6NJm/LcaF6tFoe81N7bmYNwhhErCDggMLy658fzM9n6qRY7n+7R4m3Ug+264xZJVqFHeGqSOK0EL68mI9oNrFb1eE5KBfgAYjHIQ==', '2023-12-07', '21:34:47', 1491.41, 238.63, 1730.04, 7, 1, 11360, 1, 11, 1, '2023-12-11 17:45:17', 0, '', '2', '2023-12-11', '17:45:15', 0, b'0'),
(3383, 'A3380', '', 'CS3383', '', '', '', '', '2023-12-07', '21:39:34', 988.00, 0.00, 988.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3384, 'A3381', '', 'CS3384', '', '', '', '', '2023-12-07', '22:11:25', 1746.00, 0.00, 1746.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3386, 'A3383', '', 'CS3386', '', '', '', '', '2023-12-07', '22:28:50', 2165.00, 0.00, 2165.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3387, 'A3384', '', 'CS3387', '', '', '', '', '2023-12-07', '22:28:50', 1727.24, 0.00, 1727.24, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3388, 'A3385', '', 'CS3388', '', '', '', '', '2023-12-07', '22:29:40', 0.01, 0.00, 0.01, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3389, 'A3386', '', 'CS3389', '', '', '', '', '2023-12-07', '22:31:18', 265.00, 0.00, 265.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3390, 'A3387', '', 'CS3390', '', '', '', '', '2023-12-08', '10:20:16', 445.00, 0.00, 445.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3391, 'A3388', '', 'CS3391', '', '', '', '', '2023-12-08', '12:01:56', 6420.00, 0.00, 6420.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3392, 'A3389', '', 'CS3392', '', '', '', '', '2023-12-08', '12:03:34', 3693.00, 0.00, 3693.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3393, 'A3390', '', 'CS3393', '', '', '', '', '2023-12-08', '12:04:32', 588.00, 0.00, 588.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3394, 'A3391', '', 'CS3394', '', '', '', '', '2023-12-08', '12:20:32', 1345.00, 0.00, 1345.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3395, 'A3392', '', 'CS3395', '', '', '', '', '2023-12-08', '12:34:09', 5422.00, 0.00, 5422.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3396, 'A3393', '', 'CS3396', '', '', '', '', '2023-12-08', '12:50:15', 924.00, 0.00, 924.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3397, 'A3394', '', 'CS3397', '', '', '', '', '2023-12-08', '13:05:15', 600.00, 0.00, 600.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3398, 'A3395', '', 'CS3398', '', '', '', '', '2023-12-08', '13:14:00', 1719.00, 0.00, 1719.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3399, 'A3396', '', 'CS3399', '', '', '', '', '2023-12-08', '13:52:41', 2048.00, 0.00, 2048.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3400, 'A3397', '', 'CS3400', '', '', '', '', '2023-12-08', '14:04:53', 250.00, 0.00, 250.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3401, 'A3398', '', 'CS3401', '', '', '', '', '2023-12-08', '14:05:37', 445.00, 0.00, 445.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3402, 'A3399', '', 'CS3402', '', '', '', '', '2023-12-08', '14:14:09', 235.00, 0.00, 235.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3403, 'A3400', '', 'CS3403', '', '', '', '', '2023-12-08', '14:26:55', 145.00, 0.00, 145.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3404, 'A3401', '', 'CS3404', '', '', '', '', '2023-12-08', '14:29:34', 990.00, 0.00, 990.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3405, 'A3402', '', 'CS3405', '', '', '', '', '2023-12-08', '15:06:42', 818.00, 0.00, 818.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3406, 'A3403', '', 'CS3406', '', '', '', '', '2023-12-08', '15:07:18', 323.00, 0.00, 323.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3407, 'A3404', '', 'CS3407', '', '', '', '', '2023-12-08', '15:18:02', 659.00, 0.00, 659.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3408, 'A3405', '', 'CS3408', '', '', '', '', '2023-12-08', '15:33:45', 1345.00, 0.00, 1345.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3409, 'A3406', '', 'CS3409', '', '', '', '', '2023-12-08', '15:38:21', 1790.00, 0.00, 1790.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3410, 'A3407', '', 'CS3410', '', '', '', '', '2023-12-08', '15:41:14', 739.00, 0.00, 739.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3411, 'A3408', '', 'CS3411', '', '', '', '', '2023-12-08', '15:41:14', 445.00, 0.00, 445.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3412, 'A3409', '', 'CS3412', '', '', '', '', '2023-12-08', '15:59:18', 2812.00, 0.00, 2812.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3413, 'A3410', '', 'CS3413', '', '', '', '', '2023-12-08', '16:08:16', 1235.00, 0.00, 1235.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3414, 'A3411', '', 'CS3414', '', '', '', '', '2023-12-08', '16:22:32', 761.00, 0.00, 761.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3415, 'A3412', '', 'CS3415', '', '', '', '', '2023-12-08', '16:24:19', 2442.00, 0.00, 2442.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3416, 'A3413', '', 'CS3416', '', '', '', '', '2023-12-08', '16:28:14', 2799.00, 0.00, 2799.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3417, 'A3414', '', 'CS3417', '', '', '', '', '2023-12-08', '16:48:40', 1675.00, 0.00, 1675.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3418, 'A3415', '', 'CS3418', '', '', '', '', '2023-12-08', '16:57:56', 908.00, 0.00, 908.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3419, 'A3416', '', 'CS3419', '', '', '', '', '2023-12-08', '17:12:05', 1422.00, 0.00, 1422.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3420, 'A3417', '', 'CS3420', '', '', '', '', '2023-12-08', '17:17:06', 485.00, 0.00, 485.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3421, 'A3418', '', 'CS3421', '', '', '', '', '2023-12-08', '17:19:01', 330.00, 0.00, 330.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3422, 'A3419', '', 'CS3422', '', '', '', '', '2023-12-08', '17:20:52', 490.00, 0.00, 490.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3423, 'A3420', '', 'CS3423', '', '', '', '', '2023-12-08', '17:21:41', 265.00, 0.00, 265.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3424, 'A3421', '', 'CS3424', '', '', '', '', '2023-12-08', '17:27:12', 3493.00, 0.00, 3493.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3425, 'A3422', '', 'CS3425', '', '', '', '', '2023-12-08', '17:28:37', 1220.00, 0.00, 1220.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3426, 'A3423', '', 'CS3426', '', '', '', '', '2023-12-08', '17:29:53', 998.00, 0.00, 998.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3427, 'A3424', '', 'CS3427', '', '', '', '', '2023-12-08', '17:30:31', 1514.00, 0.00, 1514.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3428, 'A3425', '', 'CS3428', '', '', '', '', '2023-12-08', '17:30:31', 75.00, 0.00, 75.00, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3429, 'A3426', '', 'CS3429', '', '', '', '', '2023-12-08', '17:31:50', 220.00, 0.00, 220.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3430, 'A3427', '', 'CS3430', '', '', '', '', '2023-12-08', '17:42:09', 909.00, 0.00, 909.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3431, 'A3428', '', 'CS3431', '', '', '', '', '2023-12-08', '17:46:12', 1389.00, 0.00, 1389.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3432, 'A3429', '', 'CS3432', '', '', '', '', '2023-12-08', '17:52:21', 1554.00, 0.00, 1554.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3433, 'A3430', '', 'CS3433', '', '', '', '', '2023-12-08', '17:55:00', 1189.00, 0.00, 1189.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3434, 'A3431', '6b32a26a-786b-425d-bda1-c1737c9f67d0', 'CS3434', '', 'S/7hjZWryMhjNPh0ABdhT29jlSvj+l8hqxr26n6okPZ0a2SPmzGQPTeH+nu//W55K9gc/PUn1/Q35OeCzrnW5TKHr1o5PgRMKctsmlqIDSwtECiDSxJSiTDZu/dDAzOPQdANwttV3rt86vw/BLhCD48vndlUZqV0tYPg9w6thNbUdiumoT/v5WEt+Onb8adtUVM1her21EmezpBwqkTKGQF/2dKWNxLyUOTj8YrXCyCk1ehNbP7h9dOGJxRmxrIYjCJtK8Um+i7Xz2RUc2qRqOmAuoEtlaRIYee6BbX7EfSgj6mixtiWu3TSnDygigQjurU2QA8KsykglkavVuSsOA==', '||1.1|6b32a26a-786b-425d-bda1-c1737c9f67d0|2023-12-11T18:01:12|LSO1306189R5|S/7hjZWryMhjNPh0ABdhT29jlSvj+l8hqxr26n6okPZ0a2SPmzGQPTeH+nu//W55K9gc/PUn1/Q35OeCzrnW5TKHr1o5PgRMKctsmlqIDSwtECiDSxJSiTDZu/dDAzOPQdANwttV3rt86vw/BLhCD48vndlUZqV0tYPg9w6thNbUdiumoT/v5WEt+Onb8adtUVM1her21EmezpBwqkTKGQF/2dKWNxLyUOTj8YrXCyCk1ehNbP7h9dOGJxRmxrIYjCJtK8Um+i7Xz2RUc2qRqOmAuoEtlaRIYee6BbX7EfSgj6mixtiWu3TSnDygigQjurU2QA8KsykglkavVuSsOA==|00001000000509846663||', 'KWMIuGoCKCdY9G6HdnBlPCVIypH8Tzhil2OiJQYAF7jIevqb3f8unLQoeopj3M8JhM8lOzJIfo0ZuCA6Duionp9YfFsAf+0UkiGea3Zc3jiIo7OKUtECz3WsfuMGmDf0hAaRUQYMMjESclgZVs3BlcM3t/V3Z06PQ0x+rr1IgyCc/Met6sYhx1VYuftjROhDfILXC51dhM9Ix3JqL2Mfoe5CSBe20ZQCoHvFrGnC3QytQ73IwWtbxPbc74q2s2s2q0aP5zqcvSo0zd3KxQJE1o9lfGL545IWcu7aouei78ApIWAebKkDw27e8xsaUaLfY/Ty07TQpNlPEFlLoJDfjw==', '2023-12-08', '17:55:00', 1244.83, 199.17, 1444.00, 7, 1, 11390, 1, 1, 1, '2023-12-11 18:01:12', 0, NULL, '2', '2023-12-11', '18:01:11', 0, b'0'),
(3435, 'A3432', '', 'CS3435', '', '', '', '', '2023-12-08', '18:03:38', 1630.00, 0.00, 1630.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3436, 'A3433', '', 'CS3436', '', '', '', '', '2023-12-08', '18:06:28', 1200.00, 0.00, 1200.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3437, 'A3434', '', 'CS3437', '', '', '', '', '2023-12-08', '18:08:07', 300.00, 0.00, 300.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3438, 'A3435', '', 'CS3438', '', '', '', '', '2023-12-08', '18:08:07', 4647.75, 0.00, 4647.75, 7, 1, 1, 0, 1, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3439, 'A3436', '', 'CS3439', '', '', '', '', '2023-12-08', '18:35:33', 375.00, 0.00, 375.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3440, 'A3437', '', 'CS3440', '', '', '', '', '2023-12-08', '18:37:23', 455.00, 0.00, 455.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3441, 'A3438', '', 'CS3441', '', '', '', '', '2023-12-08', '18:45:03', 1725.00, 0.00, 1725.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3442, 'A3439', '', 'CS3442', '', '', '', '', '2023-12-08', '18:55:33', 600.00, 0.00, 600.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3443, 'A3440', '', 'CS3443', '', '', '', '', '2023-12-08', '19:06:16', 300.00, 0.00, 300.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3444, 'A3441', '', 'CS3444', '', '', '', '', '2023-12-08', '19:16:06', 1644.00, 0.00, 1644.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3445, 'A3442', '', 'CS3445', '', '', '', '', '2023-12-08', '19:24:08', 330.00, 0.00, 330.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3446, 'A3443', '', 'CS3446', '', '', '', '', '2023-12-08', '19:33:24', 895.00, 0.00, 895.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3447, 'A3444', '', 'CS3447', '', '', '', '', '2023-12-08', '19:34:15', 2054.00, 0.00, 2054.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3448, 'A3445', '', 'CS3448', '', '', '', '', '2023-12-08', '19:36:28', 790.00, 0.00, 790.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3449, 'A3446', '', 'CS3449', '', '', '', '', '2023-12-08', '19:38:18', 2129.00, 0.00, 2129.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3450, 'A3447', '', 'CS3450', '', '', '', '', '2023-12-08', '19:46:24', 110.00, 0.00, 110.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3451, 'A3448', '', 'CS3451', '', '', '', '', '2023-12-08', '19:51:38', 1051.00, 0.00, 1051.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3452, 'A3449', '', 'CS3452', '', '', '', '', '2023-12-08', '19:56:30', 255.00, 0.00, 255.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3453, 'A3450', '', 'CS3453', '', '', '', '', '2023-12-08', '19:58:50', 360.00, 0.00, 360.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3454, 'A3451', '', 'CS3454', '', '', '', '', '2023-12-08', '20:16:41', 1410.00, 0.00, 1410.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3455, 'A3452', '', 'CS3455', '', '', '', '', '2023-12-08', '20:21:54', 100.00, 0.00, 100.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3456, 'A3453', '', 'CS3456', '', '', '', '', '2023-12-08', '20:23:11', 1448.00, 0.00, 1448.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3457, 'A3454', '', 'CS3457', '', '', '', '', '2023-12-08', '20:23:51', 50.00, 0.00, 50.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3458, 'A3455', '', 'CS3458', '', '', '', '', '2023-12-08', '20:36:05', 1375.00, 0.00, 1375.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3459, 'A3456', '', 'CS3459', '', '', '', '', '2023-12-08', '20:40:57', 3370.00, 0.00, 3370.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3460, 'A3457', '', 'CS3460', '', '', '', '', '2023-12-08', '20:45:42', 1420.00, 0.00, 1420.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3461, 'A3458', '', 'CS3461', '', '', '', '', '2023-12-08', '21:08:00', 1110.00, 0.00, 1110.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3462, 'A3459', '', 'CS3462', '', '', '', '', '2023-12-08', '21:13:21', 2714.00, 0.00, 2714.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3463, 'A3460', '', 'CS3463', '', '', '', '', '2023-12-08', '21:14:23', 824.00, 0.00, 824.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3464, 'A3461', '', 'CS3464', '', '', '', '', '2023-12-08', '21:22:24', 180.00, 0.00, 180.00, 7, 1, 1, 0, 11, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3465, 'A3462', 'af54aa15-a25b-4ed9-ba9a-72edbbcdf9fc', 'CS3465', '', 'HfT4vzXf70u4Q3O9yGjIG1lDkbCJZqr+xVzQyTcZwt3MLQ9O6b2mexfC++DgMW3v/30wMYYMkgPuzOVjsyiKDwFfTBzzCSBo3f5ZzraJC2i9vp65NLAIFXQ5k+GY7MvOaQm2qFIWyr3qQHmuFCLUBLmTLRaYggm7GJds/PqW2hOIUasUETVouEHCVnLF77L6oRcul3HIiZp2vpePug339eOm47A/gXJIqlFruj917a3pOg9OLvd+X0v92Tdmi07PuYr/qPt4syst7qC3oAxFpgbsV5P3dOIeZHTeC26hl7m0tkp/kbrUu01Rog4feMXwRAJL0/Koy85XOy9R2xUUnA==', '||1.1|af54aa15-a25b-4ed9-ba9a-72edbbcdf9fc|2023-12-11T18:02:10|LSO1306189R5|HfT4vzXf70u4Q3O9yGjIG1lDkbCJZqr+xVzQyTcZwt3MLQ9O6b2mexfC++DgMW3v/30wMYYMkgPuzOVjsyiKDwFfTBzzCSBo3f5ZzraJC2i9vp65NLAIFXQ5k+GY7MvOaQm2qFIWyr3qQHmuFCLUBLmTLRaYggm7GJds/PqW2hOIUasUETVouEHCVnLF77L6oRcul3HIiZp2vpePug339eOm47A/gXJIqlFruj917a3pOg9OLvd+X0v92Tdmi07PuYr/qPt4syst7qC3oAxFpgbsV5P3dOIeZHTeC26hl7m0tkp/kbrUu01Rog4feMXwRAJL0/Koy85XOy9R2xUUnA==|00001000000509846663||', 'AaPiY96aaiyHX0b+d5ksd9QR5QRAcwIHb9V8pgxM69Cg2lBHcyseOPihRHJ8Cy0dKh0peOHcrF9JJFwYhqxxWASxCR/iN0Paxp+76HBlgA7ru9yG5f0v35rj3pvQuwECkCJemFGIcQBFMpm+M6M5K0SMk/564WbgYBUJfHa+eWyMUvWMX1OmtpFwN6gChtueUSVx+d31ZnYp5zRg2w54+MTIuvw08zPeNMDuRCss0pb5wNxzd1WJvpVeqHwwxoT4CltedITMZnXDNMQsNX1r8cMbQxjlRv+OR21b5tJbjubT/NnpL4LqQ3pD+1RHql5qmTxZjy8Gbb/lx4XaX5RNQw==', '2023-12-08', '21:22:24', 556.03, 88.96, 644.99, 7, 1, 11393, 1, 1, 1, '2023-12-11 18:02:10', 0, '', '2', '2023-12-11', '18:02:08', 0, b'0'),
(3466, 'A3463', '', 'CS3466', '', '', '', '', '2023-12-08', '21:32:42', 3531.00, 0.00, 3531.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3467, 'A3464', '', 'CS3467', '', '', '', '', '2023-12-08', '21:44:33', 3500.00, 0.00, 3500.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3468, 'A3465', '', 'CS3468', '', '', '', '', '2023-12-08', '21:49:53', 600.00, 0.00, 600.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3469, 'A3466', '', 'CS3469', '', '', '', '', '2023-12-08', '21:53:34', 265.00, 0.00, 265.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3470, 'A3467', '', 'CS3470', '', '', '', '', '2023-12-08', '22:05:24', 639.00, 0.00, 639.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3471, 'A3468', '', 'CS3471', '', '', '', '', '2023-12-08', '22:18:54', 605.00, 0.00, 605.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3472, 'A3469', '', 'CS3472', '', '', '', '', '2023-12-08', '22:36:16', 2794.00, 0.00, 2794.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3473, 'A3470', '', 'CS3473', '', '', '', '', '2023-12-08', '00:00:00', 75.00, 0.00, 75.00, 7, 1, 1, 0, 14, 1, '0000-00-00 00:00:00', 0, NULL, '2', '0000-00-00', '00:00:00', 0, b'0'),
(3474, 'A3471', '489bda13-25ec-4c79-bafa-5a94f45c7672', 'CS3474', '', 'CjR6i9T5t4SrqB3IG6FZrEP4pUKRi1Dlzuq5QWq/XE5B/8OWDC0s+awPXu29KQZy9y19183gLYFS8wjRqo9aOiXyAJhtTZbSzexGOckiAUP4RLRD6/6UirXfNGz1+YT92t5sgKXqreKdhOpt37zd1v52EnfPG35f9oM6YJXmlotAbg+q3N2E3+cpGwJiqtdPR069M9bpW1fwzlYdncwj/SwcQigLUL9/JrTcKJx6KBpZ5yUq2Z+SdXS31MvXiCyc0keTH3SzYOUKJbCD21CsX77gIL0BgfoVwijbhEAOr/H0A0sPv8Fk8IFMrd8c4NLKuigKN1PYvI5JKs8oczUymA==', '||1.1|489bda13-25ec-4c79-bafa-5a94f45c7672|2023-12-29T15:25:11|LSO1306189R5|CjR6i9T5t4SrqB3IG6FZrEP4pUKRi1Dlzuq5QWq/XE5B/8OWDC0s+awPXu29KQZy9y19183gLYFS8wjRqo9aOiXyAJhtTZbSzexGOckiAUP4RLRD6/6UirXfNGz1+YT92t5sgKXqreKdhOpt37zd1v52EnfPG35f9oM6YJXmlotAbg+q3N2E3+cpGwJiqtdPR069M9bpW1fwzlYdncwj/SwcQigLUL9/JrTcKJx6KBpZ5yUq2Z+SdXS31MvXiCyc0keTH3SzYOUKJbCD21CsX77gIL0BgfoVwijbhEAOr/H0A0sPv8Fk8IFMrd8c4NLKuigKN1PYvI5JKs8oczUymA==|00001000000509846663||', 'dQYO6fKXW4l/fJKL1CRsidChEa046HmGWZ1WN4WELM7Oaf60apfi61PtJ6qlW+xNgbzTbnOsyOF6WSmkjRYHpVg5hCM/Ei7Y7aZ7C0RE/LMt9LoT++pYuUWeYY+iumuc2QY/KRPh0ZpJO+iethDGDcdpdCoofLZKuAxhDWhhUtumj/0XDo+hKH9994zb6Wogj/qi4olBHOTZET4PuQMiQrrq5KO2J3lw6z0Pe67SUMyRQtGXD8pbs2hMNXM0QXSGO4atL4unOjKy+VYt4oVhA6OUjEbaZxhz7Xyk/ARS3yy7QPYDnlM6OKG0AjngfpUeEtTUDbPj61+VIeF3DFaKqQ==', '2023-12-08', '22:49:35', 420.69, 67.31, 488.00, 1, 1, 11767, 1, 1, 1, '2023-12-29 15:25:11', 0, '', '2', '2023-12-29', '15:25:10', 0, b'0');

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `ec_ventas_back`
--

CREATE TABLE `ec_ventas_back` (
  `id_venta` int(11) NOT NULL,
  `fecha` date NOT NULL,
  `hora` time NOT NULL,
  `monto` float NOT NULL,
  `folio` varchar(45) COLLATE utf8_bin NOT NULL,
  `id_venta_back` int(11) NOT NULL,
  `id_forma_pago` int(11) NOT NULL,
  `se_importo` tinyint(4) NOT NULL,
  `secuencia` int(11) NOT NULL,
  `id_cliente` int(11) NOT NULL,
  `id_uso_cfdi` int(2) NOT NULL DEFAULT '2'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Volcado de datos para la tabla `ec_ventas_back`
--

INSERT INTO `ec_ventas_back` (`id_venta`, `fecha`, `hora`, `monto`, `folio`, `id_venta_back`, `id_forma_pago`, `se_importo`, `secuencia`, `id_cliente`, `id_uso_cfdi`) VALUES
(3474, '2023-12-08', '22:49:35', 488, 'CS3474', 3662, 11, 1, 89, 1, 2);

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `ec_venta_tienda_linea`
--

CREATE TABLE `ec_venta_tienda_linea` (
  `id` int(11) NOT NULL,
  `id_venta` int(11) NOT NULL,
  `metodo_pago` varchar(100) DEFAULT NULL,
  `forma_pago` varchar(100) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_catalogos`
--

CREATE TABLE `sys_catalogos` (
  `id_catalogo` int(11) UNSIGNED NOT NULL,
  `tabla` varchar(120) CHARACTER SET latin1 NOT NULL,
  `no_tabla` int(2) NOT NULL DEFAULT '0',
  `tab` varchar(60) CHARACTER SET latin1 NOT NULL DEFAULT 'NO',
  `campo` varchar(60) CHARACTER SET latin1 NOT NULL,
  `display` varchar(60) CHARACTER SET latin1 NOT NULL,
  `orden` int(10) UNSIGNED NOT NULL,
  `tipo` varchar(30) CHARACTER SET latin1 NOT NULL,
  `es_llave` tinyint(1) UNSIGNED DEFAULT '0',
  `visible` tinyint(1) UNSIGNED DEFAULT '1',
  `modificable` tinyint(1) UNSIGNED DEFAULT '1',
  `requerido` tinyint(1) NOT NULL DEFAULT '0',
  `valor_inicial` varchar(120) CHARACTER SET latin1 DEFAULT NULL,
  `clase` varchar(30) CHARACTER SET latin1 DEFAULT NULL,
  `longitud` int(3) UNSIGNED DEFAULT NULL,
  `sql_combo` text CHARACTER SET latin1,
  `where_combo` text CHARACTER SET latin1,
  `order_combo` text CHARACTER SET latin1,
  `on_focus` text CHARACTER SET latin1,
  `on_blur` text CHARACTER SET latin1,
  `on_click` text CHARACTER SET latin1,
  `on_change` text CHARACTER SET latin1,
  `on_keypress` text CHARACTER SET latin1,
  `on_keydown` text CHARACTER SET latin1,
  `on_keyup` text CHARACTER SET latin1,
  `max_length` int(11) UNSIGNED DEFAULT NULL,
  `extensiones` varchar(50) CHARACTER SET latin1 DEFAULT NULL,
  `especificacion` text CHARACTER SET latin1,
  `clase_esp` varchar(30) CHARACTER SET latin1 DEFAULT NULL,
  `depende` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;


INSERT INTO `sys_catalogos` (`id_catalogo`, `tabla`, `no_tabla`, `tab`, `campo`, `display`, `orden`, `tipo`, `es_llave`, `visible`, `modificable`, `requerido`, `valor_inicial`, `clase`, `longitud`, `sql_combo`, `where_combo`, `order_combo`, `on_focus`, `on_blur`, `on_click`, `on_change`, `on_keypress`, `on_keydown`, `on_keyup`, `max_length`, `extensiones`, `especificacion`, `clase_esp`, `depende`) VALUES
(237, 'ec_pedidos', 2, 'NO', 'folio_cotizacion', 'Folio', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20, NULL, NULL, NULL, NULL),
(238, 'ec_pedidos', 2, 'NO', 'id_cliente', 'Cliente', 3, 'BUSCADOR', 0, 1, 1, 1, '', 'barra_tres', 20, 'SELECT id_cliente, nombre FROM ec_clientes WHERE nombre LIKE \'%$LLAVE%\' OR id_cliente = \'$LLAVE\'', 'SELECT id_cliente, nombre FROM ec_clientes WHERE id_cliente=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(239, 'ec_pedidos', 2, 'NO', 'fecha_alta', 'Fecha', 4, 'DATE', 0, 1, 0, 1, '$DATE', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(240, 'ec_pedidos', 2, 'NO', 'id_estatus', 'Estatus', 5, 'COMBO', 0, 0, 0, 1, '8', 'barra_tres', 11, 'SELECT id_estatus, nombre FROM ec_estatus_pedido WHERE 1', 'AND id_estatus=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(241, 'ec_pedidos', 2, 'NO', 'id_direccion', 'Dirección de entrega', 6, 'COMBO', 0, 0, 0, 0, '-1', 'barra_tres', 11, 'SELECT id_clientes_de, CONCAT(calle, \' #\', no_ext, \', Col. \', colonia) FROM ec_clientes_domentrega WHERE 1', 'AND id_clientes_de=', 'ORDER BY CONCAT(calle, \' #\', no_ext, \', Col. \', colonia)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(242, 'ec_pedidos', 2, 'NO', 'subtotal', 'Subtotal', 7, 'FLOAT', 0, 1, 0, 1, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(243, 'ec_pedidos', 2, 'NO', 'iva', 'IVA', 8, 'FLOAT', 0, 1, 0, 1, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(244, 'ec_pedidos', 2, 'NO', 'ieps', 'IEPS', 9, 'FLOAT', 0, 1, 0, 1, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(245, 'ec_pedidos', 2, 'NO', 'total', 'Total', 10, 'FLOAT', 0, 1, 0, 1, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(246, 'ec_pedidos', 2, 'NO', 'id_usuario', 'Creada por', 11, 'COMBO', 0, 1, 0, 1, '$USUARIO', 'barra', 11, 'SELECT id_usuario, CONCAT(nombre, \' \', apellido_paterno) FROM sys_users WHERE 1', 'AND id_usuario=', 'ORDER BY CONCAT(nombre, \' \', apellido_paterno)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(247, 'ec_pedidos', 2, 'NO', 'id_moneda', 'id_moneda', 12, 'INT', 0, 0, 0, 0, '1', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(248, 'ec_pedidos', 2, 'NO', 'id_razon_social', 'id_razon_social', 13, 'INT', 0, 0, 0, 0, '-1', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(249, 'ec_pedidos', 2, 'NO', 'fue_cot', 'fue_cot', 14, 'INT', 0, 0, 0, 0, '1', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(250, 'ec_pedidos', 2, 'NO', 'id_sucursal', 'Sucursal', 15, 'COMBO', 0, 0, 1, 1, '$SUCURSAL', 'barra_tres', 11, 'SELECT id_sucursal, nombre FROM sys_sucursales WHERE 1', ' AND id_sucursal=1', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(251, 'ec_clientes', 1, 'NO', 'id_cliente', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(252, 'ec_clientes', 1, 'NO', 'nombre', 'Nombre', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 120, NULL, NULL, NULL, NULL),
(253, 'ec_clientes', 1, 'NO', 'telefono', 'Teléfono', 3, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20, NULL, NULL, NULL, NULL),
(254, 'ec_clientes', 1, 'NO', 'email', 'E-mail', 4, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 60, NULL, NULL, NULL, NULL),
(255, 'ec_clientes', 1, 'NO', 'es_cliente', 'es_cliente', 5, 'BINARY', 0, 0, 0, 0, '0', 'barra', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(256, 'ec_clientes', 1, 'NO', 'id_sucursal', 'Sucursal', 6, 'COMBO', 0, 0, 0, 1, '$SUCURSAL', 'barra', 11, 'SELECT id_sucursal, nombre FROM sys_sucursales WHERE 1', 'AND id_sucursal=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(257, 'ec_notas_credito', 1, 'NO', 'id_nota_credito', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(258, 'ec_notas_credito', 1, 'NO', 'id_cliente', 'Cliente', 3, 'BUSCADOR', 0, 1, 1, 1, '', 'barra_tres', 20, 'SELECT id_cliente, nombre FROM ec_clientes WHERE nombre LIKE \'%$LLAVE%\' AND id_cliente=\'$LLAVE\'', 'SELECT id_cliente, nombre FROM ec_clientes WHERE id_cliente=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(259, 'ec_notas_credito', 1, 'NO', 'folio', 'Folio', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20, NULL, NULL, NULL, NULL),
(260, 'ec_notas_credito', 1, 'NO', 'id_proveedor', 'Proveedor', 4, 'BUSCADOR', 0, 0, 0, 0, '1', 'barra_tres', 20, 'SELECT id_proveedor, nombre_comercial FROM ec_proveedor WHERE nombre_comercial LIKE \'%$LLAVE%\' OR id_proveedor = \'$LLAVE\'', 'SELECT id_proveedor, nombre_comercial FROM ec_proveedor WHERE id_proveedor=', 'ORDER BY nombre_comercial', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(261, 'ec_notas_credito', 1, 'NO', 'id_concepto_nc', 'Concepto', 5, 'COMBO', 0, 1, 1, 1, NULL, 'barra_tres', 11, 'SELECT id_concepto, nombre FROM ec_concepto_nc WHERE 1', ' AND id_concepto=', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(262, 'ec_notas_credito', 1, 'NO', 'fecha', 'Fecha', 7, 'DATE', 0, 1, 0, 1, '$DATE', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(263, 'ec_notas_credito', 1, 'NO', 'id_usuario', 'Creada por', 8, 'COMBO', 0, 1, 0, 1, '$USUARIO', 'barra', 11, 'SELECT id_usuario, CONCAT(nombre, \' \', apellido_paterno) FROM sys_users WHERE 1', 'AND id_usuario=', 'ORDER BY CONCAT(nombre, \' \', apellido_paterno)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(264, 'ec_notas_credito', 1, 'NO', 'subtotal', 'Subtotal', 8, 'FLOAT', 0, 1, 0, 1, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(265, 'ec_notas_credito', 1, 'NO', 'iva', 'IVA', 9, 'FLOAT', 0, 1, 0, 1, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(266, 'ec_notas_credito', 1, 'NO', 'total', 'Total', 10, 'FLOAT', 0, 1, 0, 1, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(267, 'ec_notas_credito', 1, 'NO', 'id_oc', 'Orden de compra', 11, 'BUSCADOR', 0, 0, 0, 0, '-1', 'barra', 15, 'SELECT\r\nid_orden_compra,\r\nfolio\r\nFROM\r\n(\r\nSELECT id_orden_compra, folio FROM ec_ordenes_compra\r\nUNION\r\nSELECT -1 AS id_orden_compra, \'No aplica\' AS folio\r\n)aux', 'SELECT\r\nid_orden_compra,\r\nfolio\r\nFROM\r\n(\r\nSELECT id_orden_compra, folio FROM ec_ordenes_compra\r\nUNION\r\nSELECT -1 AS id_orden_compra, \'No aplica\' AS folio\r\n)aux WHERE id_orden_compra=', 'ORDER BY folio', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(268, 'ec_notas_credito', 1, 'NO', 'observaciones', 'Observaciones', 12, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 255, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1500, NULL, NULL, NULL, NULL),
(269, 'ec_notas_credito', 1, 'NO', 'tipo_nc', 'tipo_nc', 12, 'INT', 0, 0, 0, 0, '2', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(270, 'ec_notas_credito', 1, 'NO', 'id_pedido', 'Pedido', 13, 'BUSCADOR', 0, 1, 1, 1, '-1', 'barra_dos', 15, 'SELECT id_pedido, folio_pedido FROM ec_pedidos WHERE folio_pedido LIKE \'%$LLAVE%\' OR id_pedido=\'$LLAVE\'', 'SELECT id_pedido, folio_pedido FROM ec_pedidos WHERE id_pedido=', 'ORDER BY folio_pedido', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(271, 'ec_notas_credito', 1, 'NO', 'id_sucursal', 'Sucursal', 14, 'COMBO', 0, 0, 1, 1, '$SUCURSAL', 'barra_tres', 11, 'SELECT id_sucursal, nombre FROM sys_sucursales WHERE 1', 'AND id_sucursal=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(272, 'ec_nota_cargo', 1, 'NO', 'id_nota_cargo', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(273, 'ec_nota_cargo', 1, 'NO', 'folio', 'Folio', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20, NULL, NULL, NULL, NULL),
(274, 'ec_nota_cargo', 1, 'NO', 'id_cliente', 'Cliente', 3, 'BUSCADOR', 0, 1, 1, 1, '', 'barra_tres', 15, 'SELECT id_cliente, nombre FROM ec_clientes WHERE nombre LIKE \'%$LLAVE%\' OR id_cliente = \'$LLAVE\'', 'SELECT id_cliente, nombre FROM ec_clientes WHERE id_cliente=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(275, 'ec_nota_cargo', 1, 'NO', 'fecha', 'Fecha', 4, 'DATE', 0, 1, 0, 1, '$DATE', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(276, 'ec_nota_cargo', 1, 'NO', 'id_concepto_ncg', 'Concepto', 5, 'COMBO', 0, 1, 1, 1, NULL, 'barra_tres', 11, 'SELECT id_concepto, nombre FROM ec_concepto_ncg WHERE 1', ' AND id_concepto=', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(277, 'ec_nota_cargo', 1, 'NO', 'subtotal', 'Subtotal', 6, 'FLOAT', 0, 1, 1, 1, '0', 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(278, 'ec_nota_cargo', 1, 'NO', 'iva', 'IVA', 7, 'FLOAT', 0, 1, 1, 1, '0', 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(279, 'ec_nota_cargo', 1, 'NO', 'total', 'Total', 8, 'FLOAT', 0, 1, 1, 1, '0', 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(280, 'ec_nota_cargo', 1, 'NO', 'id_proveedor', 'id_proveedor', 10, 'INT', 0, 0, 0, 0, '1', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(281, 'ec_nota_cargo', 1, 'NO', 'tipo_nc', 'tipo_nc', 12, 'INT', 0, 0, 0, 0, '1', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(282, 'ec_nota_cargo', 1, 'NO', 'id_sucursal', 'Sucursal', 13, 'COMBO', 0, 0, 1, 1, '$SUCURSAL', 'barra_tres', 11, 'SELECT id_sucursal, nombre FROM sys_sucursales WHERE 1', 'AND id_sucursal=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(283, 'ec_precios', 0, 'NO', 'id_precio', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(285, 'ec_precios', 0, 'NO', 'fecha', 'Fecha', 3, 'DATE', 0, 1, 0, 1, '$DATE', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(286, 'ec_precios', 0, 'NO', 'id_usuario', 'Creada por', 4, 'COMBO', 0, 1, 0, 1, '$USUARIO', 'barra', 11, 'SELECT id_usuario, CONCAT(nombre, \' \', apellido_paterno) FROM sys_users WHERE 1', 'AND id_usuario=', 'ORDER BY CONCAT(nombre, \' \', apellido_paterno)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(288, 'ec_vendedores', 0, 'NO', 'id_vendedor', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(289, 'ec_vendedores', 0, 'NO', 'id_usuario', 'Usuario asignado', 2, 'COMBO', 0, 1, 1, 1, '', 'barra_tres', 11, 'SELECT id_usuario, CONCAT(nombre, \' \', apellido_paterno) FROM sys_users WHERE 1', 'AND id_usuario=', 'ORDER BY CONCAT(nombre, \' \', apellido_paterno)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(290, 'ec_vendedores', 0, 'NO', 'es_porcxventa', 'Porcentaje por venta', 3, 'BINARY', 0, 1, 1, 0, '0', 'barra_dos', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL),
(291, 'ec_vendedores', 0, 'NO', 'porc_venta', 'Porcentaje', 4, 'FLOAT', 0, 1, 0, 0, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, NULL, '%', NULL, NULL),
(292, 'ec_vendedores', 0, 'NO', 'es_montoxventa', 'Monto por venta', 5, 'BINARY', 0, 1, 1, 1, '0', 'barra_tres', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL),
(293, 'ec_vendedores', 0, 'NO', 'montoxventa', 'Monto', 6, 'FLOAT', 0, 1, 0, 0, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, NULL, '', NULL, NULL),
(294, 'ec_vendedores', 0, 'NO', 'es_metas_venta', 'Metas de venta', 7, 'BINARY', 0, 1, 1, 1, '0', 'barra_tres', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL),
(295, 'ec_vendedores', 0, 'NO', 'id_sucursal', 'Sucursal', 8, 'COMBO', 0, 0, 1, 1, '$SUCURSAL', 'barra_tres', 11, 'SELECT id_sucursal, nombre FROM sys_sucursales WHERE 1', 'AND id_sucursal=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(296, 'ec_cuentas_por_pagar', 0, 'NO', 'id_cxp', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(297, 'ec_cuentas_por_pagar', 0, 'NO', 'id_proveedor', 'Proveedor', 2, 'BUSCADOR', 0, 1, 0, 1, NULL, 'barra', 20, 'SELECT id_proveedor, nombre_comercial FROM ec_proveedor WHERE nombre_comercial LIKE \'%$LLAVE%\' OR id_proveedor = \'$LLAVE\'', 'SELECT id_proveedor, nombre_comercial FROM ec_proveedor WHERE id_proveedor=', 'ORDER BY nombre_comercial', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(298, 'ec_cuentas_por_pagar', 0, 'NO', 'monto', 'Monto', 3, 'FLOAT', 0, 1, 0, 0, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, NULL, '', NULL, NULL),
(299, 'ec_cuentas_por_pagar', 0, 'NO', 'abonado', 'Abonado', 4, 'FLOAT', 0, 1, 0, 0, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, NULL, '', NULL, NULL),
(300, 'ec_cuentas_por_pagar', 0, 'NO', 'dias_pago', 'Días para pago', 5, 'INT', 0, 1, 1, 0, '1', 'barra_dos', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3, NULL, NULL, NULL, NULL),
(301, 'ec_cuentas_por_pagar', 0, 'NO', 'fecha_ultimo_pago', 'Fecha de ultimo pago', 6, 'DATE', 0, 1, 0, 1, '', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(302, 'ec_cuentas_por_pagar', 0, 'NO', 'id_oc', 'Orden de compra', 7, 'BUSCADOR', 0, 1, 0, 0, '-1', 'barra', 15, 'SELECT id_orden_compra, folio FROM ec_ordenes_compra\r\n', 'SELECT id_orden_compra, folio FROM ec_ordenes_compra WHERE id_orden_compra=', 'ORDER BY folio', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(303, 'ec_cuentas_por_pagar', 0, 'NO', 'id_nc', 'Nota de cargo', 8, 'BUSCADOR', 0, 1, 0, 0, '-1', 'barra', 15, 'SELECT id_nota_cargo, folio FROM ec_nota_cargo\r\n', 'SELECT id_nota_cargo, folio FROM ec_nota_cargo WHERE id_nota_cargo=', 'ORDER BY folio', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(304, 'ec_cuentas_por_pagar', 0, 'NO', 'id_sucursal', 'Sucursal', 9, 'COMBO', 0, 0, 1, 1, '$SUCURSAL', 'barra_tres', 11, 'SELECT id_sucursal, nombre FROM sys_sucursales WHERE 1', ' AND id_sucursal=1', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(305, 'ec_cuentas_por_cobrar', 0, 'NO', 'id_cxc', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(306, 'ec_cuentas_por_cobrar', 0, 'NO', 'id_cliente', 'Cliente', 2, 'BUSCADOR', 0, 1, 0, 1, NULL, 'barra', 20, 'SELECT id_cliente, nombre FROM ec_clientes WHERE nombre LIKE \'%$LLAVE%\' OR id_cliente = \'$LLAVE\'', 'SELECT id_cliente, nombre FROM ec_clientes WHERE id_cliente=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(307, 'ec_cuentas_por_cobrar', 0, 'NO', 'monto', 'Monto', 3, 'FLOAT', 0, 1, 0, 0, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, NULL, '', NULL, NULL),
(308, 'ec_cuentas_por_cobrar', 0, 'NO', 'abonado', 'Abonado', 4, 'FLOAT', 0, 1, 0, 0, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, NULL, '', NULL, NULL),
(309, 'ec_cuentas_por_cobrar', 0, 'NO', 'dias_pago', 'Días para cobro', 5, 'INT', 0, 1, 1, 0, '1', 'barra_dos', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3, NULL, NULL, NULL, NULL),
(310, 'ec_cuentas_por_cobrar', 0, 'NO', 'fecha_ultimo_cobro', 'Fecha de ultimo cobro', 6, 'DATE', 0, 1, 0, 1, '', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(311, 'ec_cuentas_por_cobrar', 0, 'NO', 'id_pedido', 'Pedido', 7, 'BUSCADOR', 0, 1, 0, 0, '-1', 'barra', 15, 'SELECT id_pedido, folio_pedido FROM ec_pedido\r\n', 'SELECT id_pedido, folio_pedido FROM ec_pedidos WHERE id_pedido=', 'ORDER BY folio_pedido', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(312, 'ec_cuentas_por_cobrar', 0, 'NO', 'id_nc', 'Nota de cargo', 8, 'BUSCADOR', 0, 1, 0, 0, '-1', 'barra', 15, 'SELECT id_nota_cargo, folio FROM ec_nota_cargo\r\n', 'SELECT id_nota_cargo, folio FROM ec_nota_cargo WHERE id_nota_cargo=', 'ORDER BY folio', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(313, 'ec_cuentas_por_cobrar', 0, 'NO', 'id_sucursal', 'Sucursal', 9, 'COMBO', 0, 0, 1, 1, '$SUCURSAL', 'barra_tres', 11, 'SELECT id_sucursal, nombre FROM sys_sucursales WHERE 1', ' AND id_sucursal=1', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(314, 'ec_cuentas', 0, 'NO', 'id_cuenta', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(315, 'ec_cuentas', 0, 'NO', 'id_banco', 'Banco', 2, 'COMBO', 0, 1, 1, 1, '1', 'barra_tres', 11, 'SELECT\r\nid_banco,\r\nnombre\r\nFROM ec_bancos\r\nWHERE 1', 'AND id_banco=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(316, 'ec_cuentas', 0, 'NO', 'nombre', 'Nombre', 3, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 60, NULL, NULL, NULL, NULL),
(317, 'ec_cuentas', 0, 'NO', 'no_cuenta', 'No. de cuentas', 4, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 30, NULL, NULL, NULL, NULL),
(318, 'ec_cuentas', 0, 'NO', 'observaciones', 'Observaciones', 5, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 255, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1500, NULL, NULL, NULL, NULL),
(319, 'ec_cuentas', 0, 'NO', 'id_sucursal', 'Sucursal', 6, 'COMBO', 0, 0, 1, 1, '$SUCURSAL', 'barra_tres', 11, 'SELECT id_sucursal, nombre FROM sys_sucursales WHERE 1', ' AND id_sucursal=1', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(320, 'sys_razones_sociales', 0, 'NO', 'id_razon_social', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(321, 'sys_razones_sociales', 0, 'NO', 'rfc', 'RFC', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 13, NULL, NULL, NULL, NULL),
(322, 'sys_razones_sociales', 0, 'NO', 'razon_social', 'Razón social', 3, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 80, NULL, NULL, NULL, NULL),
(323, 'sys_razones_sociales', 0, 'NO', 'calle', 'Calle', 4, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 80, NULL, NULL, NULL, NULL),
(324, 'sys_razones_sociales', 0, 'NO', 'no_int', 'No. int', 5, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20, NULL, NULL, NULL, NULL),
(325, 'sys_razones_sociales', 0, 'NO', 'no_ext', 'No. exterior', 6, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20, NULL, NULL, NULL, NULL),
(326, 'sys_razones_sociales', 0, 'NO', 'colonia', 'Colonia', 7, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 80, NULL, NULL, NULL, NULL),
(327, 'sys_razones_sociales', 0, 'NO', 'del_municipio', 'Del. o municipio', 8, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, NULL, NULL, NULL),
(328, 'sys_razones_sociales', 0, 'NO', 'cp', 'CP', 9, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(329, 'sys_razones_sociales', 0, 'NO', 'id_pais', 'País', 10, 'COMBO', 0, 1, 1, 1, NULL, 'barra_tres', 11, 'SELECT id_pais, nombre FROM sys_paises WHERE 1', ' AND id_pais=', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(330, 'sys_razones_sociales', 0, 'NO', 'id_estado', 'Estado', 11, 'COMBO', 0, 1, 1, 1, NULL, 'barra_tres', 11, 'SELECT id_estado, nombre FROM sys_estados WHERE 1', ' AND id_estado=', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(331, 'ec_tipos_pago', 0, 'NO', 'id_tipo_pago', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(332, 'ec_tipos_pago', 0, 'NO', 'nombre', 'Nombre', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, NULL, NULL, NULL),
(333, 'ec_tipos_pago', 0, 'NO', 'id_cuenta', 'Cuenta', 3, 'COMBO', 0, 1, 1, 1, NULL, 'barra_tres', 11, 'SELECT id_cuenta, nombre FROM ec_cuentas WHERE 1', ' AND id_cuenta=', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(334, 'ec_tipos_pago', 0, 'NO', 'id_sucursal', 'Sucursal', 4, 'COMBO', 0, 0, 1, 1, '$SUCURSAL', 'barra_tres', 11, 'SELECT id_sucursal, nombre FROM sys_sucursales WHERE 1', ' AND id_sucursal=1', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(335, 'ec_bancos', 0, 'NO', 'id_banco', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(336, 'ec_bancos', 0, 'NO', 'nombre', 'Nombre', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, NULL, NULL, NULL),
(337, 'ec_monedas', 0, 'NO', 'id_moneda', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(338, 'ec_monedas', 0, 'NO', 'nombre', 'Nombre', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, NULL, NULL, NULL),
(339, 'ec_monedas', 0, 'NO', 'cambio', 'Cambio', 3, 'FLOAT', 0, 1, 1, 1, '0', 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(340, 'ec_pedidos', 3, 'NO', 'id_pedido', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(341, 'ec_pedidos', 3, 'NO', 'folio_factura', 'Folio', 2, 'CHAR', 0, 1, 0, 1, NULL, 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20, NULL, NULL, NULL, NULL),
(342, 'ec_pedidos', 3, 'NO', 'id_cliente', 'Cliente', 3, 'BUSCADOR', 0, 1, 0, 1, '', 'barra', 20, 'SELECT id_cliente, nombre FROM ec_clientes WHERE nombre LIKE \'%$LLAVE%\' OR id_cliente = \'$LLAVE\'', 'SELECT id_cliente, nombre FROM ec_clientes WHERE id_cliente=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(343, 'ec_pedidos', 3, 'NO', 'fecha_factura', 'Fecha', 6, 'DATE', 0, 1, 0, 1, '', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(344, 'ec_pedidos', 3, 'NO', 'id_moneda', 'Moneda', 7, 'COMBO', 0, 1, 0, 1, '1', 'barra', 15, 'SELECT id_moneda, nombre FROM ec_monedas WHERE 1', 'AND id_moneda=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(345, 'ec_pedidos', 3, 'NO', 'subtotal', 'Subtotal', 8, 'FLOAT', 0, 1, 0, 1, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(346, 'ec_pedidos', 3, 'NO', 'iva', 'IVA', 9, 'FLOAT', 0, 1, 0, 1, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(347, 'ec_pedidos', 3, 'NO', 'ieps', 'IEPS', 10, 'FLOAT', 0, 1, 0, 1, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(348, 'ec_pedidos', 3, 'NO', 'total', 'Total', 11, 'FLOAT', 0, 1, 0, 1, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(349, 'ec_pedidos', 3, 'NO', 'id_usuario', 'Creada por', 12, 'COMBO', 0, 1, 0, 1, '$USUARIO', 'barra', 11, 'SELECT id_usuario, CONCAT(nombre, \' \', apellido_paterno) FROM sys_users WHERE 1', 'AND id_usuario=', 'ORDER BY CONCAT(nombre, \' \', apellido_paterno)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(350, 'ec_pedidos', 3, 'NO', 'id_razon_social', 'Razón social', 4, 'COMBO', 0, 1, 1, 1, '', 'barra', 11, 'SELECT id_cliente_rs, razon_social FROM ec_clientes_razones_sociales WHERE id_cliente=\'$llaveDep\'', 'AND id_cliente_rs=', 'ORDER BY razon_social', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, 342),
(351, 'ec_pendientes', 0, 'NO', 'id_pendiente', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(352, 'ec_pendientes', 0, 'NO', 'descripcion', 'Descripción', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, NULL, NULL, NULL),
(353, 'ec_pendientes', 0, 'NO', 'id_prioridad', 'Prioridad', 3, 'COMBO', 0, 1, 1, 1, NULL, 'barra_tres', 11, 'SELECT id_prioridad, nombre FROM ec_prioridades WHERE 1', ' AND id_prioridad=', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(354, 'ec_pendientes', 0, 'NO', 'fecha', 'Fecha', 4, 'DATE', 0, 1, 1, 1, '$DATE', 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(355, 'ec_pendientes', 0, 'NO', 'hora', 'Hora', 5, 'TIME', 0, 1, 1, 1, '', 'barra_dos', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, NULL, NULL, NULL, NULL),
(356, 'ec_pendientes', 0, 'NO', 'id_usuario', 'Asignado a', 6, 'COMBO', 0, 1, 1, 0, '$USUARIO', 'barra_dos', 11, 'SELECT id_usuario, CONCAT(nombre, \' \', apellido_paterno) FROM sys_users WHERE 1', 'AND id_usuario=', 'ORDER BY CONCAT(nombre, \' \', apellido_paterno)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(357, 'ec_pendientes', 0, 'NO', 'id_usuario', 'Creado por', 7, 'COMBO', 0, 1, 0, 1, '$USUARIO', 'barra', 11, 'SELECT id_usuario, CONCAT(nombre, \' \', apellido_paterno) FROM sys_users WHERE 1', 'AND id_usuario=', 'ORDER BY CONCAT(nombre, \' \', apellido_paterno)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(358, 'ec_pendientes', 0, 'NO', 'activo', 'Realizado', 8, 'BINARY', 0, 1, 1, 0, NULL, 'barra_dos', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL),
(359, 'ec_pendientes', 0, 'NO', 'id_sucursal', 'Sucursal', 9, 'COMBO', 0, 0, 1, 1, '$SUCURSAL', 'barra_tres', 11, 'SELECT id_sucursal, nombre FROM sys_sucursales WHERE 1', ' AND id_sucursal=1', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(360, 'ec_prioridades', 0, 'NO', 'id_prioridad', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(361, 'ec_prioridades', 0, 'NO', 'descripcion', 'Nombre', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, NULL, NULL, NULL),
(362, 'ec_prioridades', 0, 'NO', 'importancia', 'Importancia', 3, 'INT', 0, 1, 1, 1, '1', 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3, NULL, NULL, NULL, NULL),
(363, 'ec_maquila', 0, 'NO', 'id_maquila', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(364, 'ec_maquila', 0, 'NO', 'folio', 'Folio', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20, NULL, NULL, NULL, NULL),
(365, 'ec_maquila', 0, 'NO', 'fecha', 'Fecha', 3, 'DATE', 0, 1, 0, 1, '$DATE', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(366, 'ec_maquila', 0, 'NO', 'id_usuario', 'Creada por', 4, 'COMBO', 0, 1, 0, 1, '$USUARIO', 'barra', 11, 'SELECT id_usuario, CONCAT(nombre, \' \', apellido_paterno) FROM sys_users WHERE 1', 'AND id_usuario=', 'ORDER BY CONCAT(nombre, \' \', apellido_paterno)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(367, 'ec_maquila', 0, 'NO', 'id_producto', 'Producto', 5, 'COMBO', 0, 1, 1, 1, NULL, 'barra_tres', 11, 'SELECT -1 AS id_productos,\r\n\'---- Selecciona un producto ----\' AS nombre\r\nUNION\r\nSELECT id_productos, nombre FROM ec_productos WHERE  id_productos > 0 AND es_maquilado=1 ', 'AND id_productos=\'\'', ' ORDER BY nombre', NULL, NULL, NULL, 'cambiaMaquila(this.value)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(368, 'ec_maquila', 0, 'NO', 'cantidad', 'Cantidad', 6, 'FLOAT', 0, 1, 1, 1, NULL, 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(369, 'ec_maquila', 0, 'NO', 'id_sucursal', 'Sucursal', 7, 'COMBO', 0, 0, 1, 1, '$SUCURSAL', 'barra_tres', 11, 'SELECT id_sucursal, nombre FROM sys_sucursales WHERE 1', ' AND id_sucursal=1', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(370, 'ec_pedidos', 4, 'NO', 'id_pedido', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(371, 'ec_pedidos', 4, 'NO', 'folio_pedido', 'Folio', 2, 'CHAR', 0, 1, 0, 0, NULL, 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20, NULL, NULL, NULL, NULL),
(372, 'ec_pedidos', 4, 'NO', 'id_cliente', 'Cliente', 3, 'BUSCADOR', 0, 1, 0, 1, '', 'barra', 20, 'SELECT id_cliente, nombre FROM ec_clientes WHERE nombre LIKE \'%$LLAVE%\' OR id_cliente = \'$LLAVE\'', 'SELECT id_cliente, nombre FROM ec_clientes WHERE id_cliente=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(373, 'ec_pedidos', 4, 'NO', 'id_estatus', 'Estatus', 4, 'COMBO', 0, 1, 0, 1, '1', 'barra_tres', 11, 'SELECT id_estatus, nombre FROM ec_estatus_pedido WHERE 1', 'AND id_estatus=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(374, 'ec_pedidos', 4, 'NO', 'fecha_alta', 'Fecha', 5, 'DATE', 0, 1, 0, 1, '$DATE', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(375, 'ec_pedidos', 4, 'NO', 'id_direccion', 'Dirección de entrega', 6, 'COMBO', 0, 1, 0, 1, '-1', 'barra', 11, 'SELECT id_clientes_de, CONCAT(calle, \' #\', no_ext, \', Col. \', colonia) FROM ec_clientes_domentrega WHERE 1', 'AND id_clientes_de=', 'ORDER BY CONCAT(calle, \' #\', no_ext, \', Col. \', colonia)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(376, 'ec_pedidos', 4, 'NO', 'direccion', 'Dirección', 7, 'CHAR', 0, 1, 0, 0, NULL, 'barra', 255, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1500, NULL, NULL, NULL, NULL),
(383, 'ec_movimiento_almacen', 0, 'NO', 'id_maquila', 'Maquila', 10, 'BUSCADOR', 0, 1, 0, 0, '-1', 'barra', 15, 'SELECT\nid_maquila,\nfolio\nFROM\n(\nSELECT id_maquila, folio FROM ec_maquila\nUNION\nSELECT -1 AS id_maquila, \'No aplica\' AS folio\n)aux', 'SELECT\r\nid_maquila,\r\nfolio\r\nFROM\r\n(\r\nSELECT id_maquila, folio FROM ec_maquila\r\nUNION\r\nSELECT -1 AS id_maquila, \'No aplica\' AS folio\r\n)aux WHERE id_maquila=', 'ORDER BY folio', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(384, 'sys_sucursales', 0, 'NO', 'logo', 'Logo', 7, 'FILE', 0, 1, 1, 0, NULL, 'barra_dos', 40, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(385, 'ec_pedidos', 0, 'NO', 'id_tipo_envio', 'Forma de envio', 13, 'COMBO', 0, 1, 1, 1, '', 'barra_tres', 11, 'SELECT id_tipo_envio, nombre FROM ec_tipos_envio WHERE 1', 'AND id_tipo_envio=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(386, 'ec_pedidos', 1, 'NO', 'id_tipo_envio', 'Forma de envio', 14, 'COMBO', 0, 1, 1, 1, '', 'barra_tres', 11, 'SELECT id_tipo_envio, nombre FROM ec_tipos_envio WHERE 1', 'AND id_tipo_envio=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(387, 'ec_pedidos', 3, 'NO', 'facturado', 'facturado', 13, 'BINARY', 0, 0, 0, 0, '1', 'barra', 11, '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(388, 'ec_pedidos', 2, 'NO', 'id_tipo_envio', 'Forma de envio', 16, 'INT', 0, 0, 0, 1, '1', 'barra_tres', 11, '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(389, 'ec_conf_oc', 0, 'NO', 'folio_editable', 'Folio editable', 5, 'BINARY', 0, 1, 1, 1, '1', 'barra_tres', 1, NULL, NULL, NULL, NULL, NULL, 'cambiaEd(this)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(390, 'ec_conf_oc', 0, 'NO', 'prefijo_folio', 'Prefijo', 6, 'CHAR', 0, 1, 0, 0, '', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(391, 'ec_conf_oc', 0, 'NO', 'contador_folio', 'Ultimo folio', 7, 'INT', 0, 1, 0, 0, '-1', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(392, 'ec_acreedor', 0, 'NO', 'id_acreedor', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(393, 'ec_acreedor', 0, 'NO', 'nombre', 'Nombre', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, NULL, NULL, NULL),
(394, 'ec_acreedor', 0, 'NO', 'rfc', 'RFC', 3, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 15, NULL, NULL, NULL, NULL),
(395, 'ec_acreedor', 0, 'NO', 'razon_social', 'Razón social', 4, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 120, NULL, NULL, NULL, NULL),
(396, 'ec_acreedor', 0, 'NO', 'calle', 'Calle', 5, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 120, NULL, NULL, NULL, NULL),
(397, 'ec_acreedor', 0, 'NO', 'no_int', 'No. interior', 6, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20, NULL, NULL, NULL, NULL),
(398, 'ec_acreedor', 0, 'NO', 'no_ext', 'No. Exterior', 7, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20, NULL, NULL, NULL, NULL),
(399, 'ec_acreedor', 0, 'NO', 'colonia', 'Colonia', 8, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 60, NULL, NULL, NULL, NULL),
(400, 'ec_acreedor', 0, 'NO', 'delegacion', 'Delegación/Municipio', 9, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 60, NULL, NULL, NULL, NULL),
(401, 'ec_acreedor', 0, 'NO', 'cp', 'CP', 10, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(402, 'ec_acreedor', 0, 'NO', 'id_pais', 'País', 11, 'COMBO', 0, 1, 1, 1, NULL, 'barra_tres', 11, 'SELECT id_pais, nombre FROM sys_paises WHERE 1', ' AND id_pais=', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(403, 'ec_acreedor', 0, 'NO', 'id_estado', 'Estado', 12, 'COMBO', 0, 1, 1, 1, NULL, 'barra_tres', 11, 'SELECT id_estado, nombre FROM sys_estados WHERE id_pais=\'$llaveDep\'', 'AND id_estado=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, 402),
(404, 'ec_acreedor', 0, 'NO', 'id_sucursal', 'Sucursal', 13, 'COMBO', 0, 0, 1, 1, '$SUCURSAL', 'barra_tres', 11, 'SELECT id_sucursal, nombre FROM sys_sucursales WHERE 1', ' AND id_sucursal=1', ' ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(405, 'ec_gastos_impuestos', 0, 'NO', 'id_gasto_impuesto', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(406, 'ec_gastos_impuestos', 0, 'NO', 'nombre', 'Nombre', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, NULL, NULL, NULL, NULL),
(407, 'ec_clientes', 0, 'NO', 'monto_desc', 'Monto de descuento', 10, 'FLOAT', 0, 1, 1, 0, '0', 'barra_dos', 15, NULL, NULL, NULL, NULL, NULL, NULL, '', 'documento.getElementById(\'porc_desc\').value=0;', NULL, '', 12, NULL, NULL, NULL, NULL),
(408, 'ec_clientes', 0, 'NO', 'porc_desc', 'Porcentaje de descuento', 11, 'FLOAT', 0, 1, 1, 0, '0', 'barra_dos', 15, NULL, NULL, NULL, NULL, NULL, NULL, 'documento.getElementById(\'monto_desc\').value=0', NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(409, 'ec_clientes', 0, 'NO', 'min_compra_desc', 'Mínimo de compra para descuento', 12, 'FLOAT', 0, 1, 1, 0, '0', 'barra_dos', 15, NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(410, 'ec_pedidos', 0, 'NO', 'descuento', 'Descuento', 9, 'FLOAT', 0, 1, 0, 1, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(411, 'ec_pedidos', 1, 'NO', 'descuento', 'Descuento', 10, 'FLOAT', 0, 1, 0, 1, '0', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL),
(412, 'ec_transferencias', 0, 'NO', 'id_transferencia', 'ID', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(413, 'ec_transferencias', 0, 'NO', 'id_usuario', 'Creada por', 2, 'COMBO', 0, 1, 0, 1, '$USUARIO', 'barra', 11, 'SELECT id_usuario, CONCAT(nombre, \' \', apellido_paterno) FROM sys_users WHERE 1', 'AND id_usuario=', 'ORDER BY CONCAT(nombre, \' \', apellido_paterno)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(414, 'ec_transferencias', 0, 'NO', 'fecha', 'Fecha', 3, 'DATE', 0, 1, 0, 1, '$DATE', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL),
(415, 'ec_transferencias', 0, 'NO', 'hora', 'Hora', 4, 'TIME', 0, 1, 0, 1, '$TIME', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, NULL, NULL, NULL, NULL),
(416, 'ec_transferencias', 0, 'NO', 'id_sucursal_origen', 'Sucursal origen', 6, 'COMBO', 0, 1, 1, 1, NULL, 'barra_tres', 1, 'SELECT\r\nid_sucursal,\r\nnombre\r\nFROM sys_sucursales\r\nWHERE 1', 'AND id_sucursal=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(417, 'ec_transferencias', 0, 'NO', 'id_sucursal_destino', 'Sucursal destino', 8, 'COMBO', 0, 1, 1, 1, NULL, 'barra_tres', 1, 'SELECT\nid_sucursal,\nnombre\nFROM sys_sucursales\nWHERE 1', 'AND id_sucursal=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(418, 'ec_pedidos', 3, 'NO', 'id_razon_factura', 'Razón social de facturacion', 5, 'COMBO', 0, 1, 1, 1, '', 'barra', 11, 'SELECT id_razon_social,razon_social FROM sys_razones_sociales WHERE 1 ', 'AND id_razon_social=', 'ORDER BY razon_social', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, 0),
(419, 'sys_sucursales', 0, 'NO', 'multifacturacion', 'Multifacturación', 9, 'BINARY', 0, 1, 1, 1, '0', 'barra_tres', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(420, 'ec_productos', 0, 'NO', 'desc_gral', 'Descuento general', 0, 'BINARY', 0, 0, 1, 1, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(421, 'ec_clientes_productos', 0, 'NO', 'desc_gral', 'Descuento general', 1, '', 0, 1, 1, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(423, 'ec_transferencias', 0, 'NO', 'id_razon_social_venta', 'Razón social cliente', 100, 'BUSCADOR', 0, 0, 1, 0, '-1', NULL, 11, 'SELECT id_cliente_rs, razon_social\nFROM ec_clientes_razones_sociales WHERE razon_social LIKE \'%id%\'', 'SELECT id_cliente_rs, razon_social FROM ec_clientes_razones_sociales WHERE id_cliente_rs = ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(424, '', 0, 'NO', '', '', 0, 'CAMPO BUSCADOR', 0, 1, 1, 0, NULL, NULL, NULL, 'SELECT\nid_razon_social_venta,\nid_razon_social_venta\nFROM\n(\nSELECT id_razon_social_venta, id_razon_social_venta FROM ec_transferencias\nUNION\nSELECT -1 AS id_razon_social_venta, \'No aplica\' AS id_razon_social_venta\n)aux', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(425, '', 0, 'NO', '', '', 0, 'CAMPO BUSCADOR', 0, 1, 1, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(426, 'ec_transferencias', 0, 'NO', 'id_razon_social_compra', 'Razón social proveedor', 100, 'BUSCADOR', 0, 0, 1, 0, '1', NULL, 11, 'SELECT id_proveedor, razon_social\nFROM ec_proveedor WHERE razon_social LIKE \'%id%\'', 'SELECT id_proveedor, razon_social FROM ec_proveedor WHERE id_proveedor = ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(427, 'ec_transferencias', 0, 'NO', 'facturable', 'Facturable', 100, 'BINARY', 0, 0, 1, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(428, 'ec_transferencias', 0, 'NO', 'porc_ganancia', 'Porcentaje de la ganancia', 100, 'FLOAT', 0, 0, 1, 0, NULL, 'barra_tres', 8, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 15, NULL, NULL, NULL, NULL),
(429, 'ec_comparacion_inv', 0, 'NO', 'id_comparacion_inv', 'ID', 1, 'INT', 0, 1, 1, 0, NULL, 'barra', 10, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(430, 'ec_comparacion_inv', 0, 'NO', 'id_usuario', 'Usuario', 2, 'COMBO', 0, 1, 0, 0, '$USUARIO', 'barra', 15, 'SELECT id_usuario, CONCAT(nombre, \' \', apellido_paterno) FROM sys_users WHERE 1', 'AND id_usuario=', 'ORDER BY CONCAT(nombre, \' \', apellido_paterno)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(431, 'ec_comparacion_inv', 0, 'NO', 'id_sucursal', 'Sucursal', 3, 'COMBO', 0, 1, 0, 0, '$SUCURSAL', 'barra', 15, 'SELECT\nid_sucursal,\nnombre\nFROM sys_sucursales\nWHERE 1\n', 'AND id_sucursal=', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(432, 'ec_comparacion_inv', 0, 'NO', 'fecha', 'Fecha', 4, 'DATE', 0, 1, 0, 0, '$DATE', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(433, 'ec_comparacion_inv', 0, 'NO', 'hora', 'Hora', 5, 'TIME', 0, 1, 0, 0, '$TIME', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, NULL, NULL, NULL, NULL),
(434, 'ec_devolucion', 0, 'NO', 'id_devolucion', 'ID', 1, 'INT', 1, 1, 0, 0, '(automatico)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(435, 'ec_devolucion', 0, 'NO', 'id_usuario', 'Usuario', 3, 'COMBO', 0, 1, 0, 1, '$USUARIO', 'barra', 15, 'SELECT id_usuario, CONCAT(nombre,\'\',apellido_paterno)FROM sys_users\nWHERE 1\n\n', 'AND id_usuario=', 'ORDER BY CONCAT(nombre, \' \', apellido_paterno)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(436, 'ec_devolucion', 0, 'NO', 'fecha', 'Fecha', 3, 'DATE', 0, 1, 0, 0, '$DATE', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(437, 'ec_devolucion', 0, 'NO', 'id_sucursal', 'Sucursal', 3, 'COMBO', 0, 1, 0, 1, '$SUCURSAL', 'barra', 11, 'SELECT\nid_sucursal,\nnombre\nFROM sys_sucursales\nWHERE 1', 'AND id_sucursal=', 'ORDER BY id_sucursal', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(438, 'ec_devolucion', 0, 'NO', 'hora', 'Hora', 5, 'TIME', 0, 1, 0, 0, '$TIME', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, NULL, NULL, NULL, NULL),
(439, 'ec_devolucion', 0, 'NO', 'id_pedido', 'Pedido', 6, 'BUSCADOR', 0, 1, 1, 0, NULL, 'barra_tres', 15, 'SELECT id_pedido, folio_pedido FROM ec_pedidos WHERE folio_pedido LIKE \'%$LLAVE%\' OR id_pedido=\'$LLAVE\'', 'SELECT id_pedido, folio_pedido FROM ec_pedidos WHERE folio_pedido=', 'ORDER BY folio_pedido', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(440, 'ec_devolucion', 0, 'NO', 'folio', 'Folio', 2, 'CHAR', 0, 1, 1, 0, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(441, 'ec_gastos', 0, 'NO', 'id_gastos', 'ID', 1, 'INT', 1, 1, 1, 0, '(Automatico)', 'barra', 10, 'SELECT\nid_gastos,\nnombre\nFROM ec_gastos\nWHERE 1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(442, 'ec_gastos', 0, 'NO', 'id_usuario', 'Usuario', 2, 'COMBO', 0, 1, 0, 0, '$USUARIO', 'barra', 15, 'SELECT\nid_usuario,\nnombre\nFROM sys_users\nWHERE 1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(443, 'ec_gastos', 0, 'NO', 'id_sucursal', 'Sucursal', 3, 'COMBO', 0, 1, 0, 0, '$SUCURSAL', 'barra', 15, 'SELECT\nid_sucursal,\nnombre\nFROM sys_sucursales\nWHERE 1', 'AND id_sucursal=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(444, 'ec_gastos', 0, 'NO', 'fecha', 'Fecha', 4, 'DATE', 0, 1, 0, 0, '$DATE', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(445, 'ec_gastos', 0, 'NO', 'hora', 'Hora', 5, 'TIME', 0, 1, 0, 0, '$TIME', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(446, 'ec_gastos', 0, 'NO', 'id_concepto', 'Concepto', 6, 'COMBO', 0, 1, 1, 0, NULL, 'barra_dos', 15, 'SELECT id_concepto, nombre\nFROM ec_conceptos_gastos\nWHERE 1 \n', 'AND id_concepto=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(447, 'ec_gastos', 0, 'NO', 'monto', 'Monto', 7, 'FLOAT', 0, 1, 1, 0, NULL, 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(448, 'ec_gastos', 0, 'NO', 'observaciones', 'Observaciones', 8, 'CHAR', 0, 1, 1, 0, NULL, 'barra_tres', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 15, NULL, NULL, NULL, NULL),
(449, 'ec_conceptos_gastos', 0, 'NO', 'id_concepto', 'ID', 1, 'INT', 0, 1, 1, 0, '(Automatico)', 'barra', 11, 'SELECT id_concepto, nombre \nFROM ec_conceptos_gastos \nWHERE id_concepto=\'$llaveDep\'', 'AND id_concepto=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(450, 'ec_conceptos_gastos', 0, 'NO', 'nombre', 'Nombre', 2, 'CHAR', 0, 1, 1, 0, NULL, 'barra_dos', 15, 'SELECT id_concepto, nombre FROM ec_conceptos_gastos WHERE 1', 'AND id_concepto=', 'ORDER BY nombre', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 60, NULL, NULL, NULL, NULL),
(453, 'ec_comparacion_inv', 0, 'NO', 'archivo', 'Archivo', 6, 'FILE', 0, 1, 1, 1, '', 'barra_dos', 20, '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL),
(454, 'ec_subtipos', 0, 'NO', 'id_subtipos', 'ID', 1, 'INT', 0, 1, 0, 1, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(455, 'ec_subtipos', 0, 'NO', 'nombre', 'Nombre', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(456, 'ec_subtipos', 0, 'NO', 'id_tipo', 'Tipo', 3, 'COMBO', 0, 1, 1, 0, NULL, 'barra_dos', 15, 'SELECT id_subcategoria, nombre FROM ec_subcategoria WHERE 1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(457, 'ec_numero_luces', 0, 'NO', 'id_numero_luces', 'ID', 1, 'INT', 0, 1, 0, 1, '(Automático)', 'barra', 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(458, 'ec_numero_luces', 0, 'NO', 'nombre', 'Nombre', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

INSERT INTO `sys_catalogos` (`id_catalogo`, `tabla`, `no_tabla`, `tab`, `campo`, `display`, `orden`, `tipo`, `es_llave`, `visible`, `modificable`, `requerido`, `valor_inicial`, `clase`, `longitud`, `sql_combo`, `where_combo`, `order_combo`, `on_focus`, `on_blur`, `on_click`, `on_change`, `on_keypress`, `on_keydown`, `on_keyup`, `max_length`, `extensiones`, `especificacion`, `clase_esp`, `depende`) VALUES
(716, 'ec_clientes', 0, 'NO', 'regimenFiscal', 'Tipo de Régimen Fiscal', 18, 'COMBO', 0, 1, 1, 1, NULL, 'barra_tres', 11, 'SELECT\r\nclave_numerica,\r\nCONCAT( clave_numerica, \' - \', nombre_tipo_regimen_fiscal )\r\nFROM ec_tipos_regimenes_fiscales\r\nWHERE 1', 'AND clave_numerica= ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(717, 'ec_motivos_cancelacion_factura', 0, 'NO', 'id_motivo', 'Id : ', 1, 'INT', 1, 1, 0, 0, '(Automático)', 'barra', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(718, 'ec_motivos_cancelacion_factura', 0, 'NO', 'clave_motivo_sat', 'Clave SAT : ', 2, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(719, 'ec_motivos_cancelacion_factura', 0, 'NO', 'descripcion', 'Descripcion : ', 3, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(720, 'ec_motivos_cancelacion_factura', 0, 'NO', 'orden', 'Orden : ', 4, 'INT', 0, 1, 1, 1, NULL, 'barra_dos', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(721, 'ec_motivos_cancelacion_factura', 0, 'NO', 'observaciones', 'Observaciones : ', 5, 'CHAR', 0, 1, 1, 1, NULL, 'barra_tres', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_conf_pantalla`
--

CREATE TABLE `sys_conf_pantalla` (
  `id_configuracion_pantalla` int(11) NOT NULL,
  `id_plantilla` int(11) NOT NULL,
  `imagen_logo` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Volcado de datos para la tabla `sys_conf_pantalla`
--

INSERT INTO `sys_conf_pantalla` (`id_configuracion_pantalla`, `id_plantilla`, `imagen_logo`) VALUES
(1, 4, '');

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_correos_avisos`
--

CREATE TABLE `sys_correos_avisos` (
  `id_correo_aviso` int(11) NOT NULL,
  `nombre` varchar(40) NOT NULL,
  `direccion` varchar(40) NOT NULL,
  `activo` tinyint(1) NOT NULL DEFAULT '1',
  `observaciones` text NOT NULL,
  `fecha_alta` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `ultima_modificacion` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Volcado de datos para la tabla `sys_correos_avisos`
--

INSERT INTO `sys_correos_avisos` (`id_correo_aviso`, `nombre`, `direccion`, `activo`, `observaciones`, `fecha_alta`, `ultima_modificacion`) VALUES
(1, 'VERONICA ESTRADA', 'veroes_7934@hotmail.com', 1, '', '2019-10-25 20:28:05', '2020-10-26 23:27:27');

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_estados`
--

CREATE TABLE `sys_estados` (
  `id_estado` int(11) NOT NULL,
  `nombre` varchar(60) NOT NULL,
  `id_pais` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Volcado de datos para la tabla `sys_estados`
--

INSERT INTO `sys_estados` (`id_estado`, `nombre`, `id_pais`) VALUES
(1, 'Aguascalientes', 1),
(2, ' Baja California Norte', 1),
(3, ' Baja California Sur', 1),
(4, ' Campeche', 1),
(5, 'Coahuila', 1),
(6, 'Chiapas', 1),
(7, 'Chihuahua', 1),
(8, 'Durango', 1),
(9, ' Estado de México', 1),
(10, 'Guanajuato', 1),
(11, 'Guerrero', 1),
(12, 'Hidalgo', 1),
(13, 'Jalisco', 1),
(14, ' Michoacán', 1),
(15, 'Morelos', 1),
(16, ' México, D.F.', 1),
(17, ' Nayarit', 1),
(18, ' Nuevo León', 1),
(19, 'Oaxaca', 1),
(20, 'Puebla', 1),
(21, ' Querétaro', 1),
(22, ' Quintana Roo', 1),
(23, ' San Luis Potosí', 1),
(24, ' Sinaloa', 1),
(25, 'Sonora', 1),
(26, ' Tabasco', 1),
(27, ' Tamaulipas', 1),
(28, ' Tlaxcala', 1),
(29, 'Veracruz', 1),
(30, 'Yucatán', 1),
(31, 'Zacatecas', 1);

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_grid`
--

CREATE TABLE `sys_grid` (
  `id_grid` int(11) UNSIGNED NOT NULL,
  `nombre` varchar(45) NOT NULL,
  `display` varchar(60) NOT NULL,
  `max_width` int(11) UNSIGNED DEFAULT NULL,
  `funcion_final` varchar(60) DEFAULT NULL,
  `tabla_relacionada` varchar(90) NOT NULL,
  `funcion_nuevo` text,
  `funcion_eliminar` text,
  `scroll` varchar(1) DEFAULT 'S',
  `alto` int(11) UNSIGNED NOT NULL DEFAULT '150',
  `datosGrid` text,
  `fileGrid` text,
  `footer` varchar(1) DEFAULT 'N',
  `listado` varchar(1) DEFAULT 'N',
  `tabla_padre` varchar(90) NOT NULL,
  `no_tabla` int(2) NOT NULL DEFAULT '0',
  `orden` int(3) UNSIGNED NOT NULL,
  `campo_llave` varchar(60) NOT NULL,
  `query` text,
  `filas_inicial` int(11) UNSIGNED DEFAULT '0',
  `funcion_despues_eliminar` text,
  `buscador` bit(1) NOT NULL DEFAULT b'0',
  `campo_coinc` text NOT NULL,
  `campo_enfoque` text NOT NULL,
  `consulta_coinc` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Volcado de datos para la tabla `sys_grid`
--

INSERT INTO `sys_grid` (`id_grid`, `nombre`, `display`, `max_width`, `funcion_final`, `tabla_relacionada`, `funcion_nuevo`, `funcion_eliminar`, `scroll`, `alto`, `datosGrid`, `fileGrid`, `footer`, `listado`, `tabla_padre`, `no_tabla`, `orden`, `campo_llave`, `query`, `filas_inicial`, `funcion_despues_eliminar`, `buscador`, `campo_coinc`, `campo_enfoque`, `consulta_coinc`) VALUES
(2, 'usuariosAccesos', 'Accesos', 1000, NULL, 'sys_permisos', 'false', 'false', 'S', 250, '../grid/datosGrid.php?tabla=sys_permisos&id=', '../grid/guardaGrid.php?tabla=sys_permisos&llave=', 'N', 'N', 'sys_users', 0, 1, 'id_usuario', 'SELECT\r\nIF(s.id_permiso IS NULL, \'NO\', s.id_permiso) AS id_permiso,\r\nIF(s.id_usuario IS NULL, CONCAT(\'$LL\',\'AVE\'), s.id_usuario) AS id_usuario,\r\nm.id_menu AS id_menu,\r\n(SELECT nombre FROM sys_menus WHERE id_menu=m.menu_padre),\r\nm.nombre AS nombre_permiso,\r\nIF(s.ver IS NULL, 0, s.ver) AS ver,\r\nIF(s.modificar IS NULL, 0, s.modificar) AS modificar,\r\nIF(s.eliminar IS NULL, 0, s.eliminar) AS eliminar,\r\nIF(s.nuevo IS NULL, 0, s.nuevo) AS nuevo,\r\nIF(s.imprimir IS NULL, 0, s.imprimir) AS imprimir,\r\nIF(s.generar IS NULL, 0, s.generar) AS generar\r\nFROM sys_menus m\r\nLEFT JOIN sys_permisos s ON m.id_menu = s.id_menu AND s.id_usuario=\'$llave\'\r\nWHERE m.en_permisos = 1\r\nAND m.id_menu != m.menu_padre\r\nAND m.menu_padre > 0\r\n', 0, NULL, b'0', '', '', ''),
(15, 'clientesRS', 'Razones sociales', 840, NULL, 'ec_clientes_razones_sociales', 'true', 'true', 'S', 250, '../grid/datosGrid.php?tabla=ec_clientes_razones_sociales&id=', '../grid/guardaGrid.php?tabla=ec_clientes_razones_sociales&llave=', 'S', 'N', 'ec_clientes', 0, 2, 'id_cliente', 'SELECT\r\nid_cliente_rs,\r\nid_cliente,\r\nrfc,\r\nrazon_social,\r\ncalle,\r\nno_int,\r\nno_ext,\r\ncolonia,\r\ndel_municipio,\r\ncp,\r\nlocalidad,\r\nreferencia,\r\nestado,\r\npais\r\nFROM ec_clientes_razones_sociales\r\nWHERE id_cliente=\'$llave\'', 0, NULL, b'0', '', '', ''),
(46, 'detalleMovimiento', 'Detalle de movimiento', 840, NULL, 'ec_detalle_movimiento', 'true', 'true', 'S', 250, '../grid/datosGrid.php?tabla=ec_detalle_movimiento&id=', '../grid/guardaGrid.php?tabla=ec_detalle_movimiento&llave=', 'S', 'N', 'ec_movimiento_inventario', 0, 1, 'id_movimiento_inventario', 'SELECT\r\nid_detalle_movimiento,\r\nid_movimiento_inventario,\r\nid_producto,\r\ncantidad\r\nFROM ec_detalle_movimiento\r\nWHERE id_movimiento_inventario =\'$llave\'', 0, NULL, b'0', '', '', ''),
(47, 'detalleVenta', 'Productos', 840, 'validaInventarios()', 'ec_detalle_venta', 'true', 'true', 'S', 250, '../grid/datosGrid.php?tabla=ec_detalle_venta&id=', '../grid/guardaGrid.php?tabla=ec_detalle_venta&llave=', 'S', 'N', 'ec_ventas', 0, 1, 'id_venta', 'SELECT\r\ndv.id_detalle_venta,\r\ndv.id_venta,\r\ndv.id_producto, \r\np.nombre,\r\np.nombre_etiqueta,\r\ndv.cantidad,\r\ndv.precio,\r\ndv.monto,\r\n\'-\'\r\nFROM ec_detalle_venta dv\r\nJOIN ec_productos p ON dv.id_producto = p.id_productos \r\nWHERE dv.id_venta =\'$llave\'', 0, 'TotalVentas()', b'1', 'p.nombre', '5|3', 'SELECT \n p.id_productos,\n CONCAT(p.nombre, \' ° \', p.nombre_etiqueta, \' ° inventario : \', sp.inventario)\nFROM ec_productos p\nLEFT JOIN ec_sucursal_producto sp ON p.id_productos = sp.id_producto WHERE :::'),
(50, 'detalleCompra', 'Detalle de compras', 840, NULL, 'ec_detalle_compra', 'true', 'actualizarC(1,\'#\')', 'S', 250, '../grid/datosGrid.php?tabla=ec_detalle_compra&id=', '../grid/guardaGrid.php?tabla=ec_detalle_compra&llave=', 'S', 'N', 'ec_oc', 0, 1, 'id_orden_compra', 'SELECT\ndc.id_compra_detalle,\ndc.id_orden_compra,\ndc.id_producto,\np.nombre,\np.nombre_etiqueta,\ndc.cantidad,\ndc.precio,\n\'\'\nFROM ec_detalle_compra dc\nLEFT JOIN ec_productos p ON p.id_productos=dc.id_producto\nWHERE dc.id_orden_compra =\'$llave\'', 0, 'actPrecComp()', b'1', 'nombre', '5|3', 'SELECT \r\n p.id_productos,\r\n CONCAT(p.nombre, \' ° \', p.nombre_etiqueta, \' ° inventario : \', sp.inventario)\r\nFROM ec_productos p\r\nLEFT JOIN ec_sucursal_producto sp ON p.id_productos = sp.id_producto WHERE :::'),
(51, 'limitesRS', 'Historial de límites de compra y venta', 1000, NULL, 'ec_limites_razon_social', 'true', 'true', 'S', 250, '../grid/datosGrid.php?tabla=ec_limites_razon_social&id=', '../grid/guardaGrid.php?tabla=ec_limites_razon_social&llave=', 'N', 'N', 'ec_emisor', 0, 1, 'id_emisor', 'SELECT\r\nid_limite_razon_social,\r\nid_emisor,\r\nid_usuario,\r\nperiodo,\r\nalerta_limite_compras,\r\nlimite_compras,\r\nalerta_limite_ventas,\r\nlimite_ventas,\r\nobservaciones\r\nFROM ec_limites_razon_social\r\nWHERE id_emisor=\'$llave\'', 0, NULL, b'0', '', '', ''),
(52, 'costumerContacts', 'Contactos de Razon Social', 1000, NULL, 'ec_clientes_contacto', 'true', 'false', 'S', 250, '../grid/datosGrid.php?tabla=ec_clientes_contacto&id=', '../grid/guardaGrid.php?tabla=ec_clientes_contacto&llave=', 'N', 'N', 'ec_clientes', 0, 2, 'id_cliente_facturacion', 'SELECT\r\nid_cliente_contacto,\r\nid_cliente_facturacion,\r\nnombre,\r\ntelefono,\r\ncelular,\r\ncorreo,\r\nuso_cfdi,\r\nfecha_alta,\r\nfecha_ultima_actualizacion,\r\nfolio_unico\r\nFROM ec_clientes_contacto\r\nWHERE id_cliente_facturacion = \'$llave\'', 0, NULL, b'0', '', '', '');

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_grid_detalle`
--

CREATE TABLE `sys_grid_detalle` (
  `id_grid_detalle` int(11) UNSIGNED NOT NULL,
  `id_grid` int(11) UNSIGNED NOT NULL,
  `display` varchar(45) NOT NULL,
  `campo_tabla` varchar(60) NOT NULL,
  `tipo` varchar(45) NOT NULL,
  `modificable` varchar(2) DEFAULT 'S',
  `mascara` varchar(50) DEFAULT NULL,
  `alineacion` varchar(10) DEFAULT NULL,
  `formula` text,
  `datosDB` text,
  `depende` varchar(10) DEFAULT NULL,
  `on_change` text,
  `largo_combo` int(3) UNSIGNED DEFAULT NULL,
  `sumatoria` varchar(1) DEFAULT 'N',
  `funcion_valida` text,
  `on_key` text,
  `valor_inicial` varchar(90) DEFAULT NULL,
  `requerido` varchar(1) DEFAULT 'N',
  `ancho` int(3) UNSIGNED NOT NULL,
  `html_value` text,
  `on_click` text,
  `orden` int(3) DEFAULT NULL,
  `multiseleccion` varchar(1) NOT NULL DEFAULT 'N'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Volcado de datos para la tabla `sys_grid_detalle`
--

INSERT INTO `sys_grid_detalle` (`id_grid_detalle`, `id_grid`, `display`, `campo_tabla`, `tipo`, `modificable`, `mascara`, `alineacion`, `formula`, `datosDB`, `depende`, `on_change`, `largo_combo`, `sumatoria`, `funcion_valida`, `on_key`, `valor_inicial`, `requerido`, `ancho`, `html_value`, `on_click`, `orden`, `multiseleccion`) VALUES
(6, 2, 'id_permiso', 'id_permiso', 'oculto', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, 'NO', 'N', 0, NULL, NULL, 1, 'N'),
(7, 2, 'id_usuario', 'id_usuario', 'oculto', 'N', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '$LLAVE', 'N', 0, NULL, NULL, 2, 'N'),
(8, 2, 'id_menu', 'id_menu', 'oculto', 'N', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'S', 0, NULL, NULL, 3, 'N'),
(9, 2, 'Módulo', 'NO', 'texto', 'N', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 150, NULL, NULL, 4, 'N'),
(10, 2, 'Nombre', 'NO', 'texto', 'N', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 250, NULL, NULL, 5, 'N'),
(11, 2, 'Ver', 'ver', 'binario', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '0', 'N', 70, NULL, NULL, 6, 'S'),
(12, 2, 'Modificar', 'modificar', 'binario', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '0', 'N', 70, NULL, NULL, 7, 'S'),
(13, 2, 'Eliminar', 'eliminar', 'binario', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '0', 'N', 70, NULL, NULL, 8, 'S'),
(14, 2, 'Nuevo', 'nuevo', 'binario', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '0', 'N', 70, NULL, NULL, 9, 'S'),
(15, 2, 'Imprimir', 'imprimir', 'binario', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '0', 'N', 70, NULL, NULL, 10, 'S'),
(16, 2, 'Generar', 'generar', 'binario', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '0', 'N', 70, NULL, NULL, 10, 'S'),
(95, 15, 'id_cliente_rs', 'id_cliente_rs', 'oculto', 'N', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, 'NO', 'N', 0, NULL, NULL, 1, 'N'),
(96, 15, 'id_cliente', 'id_cliente', 'oculto', 'N', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '$LLAVE', 'N', 0, NULL, NULL, 2, 'N'),
(97, 15, 'RFC', 'rfc', 'texto', 'S', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 90, NULL, NULL, 3, 'N'),
(98, 15, 'Razón social', 'razon_social', 'texto', 'S', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 150, NULL, NULL, 4, 'N'),
(99, 15, 'Calle', 'calle', 'texto', 'S', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 150, NULL, NULL, 5, 'N'),
(100, 15, 'No. int.', 'no_int', 'texto', 'S', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 50, NULL, NULL, 6, 'N'),
(101, 15, 'No. ext.', 'no_ext', 'texto', 'S', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 50, NULL, NULL, 7, 'N'),
(102, 15, 'Colonia', 'colonia', 'texto', 'S', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 150, NULL, NULL, 8, 'N'),
(103, 15, 'Del./Municipio', 'del_municipio', 'texto', 'S', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 150, NULL, NULL, 9, 'N'),
(104, 15, 'CP', 'cp', 'texto', 'S', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'S', 60, NULL, NULL, 9, 'N'),
(353, 47, 'ID', 'id_detalle_venta', 'oculto', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, 'NO', 'N', 0, NULL, NULL, 1, 'N'),
(354, 47, 'ID', 'id_venta', 'oculto', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '$LLAVE', 'N', 150, NULL, NULL, 2, 'N'),
(355, 47, 'Id', 'id_producto', 'entero', 'N', NULL, 'center', NULL, 'SELECT \n	p.id_productos,\n 	CONCAT(p.nombre, \' ° \', p.nombre_etiqueta, \' ° inventario : \', sp.inventario)\nFROM ec_productos p\nLEFT JOIN ec_sucursal_producto sp ON p.id_productos = sp.id_producto\nWHERE (p.nombre LIKE \'%$LLAVE%\' OR p.id_productos = \'$LLAVE\')\nAND sp.id_sucursal = 1', 'null', 'cambiaDesc(\'#\', \'detalleVenta\', 2, 3,\'~\',\'___\',\'???\');getDatosC(\'#\');', NULL, 'N', NULL, NULL, NULL, 'N', 50, NULL, NULL, 3, 'N'),
(356, 47, 'Cantidad', 'cantidad', 'entero', 'S', NULL, NULL, NULL, NULL, NULL, 'TotalVentas()', NULL, 'N', NULL, NULL, '1', 'N', 100, NULL, NULL, 6, 'N'),
(357, 47, 'Precio', 'precio', 'decimal', 'S', '$#,###.##', NULL, NULL, NULL, NULL, 'TotalVentas()', NULL, 'N', NULL, NULL, NULL, 'N', 100, NULL, NULL, 7, 'N'),
(358, 47, 'Monto', 'monto', 'formula', 'N', '$#,###.##', NULL, '$Cantidad*$Precio', NULL, NULL, NULL, NULL, 'S', NULL, NULL, '0', 'N', 200, NULL, NULL, 8, 'N'),
(359, 50, 'ID', 'id_compra_detalle', 'oculto', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, 'NO', 'N', 0, NULL, NULL, 1, 'N'),
(360, 50, 'ID', 'id_orden_compra', 'oculto', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '$LLAVE', 'N', 150, NULL, NULL, 2, 'N'),
(361, 50, 'Id', 'id_producto', 'entero', 'N', NULL, 'center', NULL, 'SELECT \n	p.id_productos,\n 	CONCAT(p.nombre, \' °  \', p.nombre_etiqueta, \' ° inventario : \', sp.inventario)\nFROM ec_productos p\nLEFT JOIN ec_sucursal_producto sp ON p.id_productos = sp.id_producto\nWHERE (p.nombre LIKE \'%$LLAVE%\' OR p.id_productos = \'$LLAVE\')\nAND sp.id_sucursal = 1', 'null', 'cambiaDesc(\'#\', \'detalleCompra\', 2, 3,\'~\',\'___\',\'???\');getDatosC(\'#\');actPrecComp();', NULL, 'N', NULL, NULL, NULL, 'N', 50, NULL, NULL, 3, 'N'),
(362, 50, 'Cantidad', 'cantidad', 'entero', 'S', NULL, NULL, NULL, NULL, NULL, 'actPrecComp()', NULL, 'N', NULL, NULL, '1', 'N', 100, NULL, NULL, 6, 'N'),
(363, 50, 'Precio', 'precio', 'decimal', 'S', '$#,###.##', NULL, NULL, NULL, NULL, 'actPrecComp()', NULL, 'N', NULL, NULL, NULL, 'N', 100, NULL, NULL, 7, 'N'),
(364, 50, 'Monto', 'NO', 'formula', 'N', '$#,###.##', NULL, '$Cantidad*$Precio', NULL, NULL, NULL, NULL, 'S', NULL, NULL, '0', 'N', 200, NULL, NULL, 8, 'N'),
(365, 46, 'ID', 'id_detalle_movimiento', 'oculto', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, 'NO', 'N', 0, NULL, NULL, 1, 'N'),
(366, 46, 'ID', 'id_movimiento_inventario', 'oculto', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '$LLAVE', 'N', 150, NULL, NULL, 2, 'N'),
(367, 46, 'Producto', 'id_producto', 'combo', 'S', NULL, NULL, NULL, 'SELECT\r\nid_productos,\r\nCONCAT( id_productos, \' - \', nombre ) \r\nFROM ec_productos ', 'null', '', NULL, 'N', NULL, NULL, NULL, 'N', 300, NULL, NULL, 3, 'N'),
(368, 46, 'Cantidad', 'cantidad', 'entero', 'S', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '1', 'N', 100, NULL, NULL, 4, 'N'),
(369, 15, 'Localidad', 'localidad', 'texto', 'S', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'S', 150, NULL, NULL, 9, 'N'),
(370, 15, 'Referencia', 'referencia', 'texto', 'S', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'S', 150, NULL, NULL, 9, 'N'),
(371, 15, 'Estado', 'estado', 'texto', 'S', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'S', 150, NULL, NULL, 9, 'N'),
(372, 15, 'País', 'pais', 'texto', 'S', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'S', 150, NULL, NULL, 9, 'N'),
(373, 47, 'Inventario', 'NO', 'decimal', 'N', '#,###', 'right', '', NULL, NULL, NULL, NULL, 'N', NULL, NULL, '0', 'N', 100, NULL, NULL, 9, 'N'),
(374, 51, 'ID', 'id_limite_razon_social', 'oculto', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, 'NO', 'N', 0, NULL, NULL, 1, 'N'),
(375, 51, 'ID', 'id_emisor', 'oculto', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '$LLAVE', 'N', 0, NULL, NULL, 2, 'N'),
(376, 51, 'id_usuario', 'id_usuario', 'oculto', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '$USUARIO', 'N', 0, NULL, NULL, 3, 'N'),
(377, 51, 'Año', 'periodo', 'entero', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'S', 70, NULL, NULL, 4, 'N'),
(378, 51, 'Alerta Compras', 'alerta_limite_compras', 'decimal', 'S', NULL, 'rigth', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'S', 100, NULL, NULL, 5, 'N'),
(379, 51, 'Límite Compras', 'limite_compras', 'decimal', 'S', NULL, 'right', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'S', 100, NULL, NULL, 6, 'N'),
(380, 51, 'Alerta Ventas', 'alerta_limite_ventas', 'decimal', 'S', NULL, 'right', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'S', 100, NULL, NULL, 7, 'N'),
(381, 51, 'Limite Ventas', 'limite_ventas', 'decimal', 'S', NULL, 'right', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'S', 100, NULL, NULL, 8, 'N'),
(382, 51, 'Observaciones', 'observaciones', 'texto', 'S', NULL, 'right', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 150, NULL, NULL, 9, 'N'),
(383, 47, 'Nombre', 'NO', 'texto', 'N', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 300, NULL, NULL, 4, 'N'),
(384, 50, 'Producto', 'NO', 'texto', 'N', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 300, NULL, NULL, 4, 'N'),
(385, 47, 'Nombre etiqueta', 'NO', 'CHAR', 'N', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 200, NULL, NULL, 5, 'N'),
(386, 50, 'Nombre etiqueta', 'NO', 'CHAR', 'N', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 200, NULL, NULL, 5, 'N'),
(387, 52, 'id', 'id_cliente_contacto', 'oculto', 'N', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 0, NULL, NULL, 1, 'N'),
(388, 52, 'id_cliente', 'id_cliente_facturacion', 'oculto', 'S', NULL, 'center', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, '$LLAVE', 'N', 0, NULL, NULL, 2, 'N'),
(389, 52, 'Nombre contacto', 'nombre', 'texto', 'S', NULL, 'left', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'S', 200, NULL, NULL, 3, 'N'),
(390, 52, 'Telefono', 'telefono', 'entero', 'S', NULL, 'right', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 120, NULL, NULL, 4, 'N'),
(391, 52, 'Celular', 'celular', 'entero', 'S', NULL, 'right', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 120, NULL, NULL, 5, 'N'),
(392, 52, 'Correo', 'correo', 'texto', 'S', NULL, 'right', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'S', 150, NULL, NULL, 6, 'N'),
(393, 52, 'CFDI', 'uso_cfdi', 'combo', 'S', NULL, 'center', NULL, 'SELECT\r\nid, \r\nnombre\r\nFROM ec_cfdi\r\nWHERE 1', 'null', NULL, NULL, 'N', NULL, NULL, NULL, 'N', 150, NULL, NULL, 7, 'N'),
(394, 52, 'Fecha Alta', 'fecha_alta', 'texto', 'N', NULL, 'right', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 100, NULL, NULL, 8, 'N'),
(395, 52, 'Fecha Act.', 'fecha_ultima_actualizacion', 'texto', 'N', NULL, 'right', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 100, NULL, NULL, 9, 'N'),
(396, 52, 'Folio Unico', 'folio_unico', 'texto', 'N', NULL, 'right', NULL, NULL, NULL, NULL, NULL, 'N', NULL, NULL, NULL, 'N', 100, NULL, NULL, 10, 'N');

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_groups`
--

CREATE TABLE `sys_groups` (
  `id_grupo` int(11) UNSIGNED NOT NULL,
  `nombre` varchar(45) NOT NULL,
  `area` varchar(45) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_herramientas`
--

CREATE TABLE `sys_herramientas` (
  `id_herramienta` int(11) NOT NULL,
  `titulo` varchar(150) NOT NULL,
  `consulta` text NOT NULL,
  `descripcion` varchar(400) NOT NULL,
  `campo_filtro_sucursal` varchar(400) DEFAULT NULL,
  `campo_filtro_fecha1` varchar(400) DEFAULT NULL,
  `campo_filtro_fecha2` varchar(400) DEFAULT NULL,
  `campo_filtro_familia` varchar(400) DEFAULT NULL,
  `campo_filtro_tipo` varchar(400) DEFAULT NULL,
  `campo_filtro_subtipo` varchar(400) DEFAULT NULL,
  `campo_filtro_color` varchar(400) DEFAULT NULL,
  `campo_filtro_almacen` varchar(400) DEFAULT NULL,
  `campo_filtro_es_externo` varchar(400) DEFAULT NULL,
  `tipo_herramienta` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Volcado de datos para la tabla `sys_herramientas`
--

INSERT INTO `sys_herramientas` (`id_herramienta`, `titulo`, `consulta`, `descripcion`, `campo_filtro_sucursal`, `campo_filtro_fecha1`, `campo_filtro_fecha2`, `campo_filtro_familia`, `campo_filtro_tipo`, `campo_filtro_subtipo`, `campo_filtro_color`, `campo_filtro_almacen`, `campo_filtro_es_externo`, `tipo_herramienta`) VALUES
(1, 'DETALLE DE MOVIMIENTOS', 'SELECT\np.id_productos AS \'ID PRODUCTO\',\np.nombre AS \'PRODUCTO\',\np.precio_compra AS \'PRECIO COMPRA\',\ndv.precio AS \'PRECIO VENTA\',\ndv.monto AS \'MONTO\',\ndv.cantidad AS \'CANTIDAD\',\nv.fecha AS \'FECHA\',\nv.folio  AS \'FOLIO VENTA\',\nc.nombre AS RFC\nFROM ec_ventas v\nLEFT JOIN ec_detalle_venta dv\nON v.id_venta = dv.id_venta\nLEFT JOIN ec_productos p\nON p.id_productos = dv.id_producto\nLEFT JOIN ec_clientes c\nON c.id_cliente = v.id_cliente\nWHERE ( v.fecha BETWEEN \'$_FECHA_1\' AND \'$_FECHA_2\' )\nORDER BY p.id_productos, dv.precio', 'DETALLE DE MOVIMIENTOS', '', '$_FECHA_1||fecha||calendario(this);|fecha_1|Fecha inicio ventas:', '$_FECHA_2||fecha||calendario(this);|fecha_2|Fecha final ventas:', '', NULL, NULL, NULL, NULL, NULL, 'Consulta'),
(2, 'CONSULTA DE INVENTARIOS A UNA FECHA', 'SELECT\n  p.id_productos AS \'ID PRODUCTO\',\n  p.nombre AS \'PRODUCTO\',\n  p.inventarioInicial AS \'INVENTARIO INICIAL\',\n  SUM(\n  IF( dv.id_detalle_venta IS NOT NULL AND ( v.fecha BETWEEN \'$_FECHA_INICIAL\' AND \'$_FECHA_FINAL\' ), \n      dv.cantidad, \n      0\n    )\n  ) AS \'VENTAS\',\n  p.Movimientos AS \'MOVIMIENTOS\',\n  p.InvFin AS \'INVENTARIO FINAL\'\nFROM\n(\nSELECT\np.orden_lista,\np.id_productos,\np.nombre,\nSUM(\n  IF(m.fecha <= \'$_INV_INICIAL\',\n    IF(md.cantidad IS NULL, 0, tm.afecta*md.cantidad),\n    0\n  )\n) AS inventarioInicial,\nSUM(\n  IF(m.id_venta <> -1 AND m.fecha >= \'$_FECHA_INICIAL\' AND m.fecha <= \'$_FECHA_FINAL\',\n    IF(md.cantidad IS NULL, 0, tm.afecta*md.cantidad),\n    0\n  )\n) AS Movimientos,\nSUM(\n  IF(m.fecha <= \'$_INV_FINAL\',\n    IF(md.cantidad IS NULL, 0, md.cantidad*tm.afecta),\n    0\n  )\n) AS InvFin\nFROM ec_productos p\nLEFT JOIN ec_detalle_movimiento md ON p.id_productos = md.id_producto\nLEFT JOIN ec_movimiento_inventario m ON md.id_movimiento_inventario = m.id_movimiento_inventario\nLEFT JOIN ec_tipos_movimiento tm ON m.id_tipo_movimiento = tm.id_movimiento\nLEFT JOIN ec_ventas pdo ON m.id_venta = pdo.id_venta\nWHERE 1\nGROUP BY p.id_productos\n) p\nLEFT JOIN ec_detalle_venta dv\nON dv.id_producto = id_productos\nLEFT JOIN ec_ventas v\nON dv.id_venta = v.id_venta\nAND ( v.fecha BETWEEN \'$_FECHA_INICIAL\' AND \'$_FECHA_FINAL\' )\nWHERE 1\nGROUP BY p.id_productos\nORDER BY orden_lista', 'CONSULTA DE INVENTARIOS A UNA FECHA', NULL, '$_INV_INICIAL||fecha||calendario(this);|fecha_1|Fecha inicial de inventario:', '$_INV_FINAL||fecha||calendario(this);|fecha_2|Fecha final de inventario:', '$_FECHA_INICIAL||fecha||calendario(this);|fecha_3|Fecha de :', '$_FECHA_FINAL||fecha||calendario(this);|fecha_4|Fecha a :', NULL, NULL, NULL, NULL, 'Consulta'),
(3, 'VENTAS EN UN PERIODO', 'SELECT\n    v.id_venta AS \'ID VENTA\',\n    v.folio AS \'FOLIO\',\n    v.total AS \'TOTAL\',\n    SUM( IF( dv.id_detalle_venta IS NULL, 0, dv.monto ) ) AS \'TOTAL DETALLE\',\n    v.fecha AS \'FECHA\',\n    IF( v.facturado = 0, \'0\', \'Timbrada\' )\nFROM ec_ventas v\nLEFT JOIN ec_detalle_venta dv\nON v.id_venta = dv.id_venta\nWHERE ( v.fecha BETWEEN \'$_FECHA_1\' AND \'$_FECHA_2\' )\nGROUP BY v.id_venta', 'VENTAS EN UN PERIODO', NULL, '$_FECHA_1||fecha||calendario(this);|fecha_1|Fecha inicio :', '$_FECHA_2||fecha||calendario(this);|fecha_2|Fecha final :', NULL, NULL, NULL, NULL, NULL, NULL, 'Consulta'),
(4, 'ELIMNAR DETALLE DE MOVIMIENTOS DE ALMACEN DE VENTAS', 'DELETE dm FROM ec_detalle_movimiento dm\nLEFT JOIN ec_movimiento_inventario mi\nON mi.id_movimiento_inventario = dm.id_movimiento_inventario\nLEFT JOIN ec_ventas v \nON mi.id_venta = v.id_venta\nWHERE v.facturado = 0\nAND ( v.fecha BETWEEN \'$_FECHA_1\' AND \'$_FECHA_2\' )', 'ELIMNAR DETALLE DE MOVIMIENTOS DE ALMACEN DE VENTAS', NULL, '$_FECHA_1||fecha||calendario(this);|fcha_1|Fecha inicio : ', '$_FECHA_2||fecha||calendario(this);|fcha_2|Fecha final : ', NULL, NULL, NULL, NULL, NULL, NULL, 'Herramienta'),
(5, 'ELIMINAR DETALLE DE VENTAS', 'DELETE FROM ec_detalle_venta\n    WHERE id_venta IN(\n     SELECT \n         id_venta\n      FROM ec_ventas\n        WHERE facturado = 0\n        AND ( fecha BETWEEN \'$_FECHA_1\' AND \'$_FECHA_2\' )\n    )', 'ELIMINAR DETALLE DE VENTAS', NULL, '$_FECHA_1||fecha||calendario(this);|fcha_1|Fecha inicio : ', '$_FECHA_2||fecha||calendario(this);|fcha_2|Fecha final : ', NULL, NULL, NULL, NULL, NULL, NULL, 'Herramienta'),
(6, 'REASIGNACION DE PRODUCTOS DE NOTAS DE VENTA', 'SELECT NOW()', 'REASIGNACION DE PRODUCTOS DE NOTAS DE VENTA', NULL, '$_FECHA_1||fecha||calendario(this);|fecha_1|Fecha inicio :', '$_FECHA_2||fecha||calendario(this);|fecha_2|Fecha final :', NULL, NULL, NULL, NULL, NULL, NULL, 'Herramienta'),
(7, 'CONSULTA DE INVENTARIO DE PRODUCTOS A UNA FECHA', 'SELECT\r\n	p.id_productos AS \'ID PRODUCTO\',\r\n	p.nombre AS \'PRODUCTO\',\r\n 	SUM( IF( dm.id_detalle_movimiento IS NULL OR mi.fecha > \'$_INV_LIMITE\', \r\n                    0, \r\n                    ( tm.afecta * dm.cantidad ) \r\n                 ) \r\n        ) AS \'INVENTARIO\',\r\n    IF( p.id_tipo_facturacion = 1, \r\n       \'NINGUNO\', \r\n       IF( p.id_tipo_facturacion = 3,\r\n         \'NO CONTROLADO\',\r\n         \'ES CONTROLADO\' \r\n        ) \r\n    ) AS \'PRODUCTO CONTROLADO\',\r\n    p.precio_compra\r\nFROM ec_productos p\r\nLEFT JOIN ec_detalle_movimiento dm\r\nON p.id_productos = dm.id_producto\r\nLEFT JOIN ec_movimiento_inventario mi\r\nON mi.id_movimiento_inventario = dm.id_movimiento_inventario\r\nLEFT JOIN ec_tipos_movimiento tm \r\nON tm.id_movimiento = mi.id_tipo_movimiento\r\nWHERE id_productos > 0\r\nGROUP BY p.id_productos', 'CONSULTA DE INVENTARIO DE PRODUCTOS A UNA FECHA', NULL, '$_INV_LIMITE||fecha||calendario(this);|fecha_1|Fecha limite de inventario:', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Consulta');

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_listados`
--

CREATE TABLE `sys_listados` (
  `id_listado` int(11) UNSIGNED NOT NULL,
  `titulo` varchar(45) NOT NULL,
  `tabla` varchar(120) NOT NULL,
  `no_tabla` int(2) NOT NULL DEFAULT '0',
  `consulta` text NOT NULL,
  `anchos` varchar(120) DEFAULT NULL,
  `alineacion` varchar(200) DEFAULT NULL,
  `campos` text NOT NULL,
  `ver` tinyint(1) UNSIGNED NOT NULL DEFAULT '1',
  `modificar` tinyint(1) UNSIGNED NOT NULL DEFAULT '1',
  `eliminar` tinyint(1) UNSIGNED NOT NULL DEFAULT '1',
  `condicion` text,
  `nuevo` tinyint(1) NOT NULL,
  `buscador` bit(1) NOT NULL DEFAULT b'0',
  `consulta_buscador` text NOT NULL,
  `condiciones_buscador` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Volcado de datos para la tabla `sys_listados`
--

INSERT INTO `sys_listados` (`id_listado`, `titulo`, `tabla`, `no_tabla`, `consulta`, `anchos`, `alineacion`, `campos`, `ver`, `modificar`, `eliminar`, `condicion`, `nuevo`, `buscador`, `consulta_buscador`, `condiciones_buscador`) VALUES
(1, ' Usuarios', 'sys_users', 0, 'SELECT\r\nid_usuario AS ID,\r\nCONCAT(nombre, \' \', apellido_paterno) AS Nombre,\r\nlogin AS Login\r\nFROM sys_users', '0|250|150', 'center|left|left', 'id_usuario|CONCAT(nombre, \' \', apellido_paterno)|login', 1, 1, 1, NULL, 1, b'0', '', ''),
(2, ' Sucursales', 'sys_sucursales', 0, 'SELECT id_sucursal AS ID, nombre AS Nombre FROM sys_sucursales', '0|350', 'center|left', 'id_sucursal|nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(3, 'Configuración de pantalla', 'sys_conf_pantalla', 0, 'SELECT\r\nid_configuracion_pantalla AS ID,\r\nnombre AS Plantilla\r\nFROM sys_conf_pantalla\r\nJOIN sys_plantilla ON sys_conf_pantalla.id_plantilla = sys_plantilla.id_plantilla', '0|350', 'center|left', 'id_configuracion_pantalla|nombre', 1, 1, 0, NULL, 0, b'0', '', ''),
(4, 'Países', 'sys_paises', 0, 'SELECT id_pais AS ID, nombre AS Nombre FROM sys_paises', '0|350', 'center|left', 'id_pais|nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(5, 'Estados', 'sys_estados', 0, 'SELECT\r\nid_estado AS ID,\r\nsys_estados.nombre AS Nombre,\r\nsys_paises.nombre AS \'País\'\r\nFROM sys_estados\r\nJOIN sys_paises ON sys_estados.id_pais = sys_paises.id_pais', '0|250|250', 'center|left|left', 'id_estado|sys_estados.nombre|sys_paises.nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(6, 'Configuración de pedidos', 'ec_conf_pedidos', 0, 'SELECT\r\nid_conf_pedidos AS ID,\r\n\'Configuración de pedidos\' AS Nombre\r\nFROM ec_conf_pedidos', '0|350', 'center|left', 'id_conf_pedidos|\'Configuración de pedidos\'', 1, 1, 0, NULL, 0, b'0', '', ''),
(7, 'Configuración de OC', 'ec_conf_oc', 0, 'SELECT\r\nid_conf_oc AS ID,\r\n\'Configuración de OC\' AS Nombre\r\nFROM ec_conf_oc', '0|350', 'center|left', 'id_conf_oc|\'Configuración de OC\'', 1, 1, 0, NULL, 0, b'0', '', ''),
(8, 'Configuración general', 'ec_conf_gral', 0, 'SELECT\r\nid_configuracion AS ID,\r\n\'Configuración general\' AS nombre\r\nFROM ec_conf_gral', '0|350', 'center|left', 'id_configuracion|\'Configuración general\'', 1, 1, 0, NULL, 0, b'0', '', ''),
(9, 'Proveedores', 'ec_proveedor', 0, 'SELECT\r\nid_proveedor AS ID,\r\nnombre_comercial AS Nombre,\r\nrfc AS RFC\r\nFROM ec_proveedor', '0|400|250', 'center|left|left', 'id_proveedor|nombre_comercial|rfc', 1, 1, 1, 'AND id_sucursal=$SUCURSAL AND id_proveedor > 0', 1, b'0', '', ''),
(10, 'Familias', 'ec_categoria', 0, 'SELECT id_categoria AS ID, nombre AS Nombre FROM ec_categoria', '0|600', 'center|left', 'id_categoria|nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(11, 'Tipos', 'ec_subcategoria', 0, 'SELECT\r\ns.id_subcategoria AS ID,\r\ns.nombre AS Nombre,\r\nc.nombre AS \'Categoría\'\r\nFROM ec_subcategoria s\r\nJOIN ec_categoria c ON s.id_categoria = c.id_categoria', '0|350|350', 'center|left|left', 's.id_subcategoria|s.nombre|c.nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(12, ' Productos', 'ec_productos', 0, 'SELECT\r\nec_productos.id_productos AS ID, \r\nec_productos.orden_lista AS \'Orden de lista\',\r\nec_productos.nombre AS Nombre FROM ec_productos', '0|120|350', 'center|center|left', 'id_productos|orden_lista|nombre', 1, 1, 1, 'AND ec_productos.id_productos > 0', 1, b'1', 'ec_productos.nombre', ''),
(14, 'Movimientos de almacén', 'ec_movimiento_almacen', 0, 'SELECT\r\nm.id_movimiento_almacen AS ID,\r\ntm.nombre AS Tipo,\r\nfecha AS Fecha,\r\n(\r\n	SELECT\r\n	GROUP_CONCAT(p.nombre SEPARATOR \', \')\r\n	FROM ec_movimiento_detalle md\r\n	JOIN ec_productos p ON md.id_producto = p.id_productos\r\n	WHERE md.id_movimiento = m.id_movimiento_almacen\r\n) AS Productos\r\nFROM ec_movimiento_almacen m\r\nJOIN ec_tipos_movimiento tm ON m.id_tipo_movimiento = tm.id_tipo_movimiento', '0|250|120|350', 'center|left|center|left', 'm.id_movimiento_almacen,tm.nombre|m.fecha|(SELECT GROUP_CONCAT(p.nombre SEPARATOR \', \') FROM ec_movimiento_detalle md JOIN ec_productos p ON md.id_producto = p.id_productos WHERE md.id_movimiento = m.id_movimiento_almacen)', 1, 1, 1, 'AND id_sucursal=$SUCURSAL AND m.id_movimiento_almacen > 0', 1, b'0', '', ''),
(15, 'Guías', 'ec_guias', 0, 'SELECT id_guia AS ID, numero AS \'Número\', tg.empresa AS \'Tipo de guia\' FROM ec_guias g JOIN ec_tipos_guia tg ON g.id_tipo_guia = tg.id_tipo_guia', '0|180|350', 'center|left|left', 'id_guia|numero|tg.empresa', 1, 1, 1, NULL, 1, b'0', '', ''),
(16, 'Tipos de guía', 'ec_tipos_guia', 0, 'SELECT id_tipo_guia AS ID, empresa AS Empresa, kilometros AS Kilometros, kilogramos AS Kilogramos FROM ec_tipos_guia', '0|250|100|100', 'center|left|center|center', 'id_tipo_guia|empresa|kilometros|kilogramos', 1, 1, 1, NULL, 1, b'0', '', ''),
(17, 'Mensajería', 'ec_rutas', 0, 'SELECT\r\nid_ruta AS ID,\r\nfecha_partida AS Fecha,\r\nhora_partida AS Hora,\r\nCONCAT(r.nombre, \' \', r.apellido_paterno) AS Repartidor,\r\nIF(entregado = 0, \'NO\', \'SI\') AS Terminado\r\nFROM ec_rutas rt\r\nLEFT JOIN ec_repartidores r ON rt.id_repartidor = r.id_repartidor ', '0|120|120|350|120', 'center|center|center|left|center', 'id_ruta|fecha_partida|hora_partida AS Hora|CONCAT(r.nombre, \' \', r.apellido_paterno)|IF(entregado = 0, \'NO\', \'SI\')', 1, 1, 1, NULL, 1, b'0', '', ''),
(18, 'Tipos de movimiento', 'ec_tipos_movimiento', 0, 'SELECT id_tipo_movimiento AS ID, nombre AS Nombre FROM ec_tipos_movimiento', '0|600', 'center|left', 'id_tipo_movimiento|nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(19, 'Notas de crédito', 'ec_notas_credito', 0, 'SELECT\r\nn.id_nota_credito AS ID,\r\nn.fecha AS Fecha,\r\nCONCAT(\'$\',FORMAT(n.total, 2)) AS Monto,\r\np.nombre_comercial AS Proveedor\r\nFROM ec_notas_credito n\r\nJOIN ec_proveedor p ON n.id_proveedor = p.id_proveedor', '0|120|120|350', 'center|center|right|left', 'n.id_nota_credito|n.fecha|n.total|Monto|IF(c.nombre IS NULL, p.nombre_comercial, c.nombre)', 1, 1, 1, 'AND n.id_sucursal=$SUCURSAL AND n.tipo_nc=1 AND n.id_nota_credito > 0', 1, b'0', '', ''),
(20, 'Repartidores', 'ec_repartidores', 0, 'SELECT id_repartidor AS ID, CONCAT(nombre, \' \', apellido_paterno) AS Nombre FROM ec_repartidores', '0|600', 'center|left', 'id_repartidor|CONCAT(nombre, \' \', apellido_paterno)', 1, 1, 1, 'AND id_repartidor > 0', 1, b'0', '', ''),
(21, 'Notas de cargo', 'ec_nota_cargo', 0, 'SELECT\r\nn.id_nota_cargo AS ID,\r\nn.fecha AS Fecha,\r\nCONCAT(\'$\', FORMAT(n.total, 2)) AS Monto,\r\np.nombre_comercial AS Proveedor\r\nFROM ec_nota_cargo n\r\nJOIN ec_proveedor p ON n.id_proveedor = p.id_proveedor', '0|120|120|350', 'center|center|right|left', 'n.id_nota_cargo|n.fecha|n.total|p.nombre_comercial', 1, 1, 1, 'AND n.id_sucursal=$SUCURSAL AND tipo_nc=1 AND id_nota_cargo > 0', 1, b'0', '', ''),
(22, 'Tipos de envio', 'ec_tipos_envio', 0, 'SELECT id_tipo_envio AS ID, nombre AS Nombre FROM ec_tipos_envio', '0|600', 'center|left', 'id_tipo_envio|nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(23, 'Transportes', 'ec_transportes', 0, 'SELECT id_transporte AS ID, nombre AS Nombre, placas AS Placas FROM ec_transportes', '0|350|200', 'center|left|left', 'id_transporte|nombre|placas', 1, 1, 1, 'AND id_transporte > 1', 1, b'0', '', ''),
(24, ' Órdenes de compras', 'ec_oc', 0, 'SELECT\nid_orden_compra AS ID,\nfolio AS Folio,\np.nombre_comercial AS Proveedor,\nfecha AS Fecha\nFROM ec_oc oc\nJOIN ec_proveedor p ON oc.id_proveedor = p.id_proveedor\n', '0|90|250|80', 'center|center|left|center', 'id_orden_compra|folio|p.nombre,fecha\r\n\r\n', 1, 1, 1, 'AND oc.id_sucursal=$SUCURSAL', 1, b'0', '', ''),
(25, 'Clientes', 'ec_clientes', 0, 'SELECT id_cliente AS ID, nombre AS Nombre, telefono AS \'Teléfono\', email AS \'E-mail\' FROM ec_clientes', '0|300|150|300', 'center|left|left|left', 'id_cliente|nombre|telefono|email', 1, 0, 0, 'AND id_sucursal = $SUCURSAL AND id_cliente >= 10000', 0, b'0', '', ''),
(26, 'Pedidos', 'ec_pedidos', 0, 'SELECT\r\np.id_pedido AS ID,\r\np.folio_pedido AS Folio,\r\nc.nombre AS Cliente,\r\ne.nombre AS Estado\r\nFROM ec_pedidos p\r\nJOIN ec_clientes c ON p.id_cliente = c.id_cliente\r\nJOIN ec_estatus_pedido e ON p.id_estatus = e.id_estatus', '0|120|350|160', 'center|center|left|left', 'p.id_pedido|p.folio_pedido|c.nombre|e.nombre', 1, 0, 1, 'AND p.id_sucursal=$SUCURSAL AND p.id_pedido NOT IN(-1) AND p.id_estatus NOT IN(8) AND folio_pedido IS NOT NULL', 0, b'0', '', ''),
(27, 'Notas de venta', 'ec_pedidos', 1, 'SELECT\r\np.id_pedido AS ID,\r\np.folio_nv AS Folio,\r\nc.nombre AS Cliente,\r\np.total AS Monto\r\nFROM ec_pedidos p\r\nJOIN ec_clientes c ON p.id_cliente = c.id_cliente', '0|120|350|160', 'center|center|left|right', 'p.id_pedido|p.folio_nv|c.nombre|p.total', 1, 0, 1, 'AND p.id_sucursal=$SUCURSAL AND p.id_pedido NOT IN(-1) AND p.id_estatus NOT IN(1,3)', 0, b'0', '', ''),
(28, 'Cotizaciones', 'ec_pedidos', 2, 'SELECT p.id_pedido AS ID, p.folio_cotizacion AS Folio, c.nombre AS Cliente, p.total AS Monto FROM ec_pedidos p JOIN ec_clientes c ON p.id_cliente = c.id_cliente', '0|120|250|120', 'center|center|left|right', 'p.id_pedido|p.folio_cotizacion|c.nombre|p.total', 1, 1, 1, 'AND p.id_sucursal=$SUCURSAL AND p.id_pedido NOT IN(-1) AND p.id_estatus NOT IN(1,3) AND (p.id_estatus IN(8) OR fue_cot = 1)', 1, b'0', '', ''),
(29, 'Prospectos', 'ec_clientes', 1, 'SELECT id_cliente AS ID, nombre AS Nombre, telefono AS \'Teléfono\', email AS \'E-mail\' FROM ec_clientes', '0|200|120|250', 'center|left|left|left', 'id_cliente|nombre|telefono|email', 1, 1, 1, 'AND id_sucursal = $SUCURSAL AND id_cliente NOT IN(-1) AND es_cliente = 0', 1, b'0', '', ''),
(30, 'Notas de crédito', 'ec_notas_credito', 1, 'SELECT\nn.id_nota_credito AS ID,\nn.fecha AS Fecha,\nn.total AS Monto,\nc.nombre AS Cliente\nFROM ec_notas_credito n\nJOIN ec_clientes c ON n.id_cliente = c.id_cliente', '0|120|150|350', 'center|center|right|left', 'n.id_nota_credito|n.fecha|n.total|Monto|c.nombre', 1, 1, 1, 'AND n.id_sucursal=$SUCURSAL AND n.tipo_nc=2', 1, b'0', '', ''),
(31, 'Notas de cargo', 'ec_nota_cargo', 1, 'SELECT\r\nn.id_nota_cargo AS ID,\r\nn.fecha AS Fecha,\r\nn.total AS Monto,\r\nc.nombre AS Cliente\r\nFROM ec_nota_cargo n\r\nJOIN ec_clientes c ON n.id_cliente = c.id_cliente', '0|120|120|350', 'center|center|right|left', 'n.id_nota_cargo|n.fecha|n.total|c.nombre', 1, 1, 1, 'AND n.id_sucursal=$SUCURSAL AND tipo_nc=2', 1, b'0', '', ''),
(32, 'Precios de venta', 'ec_precios', 0, 'SELECT\r\nlp.id_precio AS ID,\r\nlp.nombre AS Nombre,\r\nlp.fecha AS Fecha\r\nFROM ec_precios lp', '0|400|200', 'center|left|center', 'lp.id_precio|lp.nombre|lp.fecha', 1, 1, 1, '', 1, b'0', '', ''),
(33, 'Vendedores', 'ec_vendedores', 0, 'SELECT\r\nv.id_vendedor AS ID,\r\nCONCAT(u.nombre, \' \', u.apellido_paterno) AS Nombre\r\nFROM ec_vendedores v\r\nJOIN sys_users u ON v.id_usuario = u.id_usuario', '0|400', 'center|left', 'v.id_vendedor|CONCAT(u.nombre, \' \', u.apellido_paterno)', 1, 1, 1, 'AND v.id_sucursal=$SUCURSAL', 1, b'0', '', ''),
(34, 'Cuentas por pagar', 'ec_cuentas_por_pagar', 0, 'SELECT\r\nc.id_cxp AS ID,\r\np.nombre_comercial AS Proveedor,\r\nCONCAT(\'$\',FORMAT(c.monto,2)) AS Monto,\r\nCONCAT(\'$\',FORMAT(c.abonado,2)) AS Abonado,\r\nCONCAT(\'$\',FORMAT(c.monto-c.abonado,2)) AS Resta\r\nFROM ec_cuentas_por_pagar c\r\nJOIN ec_proveedor p ON c.id_proveedor = p.id_proveedor\r\n', '0|400|120|120|120', 'center|left|right|right|right', 'c.id_cxp|p.nombre_comercial|c.monto|c.abonado|c.monto-c.abonado', 1, 1, 0, 'AND c.id_sucursal=$SUCURSAL', 0, b'0', '', ''),
(35, 'Cuentas por cobrar', 'ec_cuentas_por_cobrar', 0, 'SELECT\r\nc.id_cxc AS ID,\r\ncl.nombre AS Cliente,\r\nCONCAT(\'$\', FORMAT(c.monto, 2)) AS Monto,\r\nCONCAT(\'$\', FORMAT(c.abonado, 2)) AS Abonado,\r\nCONCAT(\'$\', FORMAT(c.monto-c.abonado, 2)) AS Resta\r\nFROM ec_cuentas_por_cobrar c\r\nJOIN ec_clientes cl ON c.id_cliente = cl.id_cliente', '0|400|120|120|120', 'center|left|right|right|right', 'c.id_cxc|cl.nombre|c.monto|c.abonado|c.monto-c.abonado', 1, 1, 0, 'AND c.id_sucursal=$SUCURSAL', 0, b'0', '', ''),
(36, 'Cuentas', 'ec_cuentas', 0, 'SELECT\r\nc.id_cuenta AS ID,\r\nb.nombre AS Banco,\r\nc.nombre AS Nombre\r\nFROM ec_cuentas c\r\nJOIN ec_bancos b ON c.id_banco = b.id_banco', '0|300|350', 'center|left|left', 'c.id_cuenta|b.nombre|c.nombre', 1, 1, 1, 'AND id_sucursal=$SUCURSAL', 1, b'0', '', ''),
(37, 'Razones sociales', 'sys_razones_sociales', 0, 'SELECT\r\nid_razon_social AS ID,\r\nrfc AS RFC,\r\nrazon_social AS \'Razón social\'\r\nFROM sys_razones_sociales', '0|200|350', 'center|left|left', 'id_razon_social|rfc|razon_social', 1, 1, 1, 'AND id_razon_social > 0', 1, b'0', '', ''),
(38, 'Tipos de pago', 'ec_tipos_pago', 0, 'SELECT\r\nid_tipo_pago AS ID,\r\nnombre AS Nombre\r\nFROM ec_tipos_pago', '0|350', 'center|left', 'id_tipo_pago|nombre', 1, 1, 1, 'AND id_sucursal=$SUCURSAL', 1, b'0', '', ''),
(39, 'Bancos', 'ec_bancos', 0, 'SELECT id_banco AS ID, nombre AS Nombre FROM ec_bancos', '0|350', 'center|left', 'id_banco|nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(40, 'Monedas', 'ec_monedas', 0, 'SELECT id_moneda AS ID, nombre AS Nombre, cambio AS Cambio FROM ec_monedas', '0|300|100', 'center|left|right', 'id_moneda|nombre|cambio', 1, 1, 1, NULL, 1, b'0', '', ''),
(41, 'Facturas', 'ec_pedidos', 3, 'SELECT\r\np.id_pedido AS ID,\r\np.folio_factura AS Folio,\r\nc.nombre AS Cliente,\r\np.total AS Monto\r\nFROM ec_pedidos p\r\nJOIN ec_clientes c ON p.id_cliente = c.id_cliente', '0|120|350|150', 'center|center|left|right', 'p.id_pedido|p.folio_nv|c.nombre|p.total', 1, 0, 0, 'AND p.id_sucursal=$SUCURSAL AND p.id_pedido NOT IN(-1) AND facturado=1', 0, b'0', '', ''),
(42, 'Pendientes', 'ec_pendientes', 0, 'SELECT\r\nid_pendiente AS ID,\r\ndescripcion AS \'Descripción\',\r\nfecha AS Fecha\r\nFROM ec_pendientes', '0|300|100', 'center|left|center', 'id_pendiente|descripcion|fecha', 1, 1, 1, 'AND id_sucursal=$SUCURSAL', 1, b'0', '', ''),
(43, 'Prioridades', 'ec_prioridades', 0, 'SELECT id_prioridad AS ID, descripcion AS Nombre FROM ec_prioridades', '0|300', 'center|left', 'id_prioridad|descripcion', 1, 1, 1, NULL, 1, b'0', '', ''),
(44, 'Corte de caja', 'ec_corte_caja', 0, 'SELECT\r\nid_corte_caja AS ID,\r\nfecha AS Fecha,\r\nhora AS Hora,\r\nmonto_inicial AS \'Monto inicial\',\r\nmonto_final As \'Monto final\'\r\nFROM ec_corte_caja', '0|120|120|120|120', 'center|center|center|right|right', 'id_corte_caja|fecha|hora|monto_inicial|monto_final ', 1, 1, 1, 'AND id_sucursal=$SUCURSAL', 1, b'0', '', ''),
(45, 'Maquila', 'ec_maquila', 0, 'SELECT\r\nm.id_maquila AS ID,\r\nm.folio AS Folio,\r\nm.fecha AS Fecha,\r\np.nombre AS Producto,\r\nm.cantidad AS Cantidad\r\nFROM ec_maquila m\r\nJOIN ec_productos p ON m.id_producto = p.id_productos', '0|140|140|300|140', 'center|center|center|left|right', 'm.id_maquila|m.folio|m.fecha|p.nombre|m.cantidad', 1, 0, 1, 'AND m.id_sucursal=$SUCURSAL AND m.id_maquila > 0', 1, b'0', '', ''),
(46, 'Surtir pedidos', 'ec_pedidos', 4, 'SELECT\r\np.id_pedido AS ID,\r\nIF(p.folio_pedido IS NULL,p.folio_nv, p.folio_pedido) AS Folio,\r\np.fecha_alta AS Fecha,\r\nc.nombre AS Cliente,\r\ne.nombre AS Estado\r\nFROM ec_pedidos p\r\nJOIN ec_clientes c ON p.id_cliente = c.id_cliente\r\nJOIN ec_estatus_pedido e ON p.id_estatus = e.id_estatus', '0|120|180|300|150', 'center|center|center|left|left', 'p.id_pedido|IF(p.folio_pedido IS NULL,p.folio_nv, p.folio_pedido)|p.fecha_alta|c.nombre|e.nombre', 0, 1, 0, 'AND p.id_sucursal=$SUCURSAL AND p.id_pedido NOT IN(-1) AND p.id_estatus IN(2,6) AND folio_nv IS NULL', 0, b'0', '', ''),
(48, 'Acreedores', 'ec_acreedor', 0, 'SELECT\r\na.id_acreedor AS ID,\r\na.nombre AS Nombre,\r\ne.nombre AS Estado,\r\np.nombre AS \'País\'\r\nFROM ec_acreedor a\r\nJOIN sys_estados e ON a.id_estado = e.id_estado\r\nJOIN sys_paises p ON a.id_pais = p.id_pais', '0|400|200|200', 'center|left|left|left', 'a.id_acreedor|a.nombre|e.nombre|p.nombre', 1, 1, 1, 'AND id_sucursal=$SUCURSAL', 1, b'0', '', ''),
(49, 'Gastos inherentes de importación', 'ec_gastos_impuestos', 0, 'SELECT\r\nid_gasto_impuesto AS ID,\r\nnombre AS Nombre\r\nFROM ec_gastos_impuestos', '0|600', 'center|left', 'id_gasto_impuesto|nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(50, 'Transferencias', 'ec_transferencias', 0, 'SELECT\nt.id_transferencia AS ID,\ns.nombre AS \'Suc. origen\',\ns2.nombre AS \'Suc. destino\',\nCONCAT(t.fecha, \' \', t.hora) AS \'Fecha\',\ne.nombre AS \'Estatus\'\nFROM ec_transferencias t\nJOIN sys_sucursales s ON t.id_sucursal_origen = s.id_sucursal\nJOIN sys_sucursales s2 ON t.id_sucursal_destino = s2.id_sucursal\nJOIN ec_estatus_transferencia e ON t.id_estado = e.id_estatus', '0|250|250|100|200', 'center|left|left|center|left', 't.id_transferencia|s.nombre|s2.nombre|CONCAT(t.fecha, \' \', t.hora)|e.nombre', 1, 0, 1, 'AND t.id_transferencia > 0', 1, b'0', '', ''),
(51, 'Comparación de inventario', 'ec_comparacion_inv', 0, 'SELECT\r\nc.id_comparacion_inv AS ID,\r\nu.nombre AS \'Usuario\',\r\nCONCAT(c.fecha, \' \', c.hora) AS \'Fecha y Hora\'\r\nFROM ec_comparacion_inv c\r\nJOIN sys_users u ON c.id_usuario = u.id_usuario\r\n', '0|300|300', 'center|left|left', 'c.id_comparacion_inv|u.nombre|CONCAT(c.fecha, \' \', c.hora)', 1, 0, 1, NULL, 1, b'0', '', ''),
(52, 'Devolución', 'ec_devolucion', 0, 'SELECT c.id_devolucion AS ID, c.folio AS Folio, u.nombre AS \'Vendedor\', CONCAT(c.fecha, \' \', c.hora) AS \'Fecha\', p.folio_nv AS \'Nota de venta\' FROM ec_devolucion c JOIN sys_users u ON c.id_usuario = u.id_usuario JOIN ec_pedidos p ON c.id_pedido = p.id_pedido', '0|100|250|200|100', 'center|center|left|center|center', 'c.id_devolucion|c.folio|u.nombre|CONCAT(c.fecha, \' \', c.hora)|p.folio_nv', 1, 0, 1, 'AND c.id_sucursal=$SUCURSAL', 1, b'0', '', ''),
(53, 'Gastos', 'ec_gastos', 0, 'SELECT\nc.id_gastos,\ncg.nombre AS \'Concepto\',\nCONCAT(c.fecha, \' \', c.hora) AS \'Fecha y hora\',\nu.nombre AS \'Usuario\',\nc.monto AS Monto\nFROM ec_gastos c\nJOIN sys_users u ON c.id_usuario = u.id_usuario\nJOIN ec_conceptos_gastos cg ON c.id_concepto = cg.id_concepto\n', '0|300|300|200|100', 'center|left|left|left|left', 'c.id_gastos|cg.nombre|CONCAT(c.fecha, \' \', c.hora)|u.nombre|c.monto', 1, 0, 1, NULL, 1, b'0', '', ''),
(54, 'Conceptos gastos', 'ec_conceptos_gastos', 0, 'SELECT id_concepto AS id,nombre AS nombre FROM ec_conceptos_gastos', '0|500', 'center|center', 'id_concepto|nombre', 1, 1, 1, 'AND id_concepto > 1', 1, b'0', '', ''),
(55, 'Subtipos', 'ec_subtipos', 0, 'SELECT\r\nt.id_subtipos AS \'ID\',\r\nt.nombre AS \'Subtipo\',\r\nc.nombre AS \'Tipo\'\r\nFROM ec_subtipos t\r\nJOIN ec_subcategoria c ON t.id_tipo = c.id_subcategoria\r\n', '0|300|300', 'left|left|left', 'id_subtipos|nombre|id_tipo|', 1, 1, 1, NULL, 1, b'0', '', ''),
(56, 'Numero de luces', 'ec_numero_luces', 0, 'SELECT\nt.id_numero_luces AS \'ID\',\nt.nombre AS \'nombre\',\nc.nombre AS \'Categoria\'\nFROM ec_numero_luces t\nJOIN ec_categoria c ON t.id_categoria = c.id_categoria\n', '0|300|300', 'left|left|left', 'id_numero_luces|nombre|id_categoria|', 1, 1, 1, NULL, 1, b'0', '', ''),
(57, 'Colores', 'ec_colores', 0, 'SELECT\nt.id_colores AS \'ID\',\nt.nombre AS \'Color\',\nc.nombre AS \'categoria\'\nFROM ec_colores t\nJOIN ec_categoria c ON t.id_categoria = c.id_categoria', '0|300|300', 'left|center|center', 't.id_colores|t.nombre|c.id_categoria|', 1, 1, 1, NULL, 1, b'0', '', ''),
(58, 'Tamaños', 'ec_tamanos', 0, 'SELECT t.id_tamanos AS \'ID\',\nt.nombre AS \'Nombre\',\nc.nombre AS \'Categoria\'\nFROM ec_tamanos t\nJOIN ec_categoria c ON t.id_categoria = c.id_categoria', '0|300|300', 'left|center|center', 't.id_tamanos|t.nombre|c.id_categoria', 1, 1, 1, NULL, 1, b'0', '', ''),
(59, 'Tipos de precios', 'ec_tipo_precio', 0, 'SELECT\nid_tipo_precio AS \'ID\',\nnombre AS \'Tipo de precio\'\nFROM ec_tipo_precio', '0|300', 'left|left', 'id_tipo_precio|nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(60, 'Almacén', 'ec_almacen', 0, 'SELECT\r\nid_almacen AS \'ID\',\r\nnombre AS \'Almacén\',\r\nprioridad AS \'Prioridad\'\r\nFROM ec_almacen', '0|200|100', 'left|left|center', 'id_almacen|nombre|prioridad', 1, 1, 1, 'AND id_sucursal=$SUCURSAL', 1, b'0', '', ''),
(61, 'Devolución transferencia', 'ec_devolucion_transferencia', 0, 'SELECT\nid_devolucion_transferencia AS \'ID\',\nfolio AS \'Folio\',\nCONCAT(fecha,\' \',hora) AS \'Fecha y hora\'\nFROM ec_devolucion_transferencia\n', '0|200|300', 'left|center|center', 'id_devolucion_transferencia|folio|CONCAT(fecha,\' \',hora)', 1, 1, 1, NULL, 1, b'0', '', ''),
(62, 'Periodos', 'ec_periodos', 0, 'SELECT\nid_periodos AS \'ID\',\nnombre AS \'Pedido\'\nFROM ec_periodos', '0|300', 'center|center', 'id_periodos|nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(63, 'Estacionalidad', 'ec_estacionalidad', 0, 'SELECT \ne.id_estacionalidad AS \'ID\', \ne.nombre AS \'Estacionalidad\', \np.nombre AS \'Periodo\'\nFROM ec_estacionalidad e\nJOIN ec_periodos p ON e.id_periodo = p.id_periodos', '0|300|300', 'left|left|left', 'e.id_estacionalidad|e.nombre|p.nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(64, 'Empleados', 'ec_empleado', 0, 'SELECT\r\nid_empleado AS \'ID\',\r\nCONCAT(nombre,\' \',apellido_paterno,\' \',apellido_materno) AS \'Empleado\',\r\ntelefono AS \'Teléfono\'\r\nFROM ec_empleado\r\n\r\n', '0|300|200', 'center|left|center', 'id_empleado|CONCAT(nombre,\' \',apellido_paterno,\' \',apellido_materno)|telefono', 1, 1, 1, NULL, 1, b'0', '', ''),
(65, 'Lista de registro de nómina', 'ec_registro_nomina', 0, 'SELECT\nid_registro_nomina AS \'ID\',\nfecha AS \'Fecha\',\nhora_entrada AS \'Entrada\',\nhora_salida AS \'Saliada\'\nFROM ec_registro_nomina', '0|100|200|200', 'center|center|center|center', 'id_registro_nomina|fecha|hora_entrada|hora_salida', 1, 1, 1, NULL, 1, b'0', '', ''),
(66, 'Configuración de nóminas', 'ec_nomina_configuracion', 0, 'SELECT\r\nid_configuracion AS ID,\r\ntolerancia AS \'Min. de tolerancia\',\r\n(\r\n   CASE dia_corte\r\n      WHEN 1 THEN \'Lunes\'\r\n      WHEN 2 THEN \'Martes\'\r\n      WHEN 3 THEN \'Miércoles\'\r\n      WHEN 4 THEN \'Jueves\'\r\n      WHEN 5 THEN \'Viernes\'\r\n      WHEN 6 THEN \'Sábado\'\r\n      WHEN 7 THEN \'Domingo\'\r\n   END\r\n) AS \'Día de corte\'\r\nFROM ec_nomina_configuracion', '0|300|300', 'center|center|left', 'id_configuracion|tolerancia|(CASE dia_corte WHEN 1 THEN \'Lunes\'       WHEN 2 THEN \'Martes\'       WHEN 3 THEN \'Miércoles\'       WHEN 4 THEN \'Jueves\'       WHEN 5 THEN \'Viernes\'       WHEN 6 THEN \'Sábado\'       WHEN 7 THEN \'Domingo\'    END)', 1, 1, 0, 'AND id_sucursal=$SUCURSAL', 1, b'0', '', ''),
(67, 'Autorizaciones regalos', 'ec_autorizacion', 0, 'SELECT\r\nid_autorizacion AS ID,\r\nfecha AS Fecha,\r\nhora AS Hora,\r\nIF(autorizado=1, \'SI\', \'NO\') AS Autorizado\r\nFROM ec_autorizacion', '0|150|150|150', 'center|center|center|center', 'id_autorizacion|fecha|hora|IF(autorizado=1, \'SI\', \'NO\')', 1, 1, 0, NULL, 0, b'0', '', ''),
(68, 'Conceptos de ordenes de compra', 'ec_conceptos_oc', 0, 'SELECT id_concepto_oc,nombre AS Nombre FROM ec_conceptos_oc ', '0|300', 'center|center', 'id_concepto_oc|nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(69, 'Salida de transferencias', 'ec_transferencias', 1, 'SELECT\r\nt.id_transferencia AS ID,\r\nt.folio AS Folio,\r\nCONCAT(t.fecha, \' \', t.hora) AS Fecha,\r\ns.nombre AS \'Sucursal origen\',\r\na.nombre AS \'Almacén origen\',\r\ns2.nombre AS \'Sucursal destino\',\r\na2.nombre AS \'Almacén destino\'\r\nFROM ec_transferencias t\r\nJOIN sys_sucursales s ON t.id_sucursal_origen = s.id_sucursal\r\nJOIN sys_sucursales s2 ON t.id_sucursal_destino = s2.id_sucursal\r\nJOIN ec_almacen a ON t.id_almacen_origen = a.id_almacen\r\nJOIN ec_almacen a2 ON t.id_almacen_destino = a2.id_almacen', '0|100|100|150|150|150|150', 'center|center|center|left|left|left|left', 't.id_transferencia|t.folio|CONCAT(t.fecha, \' \', t.hora)|s.nombre|a.nombre|s2.nombre|a2.nombre', 0, 0, 0, 'AND t.id_transferencia > 0\r\nAND t.id_sucursal_origen=$SUCURSAL\r\nAND t.id_estado=2', 0, b'0', '', ''),
(70, 'Recepción de transferencias', 'ec_transferencias', 2, 'SELECT\r\nt.id_transferencia AS ID,\r\nt.folio AS Folio,\r\nCONCAT(t.fecha, \' \', t.hora) AS Fecha,\r\ns.nombre AS \'Sucursal origen\',\r\na.nombre AS \'Almacén origen\',\r\ns2.nombre AS \'Sucursal destino\',\r\na2.nombre AS \'Almacén destino\'\r\nFROM ec_transferencias t\r\nJOIN sys_sucursales s ON t.id_sucursal_origen = s.id_sucursal\r\nJOIN sys_sucursales s2 ON t.id_sucursal_destino = s2.id_sucursal\r\nJOIN ec_almacen a ON t.id_almacen_origen = a.id_almacen\r\nJOIN ec_almacen a2 ON t.id_almacen_destino = a2.id_almacen', '0|100|100|150|150|150|150', 'center|center|center|left|left|left|left', 't.id_transferencia|t.folio|CONCAT(t.fecha, \' \', t.hora)|s.nombre|a.nombre|s2.nombre|a2.nombre', 0, 0, 0, 'AND t.id_transferencia > 0\r\nAND t.id_sucursal_destino=$SUCURSAL\r\nAND t.id_estado=3', 0, b'0', '', ''),
(71, 'Verificación de transferencias', 'ec_transferencias', 3, 'SELECT\r\nt.id_transferencia AS ID,\r\nt.folio AS Folio,\r\nCONCAT(t.fecha, \' \', t.hora) AS Fecha,\r\ns.nombre AS \'Sucursal origen\',\r\na.nombre AS \'Almacén origen\',\r\ns2.nombre AS \'Sucursal destino\',\r\na2.nombre AS \'Almacén destino\'\r\nFROM ec_transferencias t\r\nJOIN sys_sucursales s ON t.id_sucursal_origen = s.id_sucursal\r\nJOIN sys_sucursales s2 ON t.id_sucursal_destino = s2.id_sucursal\r\nJOIN ec_almacen a ON t.id_almacen_origen = a.id_almacen\r\nJOIN ec_almacen a2 ON t.id_almacen_destino = a2.id_almacen', '0|100|100|150|150|150|150', 'center|center|center|left|left|left|left', 't.id_transferencia|t.folio|CONCAT(t.fecha, \' \', t.hora)|s.nombre|a.nombre|s2.nombre|a2.nombre', 0, 0, 0, 'AND t.id_transferencia > 0\r\nAND t.id_sucursal_destino=$SUCURSAL\r\nAND t.id_estado=3', 0, b'0', '', ''),
(72, 'Resolución de transferencias', 'ec_transferencias', 4, 'SELECT\r\nt.id_transferencia AS ID,\r\nt.folio AS Folio,\r\nCONCAT(t.fecha, \' \', t.hora) AS Fecha,\r\ns.nombre AS \'Sucursal origen\',\r\na.nombre AS \'Almacén origen\',\r\ns2.nombre AS \'Sucursal destino\',\r\na2.nombre AS \'Almacén destino\'\r\nFROM ec_transferencias t\r\nJOIN sys_sucursales s ON t.id_sucursal_origen = s.id_sucursal\r\nJOIN sys_sucursales s2 ON t.id_sucursal_destino = s2.id_sucursal\r\nJOIN ec_almacen a ON t.id_almacen_origen = a.id_almacen\r\nJOIN ec_almacen a2 ON t.id_almacen_destino = a2.id_almacen', '0|100|100|150|150|150|150', 'center|center|center|left|left|left|left', 't.id_transferencia|t.folio|CONCAT(t.fecha, \' \', t.hora)|s.nombre|a.nombre|s2.nombre|a2.nombre', 0, 0, 0, 'AND t.id_transferencia > 0\r\nAND t.id_sucursal_destino=$SUCURSAL\r\nAND t.id_estado=4', 0, b'0', '', ''),
(73, 'Razón social', 'ec_conf_rs', 0, 'SELECT id_rs,rfc AS RFC,razon_social AS \'Razón Social\' FROM ec_conf_rs', '0|120|350', 'center|center|left', 'id_rs|rfc|razon_social', 1, 1, 1, NULL, 1, b'0', '', ''),
(74, 'Configuración de IVA', 'ec_conf_iva', 0, 'SELECT\r\nid_conf_iva,\r\nCONCAT(porcentaje,\'%\') AS Porcentaje\r\nFROM ec_conf_iva', '0|350', 'center|center', 'id_conf_iva|porcentaje', 1, 1, 0, NULL, 0, b'0', '', ''),
(75, 'Control de inventario', 'ec_movimiento_inventario', 0, 'SELECT\r\nmi.id_movimiento_inventario AS ID,\r\ntm.nombre AS Tipo,\r\nmi.folio AS Folio,\r\nmi.fecha AS Fecha,\r\nmi.hora AS Hora\r\nFROM ec_movimiento_inventario mi\r\nJOIN ec_tipos_movimiento tm ON mi.id_tipo_movimiento = tm.id_movimiento', '0|150|150|150|150', 'center|center|center|center|center', 'mi.id_movimiento_inventario|tm.nombre|mi.folio|mi.fecha|mi.hora', 1, 1, 1, NULL, 1, b'0', '', ''),
(76, ' Notas de ventas', 'ec_ventas', 0, 'SELECT \r\nid_venta AS ID,\r\nfolio AS Folio,\r\nc.nombre AS Nombre,\r\nCONCAT(\'$\',FORMAT(total,2)) AS Total,\r\nfecha AS Fecha,\r\nhora AS Hora,\r\nfolio_fiscal AS \'Folio fiscal\',\r\nIF(v.cancelado=1,\'SI\',\'NO\') AS Cancelado\r\nFROM ec_ventas v\r\nJOIN ec_clientes c ON v.id_cliente =c.id_cliente ', '0|80|200|100|80|80|200|100', 'center|center|center|center|center|center|center|center', 'id_venta|folio|c.nombre|total|fecha|hora|folio_fiscal|IF(v.cancelado=1,\'SI\',\'NO\')', 1, 1, 1, NULL, 0, b'0', '', ''),
(77, 'Emisor fiscal', 'ec_emisor', 0, 'SELECT\r\nid_emisor AS ID,\r\nrazon_social AS \'Razón social\',\r\nrfc AS RFC\r\nFROM ec_emisor', '0|300|200', 'center|left|left', 'id_emisor|razon_social|rfc', 1, 1, 0, NULL, 0, b'0', '', ''),
(78, 'Métodos de pago', 'ec_forma_pago', 0, 'SELECT\r\nid_forma_pago,\r\nnombre\r\nFROM ec_forma_pago', '0|350', 'center|left', 'id_forma_pago|nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(79, 'Formas de pago', 'ec_metodos_pago', 0, 'SELECT\r\nid_metodo_pago,\r\nnombre\r\nFROM ec_metodos_pago', '0|350', 'center|left', 'id_metodo_pago|nombre', 1, 1, 1, NULL, 1, b'0', '', ''),
(80, 'Configuracion de CFDI', 'ec_cfdi', 0, 'SELECT \r\nid as Id,\r\nclave,\r\nnombre,\r\norden \r\nFROM ec_cfdi', '100|100|150|50', 'center|center|left|center', 'id|clave|nombre|orden', 1, 1, 1, '', 1, b'0', '', ''),
(81, 'Listado de Afiliaciones', 'ec_razon_afiliaciones', 0, 'SELECT \r\nid_afiliacion,\r\nno_afiliacion,\r\nfecha_alta,\r\nIF(activo=0,\'desactivado\',\'activado\') as Status\r\nFROM ec_razon_afiliaciones\r\n', '0|120|150|100', 'center|center|center|center', 'id_afiliacion|no_afiliacion|fecha_alta|IF(activo=0,\'desactivado\',\'activado\')', 1, 1, 1, NULL, 1, b'0', '', ''),
(82, 'Correos de notificaciones', 'sys_correos_avisos', 0, 'SELECT\r\nid_correo_aviso as Id,\r\nnombre as Nombre,\r\ndireccion as Direccion,\r\nIF(activo=1,\'Activado\',\'Desactivado\') as Estado,\r\nobservaciones as Osbervaciones\r\nFROM sys_correos_avisos', '0|200|200|70|100', 'center|left|left|center|left', 'id_correo_aviso|nombre|direccion|Direccion|\r\nIF(activo=1,\'Activado\',\'Desactivado\')', 1, 1, 1, NULL, 1, b'0', '', ''),
(83, '4.10 Configuración del sistema', 'ec_configuracion_razon', 0, 'SELECT \r\nid_config as Id,\r\nobservaciones as Nombre\r\nFROM ec_configuracion_razon', '0|500', 'center|center', 'id_config|observaciones', 1, 1, 0, NULL, 1, b'0', '', ''),
(84, '4.14 Catálogo de Tipos de Regimen Fiscal', 'ec_tipos_regimenes_fiscales', 0, 'SELECT\r\nid_tipo_regimen_fiscal AS ID,\r\nclave_numerica AS Clave,\r\nnombre_tipo_regimen_fiscal AS Descripción,\r\nIF( habilitado = \'1\', \'Habilitado\', \'Deshabilitado\') AS Status\r\nFROM ec_tipos_regimenes_fiscales', '0|100|200|100', 'center|center|left|center', 'id_tipo_regimen_fiscal|clave_numerica|nombre_tipo_regimen_fiscal|IF( habilitado = \'1\', \'Habilitado\', \'Deshabilitado\')', 1, 1, 1, NULL, 1, b'0', '', ''),
(85, '4.15 Catálogo de motivos de cancelación', 'ec_motivos_cancelacion_factura', 0, 'SELECT\r\nid_motivo,\r\nclave_motivo_sat,\r\ndescripcion\r\nFROM ec_motivos_cancelacion_factura', '0|100|300', 'center|center|left', 'id_motivo|clave_motivo_sat|descripcion', 1, 1, 1, NULL, 1, b'1', 'descripcion', '');

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_menus`
--

CREATE TABLE `sys_menus` (
  `id_menu` int(11) NOT NULL,
  `nombre` varchar(45) COLLATE utf8_unicode_ci NOT NULL,
  `es_listado` tinyint(1) UNSIGNED DEFAULT '1',
  `tabla_relacionada` varchar(120) CHARACTER SET latin1 DEFAULT NULL,
  `liga` varchar(200) CHARACTER SET latin1 DEFAULT NULL,
  `menu_padre` int(11) UNSIGNED NOT NULL,
  `en_permisos` tinyint(1) UNSIGNED NOT NULL DEFAULT '1',
  `icono` varchar(120) CHARACTER SET latin1 DEFAULT NULL,
  `orden` int(11) UNSIGNED NOT NULL,
  `no_tabla` int(2) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Volcado de datos para la tabla `sys_menus`
--

INSERT INTO `sys_menus` (`id_menu`, `nombre`, `es_listado`, `tabla_relacionada`, `liga`, `menu_padre`, `en_permisos`, `icono`, `orden`, `no_tabla`) VALUES
(1, '4. Configuración', 0, '-', '-', 1, 1, 'img/configuracion.png', 10, 0),
(2, '2. Compras', 0, '-', '-', 2, 1, 'img/compras.png', 2, 0),
(3, '3. Almacén', 1, '-', '-', 3, 1, 'img/almacen.png', 2, 0),
(4, '1. Ventas', 1, '-', '-', 4, 1, 'img/ventas.png', 1, 0),
(5, 'Finanzas', 0, '-', '-', 5, 1, 'img/finanzas.png', 5, 0),
(11, '4.5 Usuarios', 1, 'sys_users', '-', 1, 1, NULL, 5, 0),
(12, '4.4 Sucursales', 1, 'sys_sucursales', '-', 1, 1, NULL, 4, 0),
(19, '2.2 Proveedores', 1, 'ec_proveedor', '-', 2, 1, NULL, 2, 0),
(23, '4.2 Productos', 1, 'ec_productos', '-', 1, 1, NULL, 2, 0),
(25, '2.1 Órdenes de compras ', 1, 'ec_oc', '-', 2, 1, NULL, 1, 0),
(41, '1.1 Clientes', 1, 'ec_clientes', '-', 4, 1, NULL, 1, 0),
(110, '4.1 Configuración de IVA', 1, 'ec_conf_iva', NULL, 1, 1, NULL, 1, 0),
(111, '3.1 Control de inventario', 1, 'ec_movimiento_inventario', NULL, 3, 1, NULL, 2, 0),
(112, '1.2 Notas de Ventas', 1, 'ec_ventas', NULL, 4, 1, NULL, 2, 0),
(113, '1.5 Importación Anterior', 0, NULL, 'code/especiales/Ventas/ventas.php?trash=', 4, 1, NULL, 5, 0),
(114, '4.3 Emisor fiscal', 1, 'ec_emisor', '-', 1, 1, NULL, 3, 0),
(115, '5. Reportes', 0, NULL, NULL, 115, 1, 'img/reportes.png', 60, 0),
(116, '5.1 Reporte de inventario', 0, NULL, 'code/reportes/reportes_mod.php?trash=&no_tabla=MA==&id_reporte=20', 115, 1, NULL, 1, 0),
(117, '4.6 Métodos de pago', 1, 'ec_forma_pago', '-', 1, 1, NULL, 6, 0),
(118, '4.7 Formas de pago', 1, 'ec_metodos_pago', '-', 1, 1, NULL, 7, 0),
(119, 'Configuracion de CFDI', 1, 'ec_cfdi', NULL, 1, 1, NULL, 8, 0),
(120, '1.3 Convertir archivo de Inbursa', 0, NULL, 'code/especiales/importa-exporta/prueba.php?', 4, 1, NULL, 3, 0),
(121, '5.2 Reporte de Notas de Venta', 0, NULL, 'code/reportes/reportes_mod.php?trash=&no_tabla=MA==&id_reporte=1', 115, 1, NULL, 2, 0),
(122, '4.8 Afiliaciones de Razon Social', 1, 'ec_razon_afiliaciones', NULL, 1, 1, NULL, 8, 0),
(123, '4.9 Configuración de Correos de Avisos', 1, 'sys_correos_avisos', NULL, 1, 1, NULL, 11, 0),
(124, '1.4 Captura de Ingresos', 0, NULL, 'code/especiales/capturaIngresos/inicio.php?', 4, 1, NULL, 4, 0),
(125, '5.3 Reporte de Inventario con Buscador', 0, NULL, 'code/especiales/inventario/inventario.php?', 115, 1, NULL, 3, 0),
(126, '4.10 configuración del Sistema', 1, 'ec_configuracion_razon', NULL, 1, 1, NULL, 12, 0),
(127, '3.2 Igualar Inventarios Negativos a Cero ', 0, NULL, 'code/especiales/inventario_a_ceros/inventario.php?', 3, 1, NULL, 2, 0),
(128, '4.13 Administración Productos', 0, NULL, 'gestionCL/facturacionProductos/index.php?a=a', 1, 1, NULL, 13, 0),
(129, '5.4 Reporte de inventario Facturación', 0, NULL, 'code/reportes/reportes_mod.php?trash=&no_tabla=MA==&id_reporte=30', 115, 1, NULL, 4, 0),
(130, '5.4 Reporte de Órdenes de Compra', 0, NULL, 'code/reportes/reportes_mod.php?trash=&no_tabla=MA==&id_reporte=21', 115, 1, NULL, 4, 0),
(131, '4.14 Catálogo de Tipos de Regimen Fiscal', 1, 'ec_tipos_regimenes_fiscales', NULL, 1, 1, NULL, 14, 0),
(132, '6. Herramientas', 0, NULL, NULL, 132, 1, NULL, 70, 0),
(133, '6.1 Consultas Prediseñadas', 0, NULL, 'code/especiales/herramientas/index.php?', 132, 1, NULL, 1, 0),
(134, '4.15 Catálogo de motivos de cancelación', 1, 'ec_motivos_cancelacion_factura', NULL, 1, 1, NULL, 15, 0);

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_paises`
--

CREATE TABLE `sys_paises` (
  `id_pais` int(11) NOT NULL,
  `nombre` varchar(40) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Volcado de datos para la tabla `sys_paises`
--

INSERT INTO `sys_paises` (`id_pais`, `nombre`) VALUES
(1, 'México'),
(2, 'Alemania');

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_permisos`
--

CREATE TABLE `sys_permisos` (
  `id_permiso` int(11) NOT NULL,
  `id_usuario` int(11) NOT NULL,
  `id_menu` int(11) NOT NULL,
  `ver` tinyint(1) DEFAULT '0',
  `modificar` tinyint(1) DEFAULT '0',
  `eliminar` tinyint(1) DEFAULT '0',
  `nuevo` tinyint(1) DEFAULT '0',
  `imprimir` tinyint(1) DEFAULT '0',
  `generar` tinyint(1) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Volcado de datos para la tabla `sys_permisos`
--

INSERT INTO `sys_permisos` (`id_permiso`, `id_usuario`, `id_menu`, `ver`, `modificar`, `eliminar`, `nuevo`, `imprimir`, `generar`) VALUES
(1, 1, 11, 1, 1, 1, 1, 1, 1),
(2, 1, 12, 1, 1, 1, 1, 1, 1),
(9, 1, 19, 1, 1, 1, 1, 1, 1),
(13, 1, 23, 1, 1, 1, 1, 1, 1),
(31, 1, 41, 1, 1, 1, 1, 1, 1),
(56, 2, 11, 1, 1, 1, 1, 1, 1),
(57, 2, 12, 1, 1, 1, 1, 1, 1),
(58, 2, 13, 1, 1, 1, 1, 1, 1),
(59, 2, 14, 1, 1, 1, 1, 1, 1),
(60, 2, 15, 1, 1, 1, 1, 1, 1),
(397, 6, 11, 1, 1, 1, 1, 1, 1),
(398, 6, 12, 1, 1, 1, 1, 1, 1),
(399, 6, 13, 1, 1, 1, 1, 1, 1),
(400, 6, 14, 1, 1, 1, 1, 1, 1),
(401, 6, 15, 1, 1, 1, 1, 1, 1),
(481, 2, 16, 1, 1, 1, 1, 1, 1),
(482, 2, 17, 1, 1, 1, 1, 1, 1),
(483, 2, 18, 1, 1, 1, 1, 1, 1),
(484, 2, 19, 1, 1, 1, 1, 1, 1),
(485, 2, 20, 1, 1, 1, 1, 1, 1),
(486, 2, 21, 1, 1, 1, 1, 1, 1),
(487, 2, 22, 1, 1, 1, 1, 1, 1),
(488, 2, 23, 1, 1, 1, 1, 1, 1),
(489, 2, 24, 1, 1, 1, 1, 1, 1),
(490, 2, 25, 1, 1, 1, 1, 1, 1),
(491, 2, 26, 1, 1, 1, 1, 1, 1),
(492, 2, 27, 1, 1, 1, 1, 1, 1),
(493, 2, 28, 1, 1, 1, 1, 1, 1),
(494, 2, 29, 1, 1, 1, 1, 1, 1),
(495, 2, 30, 1, 1, 1, 1, 1, 1),
(496, 2, 31, 1, 1, 1, 1, 1, 1),
(497, 2, 32, 1, 1, 1, 1, 1, 1),
(498, 2, 33, 1, 1, 1, 1, 1, 1),
(499, 2, 34, 1, 1, 1, 1, 1, 1),
(500, 2, 35, 1, 1, 1, 1, 1, 1),
(501, 2, 36, 1, 1, 1, 1, 1, 1),
(502, 2, 37, 1, 1, 1, 1, 1, 1),
(503, 2, 38, 1, 1, 1, 1, 1, 1),
(504, 2, 39, 1, 1, 1, 1, 1, 1),
(505, 2, 40, 1, 1, 1, 1, 1, 1),
(506, 2, 41, 1, 1, 1, 1, 1, 1),
(507, 2, 42, 1, 1, 1, 1, 1, 1),
(508, 2, 43, 1, 1, 1, 1, 1, 1),
(509, 2, 46, 1, 1, 1, 1, 1, 1),
(510, 2, 47, 1, 1, 1, 1, 1, 1),
(511, 2, 48, 1, 1, 1, 1, 1, 1),
(512, 2, 49, 1, 1, 1, 1, 1, 1),
(513, 2, 50, 1, 1, 1, 1, 1, 1),
(514, 2, 52, 1, 1, 1, 1, 1, 1),
(515, 2, 53, 1, 1, 1, 1, 1, 1),
(516, 2, 54, 1, 1, 1, 1, 1, 1),
(517, 2, 55, 1, 1, 1, 1, 1, 1),
(518, 2, 56, 1, 1, 1, 1, 1, 1),
(519, 2, 57, 1, 1, 1, 1, 1, 1),
(520, 2, 60, 1, 1, 1, 1, 1, 1),
(521, 2, 61, 1, 1, 1, 1, 1, 1),
(522, 2, 66, 1, 1, 1, 1, 1, 1),
(523, 2, 67, 1, 1, 1, 1, 1, 1),
(524, 2, 68, 1, 1, 1, 1, 1, 1),
(525, 2, 69, 1, 1, 1, 1, 1, 1),
(526, 2, 70, 1, 1, 1, 1, 1, 1),
(527, 2, 71, 1, 1, 1, 1, 1, 1),
(528, 2, 72, 1, 1, 1, 1, 1, 1),
(529, 2, 73, 1, 1, 1, 1, 1, 1),
(530, 2, 74, 1, 1, 1, 1, 1, 1),
(531, 2, 75, 1, 1, 1, 1, 1, 1),
(532, 2, 76, 1, 1, 1, 1, 1, 1),
(533, 2, 77, 1, 1, 1, 1, 1, 1),
(534, 2, 78, 1, 1, 1, 1, 1, 1),
(535, 2, 79, 1, 1, 1, 1, 1, 1),
(536, 2, 80, 1, 1, 1, 1, 1, 1),
(537, 2, 81, 1, 1, 1, 1, 1, 1),
(538, 2, 83, 1, 1, 1, 1, 1, 1),
(539, 2, 84, 1, 1, 1, 1, 1, 1),
(540, 2, 85, 1, 1, 1, 1, 1, 1),
(541, 2, 86, 1, 1, 1, 1, 1, 1),
(542, 2, 87, 1, 1, 1, 1, 1, 1),
(543, 2, 88, 1, 1, 1, 1, 1, 1),
(544, 2, 89, 1, 1, 1, 1, 1, 1),
(545, 2, 90, 1, 1, 1, 1, 1, 1),
(546, 2, 91, 1, 1, 1, 1, 1, 1),
(547, 2, 93, 1, 1, 1, 1, 1, 1),
(548, 2, 94, 1, 1, 1, 1, 1, 1),
(549, 6, 16, 1, 1, 1, 1, 1, 1),
(550, 6, 17, 1, 1, 1, 1, 1, 1),
(551, 6, 18, 1, 1, 1, 1, 1, 1),
(552, 6, 19, 1, 1, 1, 1, 1, 1),
(553, 6, 20, 1, 1, 1, 1, 1, 1),
(554, 6, 21, 1, 1, 1, 1, 1, 1),
(555, 6, 22, 1, 1, 1, 1, 1, 1),
(556, 6, 23, 1, 1, 1, 1, 1, 1),
(557, 6, 24, 1, 1, 1, 1, 1, 1),
(558, 6, 25, 1, 1, 1, 1, 1, 1),
(559, 6, 26, 1, 1, 1, 1, 1, 1),
(560, 6, 27, 1, 1, 1, 1, 1, 1),
(561, 6, 28, 1, 1, 1, 1, 1, 1),
(562, 6, 29, 1, 1, 1, 1, 1, 1),
(563, 6, 30, 1, 1, 1, 1, 1, 1),
(564, 6, 31, 1, 1, 1, 1, 1, 1),
(565, 6, 32, 1, 1, 1, 1, 1, 1),
(566, 6, 33, 1, 1, 1, 1, 1, 1),
(567, 6, 34, 1, 1, 1, 1, 1, 1),
(568, 6, 35, 1, 1, 1, 1, 1, 1),
(569, 6, 36, 1, 1, 1, 1, 1, 1),
(570, 6, 37, 1, 1, 1, 1, 1, 1),
(571, 6, 38, 1, 1, 1, 1, 1, 1),
(572, 6, 39, 1, 1, 1, 1, 1, 1),
(573, 6, 40, 1, 1, 1, 1, 1, 1),
(574, 6, 41, 1, 1, 1, 1, 1, 1),
(575, 6, 42, 1, 1, 1, 1, 1, 1),
(576, 6, 43, 1, 1, 1, 1, 1, 1),
(577, 6, 46, 1, 1, 1, 1, 1, 1),
(578, 6, 47, 1, 1, 1, 1, 1, 1),
(579, 6, 48, 1, 1, 1, 1, 1, 1),
(580, 6, 49, 1, 1, 1, 1, 1, 1),
(581, 6, 50, 1, 1, 1, 1, 1, 1),
(582, 6, 52, 1, 1, 1, 1, 1, 1),
(583, 6, 53, 1, 1, 1, 1, 1, 1),
(584, 6, 54, 1, 1, 1, 1, 1, 1),
(585, 6, 55, 1, 1, 1, 1, 1, 1),
(586, 6, 56, 1, 1, 1, 1, 1, 1),
(587, 6, 57, 1, 1, 1, 1, 1, 1),
(588, 6, 60, 1, 1, 1, 1, 1, 1),
(589, 6, 61, 1, 1, 1, 1, 1, 1),
(590, 6, 66, 1, 1, 1, 1, 1, 1),
(591, 6, 67, 1, 1, 1, 1, 1, 1),
(592, 6, 68, 1, 1, 1, 1, 1, 1),
(593, 6, 69, 1, 1, 1, 1, 1, 1),
(594, 6, 70, 1, 1, 1, 1, 1, 1),
(595, 6, 71, 1, 1, 1, 1, 1, 1),
(596, 6, 72, 1, 1, 1, 1, 1, 1),
(597, 6, 73, 1, 1, 1, 1, 1, 1),
(598, 6, 74, 1, 1, 1, 1, 1, 1),
(599, 6, 75, 1, 1, 1, 1, 1, 1),
(600, 6, 76, 1, 1, 1, 1, 1, 1),
(601, 6, 77, 1, 1, 1, 1, 1, 1),
(602, 6, 78, 1, 1, 1, 1, 1, 1),
(603, 6, 79, 1, 1, 1, 1, 1, 1),
(604, 6, 80, 1, 1, 1, 1, 1, 1),
(605, 6, 81, 1, 1, 1, 1, 1, 1),
(606, 6, 83, 1, 1, 1, 1, 1, 1),
(607, 6, 84, 1, 1, 1, 1, 1, 1),
(608, 6, 85, 1, 1, 1, 1, 1, 1),
(609, 6, 86, 1, 1, 1, 1, 1, 1),
(610, 6, 87, 1, 1, 1, 1, 1, 1),
(611, 6, 88, 1, 1, 1, 1, 1, 1),
(612, 6, 89, 1, 1, 1, 1, 1, 1),
(613, 6, 90, 1, 1, 1, 1, 1, 1),
(614, 6, 91, 1, 1, 1, 1, 1, 1),
(615, 6, 93, 1, 1, 1, 1, 1, 1),
(616, 6, 94, 1, 1, 1, 1, 1, 1),
(620, 2, 95, 1, 1, 1, 1, 1, 1),
(621, 2, 96, 1, 1, 1, 1, 1, 1),
(622, 2, 97, 1, 1, 1, 1, 1, 1),
(623, 2, 98, 1, 1, 1, 1, 1, 1),
(624, 6, 95, 1, 1, 1, 1, 1, 1),
(625, 6, 96, 1, 1, 1, 1, 1, 1),
(626, 6, 97, 1, 1, 1, 1, 1, 1),
(627, 6, 98, 1, 1, 1, 1, 1, 1),
(631, 7, 11, 0, 0, 0, 0, 0, 0),
(632, 7, 12, 0, 0, 0, 0, 0, 0),
(635, 7, 19, 1, 1, 1, 1, 1, 1),
(639, 7, 23, 1, 1, 1, 1, 1, 1),
(641, 7, 25, 1, 1, 1, 1, 1, 1),
(648, 7, 41, 1, 1, 1, 1, 1, 1),
(682, 8, 11, 1, 1, 1, 1, 1, 1),
(683, 8, 12, 1, 1, 1, 1, 1, 1),
(686, 8, 19, 1, 1, 1, 1, 1, 1),
(732, 9, 11, 1, 1, 1, 1, 1, 1),
(733, 9, 12, 1, 1, 1, 1, 1, 1),
(734, 9, 14, 1, 1, 1, 1, 1, 1),
(735, 9, 15, 1, 1, 1, 1, 1, 1),
(736, 9, 19, 1, 1, 1, 1, 1, 1),
(737, 9, 20, 1, 1, 1, 1, 1, 1),
(738, 9, 21, 1, 1, 1, 1, 1, 1),
(739, 9, 22, 1, 1, 1, 1, 1, 1),
(740, 9, 23, 1, 1, 1, 1, 1, 1),
(741, 9, 24, 1, 1, 1, 1, 1, 1),
(742, 9, 25, 1, 1, 1, 1, 1, 1),
(743, 9, 26, 1, 1, 1, 1, 1, 1),
(744, 9, 27, 1, 1, 1, 1, 1, 1),
(745, 9, 28, 1, 1, 1, 1, 1, 1),
(746, 9, 29, 0, 0, 0, 0, 0, 0),
(747, 9, 32, 0, 0, 0, 0, 0, 0),
(748, 9, 36, 0, 0, 0, 0, 0, 0),
(749, 9, 41, 0, 0, 0, 0, 0, 0),
(750, 9, 42, 0, 0, 0, 0, 0, 0),
(751, 9, 43, 1, 1, 1, 1, 1, 1),
(752, 9, 50, 1, 1, 1, 1, 1, 1),
(753, 9, 57, 0, 0, 0, 0, 0, 0),
(754, 9, 65, 0, 0, 0, 0, 0, 0),
(755, 9, 66, 0, 0, 0, 0, 0, 0),
(756, 9, 67, 0, 0, 0, 0, 0, 0),
(757, 9, 68, 0, 0, 0, 0, 0, 0),
(758, 9, 69, 0, 0, 0, 0, 0, 0),
(759, 9, 70, 0, 0, 0, 0, 0, 0),
(760, 9, 71, 0, 0, 0, 0, 0, 0),
(761, 9, 72, 0, 0, 0, 0, 0, 0),
(762, 9, 73, 0, 0, 0, 0, 0, 0),
(763, 9, 74, 0, 0, 0, 0, 0, 0),
(764, 9, 77, 0, 0, 0, 0, 0, 0),
(765, 9, 81, 0, 0, 0, 0, 0, 0),
(766, 9, 83, 0, 0, 0, 0, 0, 0),
(767, 9, 84, 0, 0, 0, 0, 0, 0),
(768, 9, 85, 0, 0, 0, 0, 0, 0),
(769, 9, 86, 0, 0, 0, 0, 0, 0),
(770, 9, 87, 0, 0, 0, 0, 0, 0),
(771, 9, 88, 0, 0, 0, 0, 0, 0),
(772, 9, 89, 0, 0, 0, 0, 0, 0),
(773, 9, 90, 0, 0, 0, 0, 0, 0),
(774, 9, 91, 0, 0, 0, 0, 0, 0),
(775, 9, 93, 0, 0, 0, 0, 0, 0),
(776, 9, 94, 0, 0, 0, 0, 0, 0),
(777, 9, 95, 0, 0, 0, 0, 0, 0),
(778, 9, 96, 0, 0, 0, 0, 0, 0),
(779, 9, 97, 0, 0, 0, 0, 0, 0),
(780, 9, 98, 0, 0, 0, 0, 0, 0),
(781, 9, 99, 1, 1, 1, 1, 1, 1),
(787, 8, 23, 1, 1, 1, 1, 1, 1),
(789, 8, 25, 1, 1, 1, 1, 1, 1),
(796, 8, 41, 1, 1, 1, 1, 1, 1),
(839, 1, 25, 1, 1, 1, 1, 1, 1),
(840, 10, 11, 1, 1, 1, 1, 1, 1),
(841, 10, 12, 1, 1, 1, 1, 1, 1),
(842, 10, 19, 1, 1, 1, 1, 1, 1),
(843, 10, 23, 1, 1, 1, 1, 1, 1),
(844, 10, 25, 1, 1, 1, 1, 1, 1),
(845, 10, 41, 1, 1, 1, 1, 1, 1),
(846, 10, 66, 1, 1, 1, 1, 1, 1),
(847, 10, 67, 1, 1, 1, 1, 1, 1),
(848, 10, 68, 1, 1, 1, 1, 1, 1),
(849, 10, 69, 1, 1, 1, 1, 1, 1),
(850, 10, 70, 1, 1, 1, 1, 1, 1),
(851, 10, 71, 1, 1, 1, 1, 1, 1),
(852, 10, 72, 1, 1, 1, 1, 1, 1),
(853, 10, 73, 1, 1, 1, 1, 1, 1),
(854, 10, 74, 1, 1, 1, 1, 1, 1),
(855, 10, 95, 1, 1, 1, 1, 1, 1),
(856, 10, 96, 1, 1, 1, 1, 1, 1),
(857, 10, 97, 1, 1, 1, 1, 1, 1),
(858, 10, 98, 1, 1, 1, 1, 1, 1),
(859, 10, 101, 1, 1, 1, 1, 1, 1),
(860, 10, 107, 1, 1, 1, 1, 1, 1),
(861, 10, 109, 1, 1, 1, 1, 1, 1),
(862, 1, 110, 1, 1, 1, 1, 1, 1),
(866, 1, 111, 1, 1, 1, 1, 1, 1),
(867, 1, 112, 1, 1, 1, 1, 1, 1),
(868, 1, 113, 1, 1, 1, 1, 1, 1),
(869, 1, 114, 1, 1, 1, 1, 1, 1),
(870, 1, 116, 1, 1, 1, 1, 1, 1),
(871, 1, 117, 1, 1, 1, 1, 1, 1),
(872, 1, 118, 1, 1, 1, 1, 1, 1),
(873, 11, 11, 1, 1, 1, 1, 1, 1),
(874, 11, 12, 1, 1, 1, 1, 1, 1),
(875, 11, 19, 1, 1, 1, 1, 1, 1),
(876, 11, 23, 1, 1, 1, 1, 1, 1),
(877, 11, 25, 1, 1, 1, 1, 1, 1),
(878, 11, 41, 1, 1, 1, 1, 1, 1),
(879, 11, 110, 1, 1, 1, 1, 1, 1),
(880, 11, 111, 1, 1, 1, 1, 1, 1),
(881, 11, 112, 1, 1, 1, 1, 1, 1),
(882, 11, 113, 1, 1, 1, 1, 1, 1),
(883, 11, 114, 1, 1, 1, 1, 1, 1),
(884, 11, 116, 1, 1, 1, 1, 1, 1),
(885, 11, 117, 1, 1, 1, 1, 1, 1),
(886, 11, 118, 1, 1, 1, 1, 1, 1),
(887, 7, 110, 0, 0, 0, 0, 0, 0),
(888, 7, 111, 1, 1, 1, 1, 1, 1),
(889, 7, 112, 1, 1, 1, 1, 1, 1),
(890, 7, 113, 1, 1, 1, 1, 1, 1),
(891, 7, 114, 0, 0, 0, 0, 0, 0),
(892, 7, 116, 1, 1, 1, 1, 1, 1),
(893, 7, 117, 0, 0, 0, 0, 0, 0),
(894, 7, 118, 0, 0, 0, 0, 0, 0),
(895, 7, 119, 0, 0, 0, 0, 0, 0),
(896, 8, 110, 1, 1, 1, 1, 1, 1),
(897, 8, 111, 1, 1, 1, 1, 1, 1),
(898, 8, 112, 1, 1, 1, 1, 1, 1),
(899, 8, 113, 1, 1, 1, 1, 1, 1),
(900, 8, 114, 1, 1, 1, 1, 1, 1),
(901, 8, 116, 1, 1, 1, 1, 1, 1),
(902, 8, 117, 1, 1, 1, 1, 1, 1),
(903, 8, 118, 1, 1, 1, 1, 1, 1),
(904, 8, 119, 1, 1, 1, 1, 1, 1),
(905, 8, 120, 1, 1, 1, 1, 1, 1),
(906, 1, 119, 1, 1, 1, 1, 1, 1),
(907, 1, 120, 1, 1, 1, 1, 1, 1),
(908, 7, 120, 1, 1, 1, 1, 1, 1),
(909, 7, 121, 1, 1, 1, 1, 1, 1),
(910, 1, 121, 1, 1, 1, 1, 1, 1),
(911, 1, 122, 1, 1, 1, 1, 1, 1),
(912, 1, 126, 1, 1, 1, 1, 1, 1),
(913, 1, 125, 1, 1, 1, 1, 1, 1),
(914, 1, 123, 1, 1, 1, 1, 1, 1),
(915, 1, 124, 1, 1, 1, 1, 1, 1),
(916, 8, 121, 1, 1, 1, 1, 1, 1),
(917, 8, 122, 1, 1, 1, 1, 1, 1),
(918, 8, 123, 1, 1, 1, 1, 1, 1),
(919, 8, 124, 1, 1, 1, 1, 1, 1),
(920, 8, 125, 1, 1, 1, 1, 1, 1),
(921, 8, 126, 1, 1, 1, 1, 1, 1),
(922, 7, 122, 0, 0, 0, 0, 0, 0),
(923, 7, 123, 0, 0, 0, 0, 0, 0),
(924, 7, 124, 1, 1, 1, 1, 1, 1),
(925, 7, 125, 1, 1, 1, 1, 1, 1),
(926, 7, 126, 0, 0, 0, 0, 0, 0),
(927, 1, 127, 1, 1, 1, 1, 1, 1),
(928, 7, 127, 0, 0, 0, 0, 0, 0),
(929, 1, 128, 1, 1, 1, 1, 1, 1),
(930, 7, 128, 0, 0, 0, 0, 0, 0),
(932, 1, 129, 1, 1, 1, 1, 1, 1),
(933, 7, 129, 0, 0, 0, 0, 0, 0),
(934, 1, 130, 1, 1, 1, 1, 1, 1),
(935, 1, 131, 1, 1, 1, 1, 1, 1),
(936, 1, 133, 1, 1, 1, 1, 1, 1);

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_permisos_funciones`
--

CREATE TABLE `sys_permisos_funciones` (
  `id_permiso_funcion` int(11) NOT NULL,
  `alias` varchar(80) NOT NULL,
  `nombre` varchar(80) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Volcado de datos para la tabla `sys_permisos_funciones`
--

INSERT INTO `sys_permisos_funciones` (`id_permiso_funcion`, `alias`, `nombre`) VALUES
(1, 'Autorizar Requisiciones', 'aut_requisiones'),
(2, 'Autorizar Pedidos', 'aut_pedidos'),
(3, 'Modificar Ordenes de compra en surtimiento', 'mod_oc_surtimiento'),
(4, 'Modificar Pedidos en surtimiento', 'mod_ped_surtimiento'),
(5, 'Finalizar pedidos', 'fin_pedidos'),
(6, 'Finalizar Ordenes de compra', 'fin_ordenes');

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_permisos_funcusers`
--

CREATE TABLE `sys_permisos_funcusers` (
  `id_permiso_funcuser` int(11) NOT NULL,
  `id_usuario` int(11) NOT NULL,
  `id_permiso_funcion` int(11) NOT NULL,
  `permiso` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Volcado de datos para la tabla `sys_permisos_funcusers`
--

INSERT INTO `sys_permisos_funcusers` (`id_permiso_funcuser`, `id_usuario`, `id_permiso_funcion`, `permiso`) VALUES
(1, 1, 1, 0),
(2, 1, 1, 0),
(3, 1, 1, 0),
(4, 1, 1, 0),
(5, 1, 1, 0),
(6, 1, 1, 0),
(7, 10, 4, 1),
(8, 10, 3, 1),
(9, 10, 5, 1),
(10, 10, 6, 1),
(11, 10, 1, 1),
(12, 10, 2, 1),
(13, 0, 1, 0),
(14, 0, 1, 0),
(15, 0, 1, 0),
(16, 0, 1, 0),
(17, 0, 1, 0);

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_plantilla`
--

CREATE TABLE `sys_plantilla` (
  `id_plantilla` int(11) NOT NULL,
  `nombre` varchar(60) NOT NULL,
  `ruta_css` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Volcado de datos para la tabla `sys_plantilla`
--

INSERT INTO `sys_plantilla` (`id_plantilla`, `nombre`, `ruta_css`) VALUES
(1, 'Clásica', 'css/estilo_final1.css'),
(2, 'Billarmex', 'css/billarmex.css'),
(3, 'Casa de las luces', 'css/luces.css'),
(4, 'Capslim', 'css/capslim.css');

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_razones_sociales`
--

CREATE TABLE `sys_razones_sociales` (
  `id_razon_social` int(11) NOT NULL,
  `rfc` varchar(20) NOT NULL,
  `razon_social` varchar(80) NOT NULL,
  `calle` varchar(80) NOT NULL,
  `no_int` varchar(20) NOT NULL,
  `no_ext` varchar(20) NOT NULL,
  `colonia` varchar(80) NOT NULL,
  `del_municipio` varchar(80) NOT NULL,
  `cp` varchar(10) NOT NULL,
  `id_pais` int(11) NOT NULL,
  `id_estado` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Volcado de datos para la tabla `sys_razones_sociales`
--

INSERT INTO `sys_razones_sociales` (`id_razon_social`, `rfc`, `razon_social`, `calle`, `no_int`, `no_ext`, `colonia`, `del_municipio`, `cp`, `id_pais`, `id_estado`) VALUES
(-1, 'No aplica', '-No aplica-', 'No aplica', 'No aplica', 'No aplica', 'No aplica', 'No aplica', 'No aplica', 1, 16),
(1, 'FOCJ8503264C6', 'Jesús Iván Flores Cruz', 'Camelina', '', 'Mz 10A Lt 12', 'Buenavista', 'Iztapalapa', '09700', 1, 16),
(2, 'LFTG3490235T3', 'Razon social de prueba', 'calle de pruena', '', '10', 'Prueba', 'Prueba', '0900', 1, 2);

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_reportes`
--

CREATE TABLE `sys_reportes` (
  `id_reporte` int(11) NOT NULL,
  `titulo` varchar(120) CHARACTER SET utf8 COLLATE utf8_spanish_ci NOT NULL,
  `consulta` text COLLATE utf8_bin NOT NULL,
  `campo_fecha` varchar(120) CHARACTER SET utf8 COLLATE utf8_spanish_ci NOT NULL,
  `ver_sumatorias` tinyint(1) NOT NULL,
  `consulta_sum` text COLLATE utf8_bin NOT NULL,
  `consulta_vacia` text COLLATE utf8_bin NOT NULL,
  `campoSucursal` varchar(120) COLLATE utf8_bin DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Volcado de datos para la tabla `sys_reportes`
--

INSERT INTO `sys_reportes` (`id_reporte`, `titulo`, `consulta`, `campo_fecha`, `ver_sumatorias`, `consulta_sum`, `consulta_vacia`, `campoSucursal`) VALUES
(1, 'Reporte de ventas', 'SELECT\r\nv.folio,\r\nv.folio_fiscal,\r\nc.nombre,\r\nCONCAT(v.fecha,\'<br> \',v.hora),\r\nv.subtotal,\r\nv.iva,\r\nv.total,\r\nIF(v.facturado=1,\'facturado\',\'sin facturar\'),\r\nmp.nombre,\r\nfp.nombre,\r\nIF(v.cancelado=1,\'CANCELADO\',\'\')\r\nFROM ec_ventas v\r\nJOIN ec_clientes c on v.id_cliente=c.id_cliente\r\nJOIN ec_metodos_pago mp ON v.id_metodo_pago=mp.id_metodo_pago\r\nJOIN ec_forma_pago fp ON v.id_forma_pago=fp.id_forma_pago\r\nWHERE 1 AND (v.fecha BETWEEN \'$fecIni\' AND \'$fecFin\')\r\nXXX\r\nORDER BY v.fecha,v.hora ASC', 'NO', 0, '', 'SELECT\r\n_CAMPOS_\r\nFROM ec_ventas v\r\nJOIN ec_clientes c on v.id_cliente=c.id_cliente\r\nJOIN ec_metodos_pago mp ON v.id_metodo_pago=mp.id_metodo_pago\r\nJOIN ec_forma_pago fp ON v.id_forma_pago=fp.id_forma_pago\r\nWHERE 1 AND (v.fecha BETWEEN \'$fecIni\' AND \'$fecFin\')\r\nXXX\r\nORDER BY v.fecha,v.hora ASC', 'v.id_sucursal'),
(20, ' Reporte de inventario', 'SELECT\r\norden_lista,\r\nnombre,\r\nCompras,\r\nVentas,\r\nInvFin,\r\nUltPreCom,\r\nprecio_venta,\r\nUltPreCom*InvFin\r\nFROM\r\n(\r\nSELECT\r\np.orden_lista,\r\np.nombre,\r\nSUM(\r\n	IF(m.id_compra <> -1 AND m.fecha >= \'$fecIni\' AND m.fecha <= \'$fecFin\',\r\n		IF(md.cantidad IS NULL, 0, md.cantidad),\r\n		0\r\n	)\r\n) AS Compras,\r\nSUM(\r\n	IF(m.id_venta <> -1 AND m.fecha >= \'$fecIni\' AND m.fecha <= \'$fecFin\',\r\n		IF(md.cantidad IS NULL, 0, md.cantidad),\r\n		0\r\n	)\r\n) AS Ventas,\r\nSUM(\r\n	IF(m.fecha <= \'$fecFin\',\r\n		IF(md.cantidad IS NULL, 0, md.cantidad*tm.afecta),\r\n		0\r\n	)\r\n) AS InvFin,\r\n(\r\n	SELECT\r\n	ROUND(ec_detalle_compra.precio,2)\r\n	FROM ec_detalle_compra\r\n	JOIN ec_oc ON ec_detalle_compra.id_orden_compra = ec_oc.id_orden_compra\r\n	WHERE ec_oc.fecha <= \'$fecFin\'\r\n        AND ec_detalle_compra.id_producto = p.id_productos\r\n        ORDER BY ec_oc.id_orden_compra DESC\r\n        LIMIT 1\r\n) AS UltPreCom,\r\np.precio_venta\r\nFROM ec_productos p\r\nLEFT JOIN ec_detalle_movimiento md ON p.id_productos = md.id_producto\r\nLEFT JOIN ec_movimiento_inventario m ON md.id_movimiento_inventario = m.id_movimiento_inventario\r\nLEFT JOIN ec_tipos_movimiento tm ON m.id_tipo_movimiento = tm.id_movimiento\r\nLEFT JOIN ec_ventas pdo ON m.id_venta = pdo.id_venta\r\nLEFT JOIN ec_oc o ON m.id_compra = o.id_orden_compra\r\nWHERE m.fecha <= \'$fecFin\'\r\nXXX\r\nGROUP BY p.id_productos\r\n) p\r\nWHERE 1\r\nORDER BY orden_lista', 'NO', 1, 'SELECT\r\n\'Total\',\r\n\'\',\r\nSUM(Compras),\r\nSUM(Ventas),\r\nSUM(InvFin),\r\n\'\',\r\n\'\',\r\nSUM(UltPreCom*InvFin)\r\nFROM\r\n(\r\nSELECT\r\np.orden_lista,\r\np.nombre,\r\nSUM(\r\n	IF(m.id_compra <> -1 AND m.fecha >= \'$fecIni\' AND m.fecha <= \'$fecFin\',\r\n		IF(md.cantidad IS NULL, 0, md.cantidad),\r\n		0\r\n	)\r\n) AS Compras,\r\nSUM(\r\n	IF(m.id_venta <> -1 AND m.fecha >= \'$fecIni\' AND m.fecha <= \'$fecFin\',\r\n		IF(md.cantidad IS NULL, 0, md.cantidad),\r\n		0\r\n	)\r\n) AS Ventas,\r\nSUM(\r\n	IF(m.fecha <= \'$fecFin\',\r\n		IF(md.cantidad IS NULL, 0, md.cantidad*tm.afecta),\r\n		0\r\n	)\r\n) AS InvFin,\r\n\'\' AS UltPreCom,\r\n\'\' AS PreVen\r\nFROM ec_productos p\r\nLEFT JOIN ec_detalle_movimiento md ON p.id_productos = md.id_producto\r\nLEFT JOIN ec_movimiento_inventario m ON md.id_movimiento_inventario = m.id_movimiento_inventario\r\nLEFT JOIN ec_tipos_movimiento tm ON m.id_tipo_movimiento = tm.id_movimiento\r\nLEFT JOIN ec_ventas pdo ON m.id_venta = pdo.id_venta\r\nLEFT JOIN ec_oc o ON m.id_compra = o.id_orden_compra\r\nWHERE m.fecha <= \'$fecFin\'\r\nXXX\r\nGROUP BY p.id_productos\r\n) p\r\nWHERE 1\r\nORDER BY Compras DESC, Ventas DESC, nombre', 'SELECT\r\n_CAMPOS_\r\nFROM ec_productos p\r\nLEFT JOIN ec_detalle_movimiento md ON p.id_productos = md.id_producto\r\nLEFT JOIN ec_movimiento_inventario m ON md.id_movimiento_inventario = m.id_movimiento_inventario\r\nLEFT JOIN ec_tipos_movimiento tm ON m.id_tipo_movimiento = tm.id_movimiento\r\nLEFT JOIN ec_ventas pdo ON m.id_venta = pdo.id_venta\r\nLEFT JOIN ec_oc o ON m.id_compra = o.id_orden_compra\r\nWHERE m.fecha <= \'$fecFin\'\r\nXXX\r\nGROUP BY p.id_productos\r\nORDER BY Compras DESC, Ventas DESC, nombre', 'm.id_sucursal'),
(21, 'Reporte de Ordenes de Compra', 'SELECT\r\noc.id_orden_compra,\r\noc.folio,\r\np.nombre_comercial,\r\noc.subtotal,\r\noc.total,\r\noc.fecha\r\nFROM ec_oc oc\r\nJOIN ec_proveedor p ON oc.id_proveedor = p.id_proveedor\r\nWHERE 1\r\nXXX', 'oc.fecha', 0, '', 'SELECT\r\n_CAMPOS_\r\nFROM ec_oc oc\r\nJOIN ec_proveedor p ON oc.id_proveedor = p.id_proveedor\r\nWHERE 1', NULL),
(30, '', 'SELECT\n	p.id_productos,\n    p.orden_lista AS clave_sat,\n 	p.nombre,\n	p.nombre_etiqueta,\n	SUM(\n		IF(\n    		m.id_movimiento_inventario IS NOT NULL AND m.fecha <= \'$fecIni\',\n        	md.cantidad * tm.afecta,\n        	0\n        )\n    ) as inventarioInicial,\n	SUM(\n		IF(\n	    	m.id_movimiento_inventario IS NOT NULL AND m.id_tipo_movimiento = 1\n	    	AND (m.fecha BETWEEN \'$fecIni\' AND \'$fecFin\'),\n	        md.cantidad,\n	        0\n	    )\n    ) as entradas,\n	SUM(\n    	IF(\n	    	m.id_movimiento_inventario IS NOT NULL AND m.id_tipo_movimiento = 2 \n	    	AND (m.fecha BETWEEN \'$fecIni\' AND \'$fecFin\'),\n	        md.cantidad,\n	        0\n    	) \n    )as salidas,\n    SUM(\n		IF(\n	    	m.id_movimiento_inventario IS NOT NULL AND m.fecha <= \'$fecFin\',\n	        md.cantidad * tm.afecta,\n	        0\n	    )\n    ) as inventarioFinal\nFROM ec_productos p\nLEFT JOIN ec_detalle_movimiento md ON p.id_productos = md.id_producto\nLEFT JOIN ec_movimiento_inventario m ON md.id_movimiento_inventario = m.id_movimiento_inventario\nLEFT JOIN ec_tipos_movimiento tm ON m.id_tipo_movimiento = tm.id_movimiento\nWHERE 1\nGROUP BY p.id_productos', 'NO', 0, '', 'SELECT\r\n_CAMPOS_\r\nFROM ec_productos p\r\nLEFT JOIN ec_detalle_movimiento md ON p.id_productos = md.id_producto\r\nLEFT JOIN ec_movimiento_inventario m ON md.id_movimiento_inventario = m.id_movimiento_inventario\r\nLEFT JOIN ec_tipos_movimiento tm ON m.id_tipo_movimiento = tm.id_movimiento\r\nWHERE 1\r\nGROUP BY p.id_productos', NULL);

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_reportes_columnas`
--

CREATE TABLE `sys_reportes_columnas` (
  `id_reporte_columna` int(11) NOT NULL,
  `id_reporte` int(11) NOT NULL,
  `campo` varchar(120) CHARACTER SET utf8 COLLATE utf8_spanish_ci NOT NULL,
  `display` varchar(120) CHARACTER SET utf8 COLLATE utf8_spanish_ci NOT NULL,
  `sumatoria` tinyint(1) NOT NULL,
  `orden` int(3) NOT NULL,
  `tipo` varchar(120) CHARACTER SET utf8 COLLATE utf8_spanish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Volcado de datos para la tabla `sys_reportes_columnas`
--

INSERT INTO `sys_reportes_columnas` (`id_reporte_columna`, `id_reporte`, `campo`, `display`, `sumatoria`, `orden`, `tipo`) VALUES
(1, 1, 'v.folio', 'FOLIO', 0, 1, 'label'),
(2, 1, 'v.folio_fiscal', 'FOLIO FISCAL', 0, 2, 'label'),
(3, 1, 'c.nombre', 'CLIENTE', 0, 3, 'label'),
(4, 1, 'CONCAT(v.fecha,\'<br> \',v.hora)', 'FECHA', 0, 4, 'label'),
(5, 1, 'v.subtotal', 'SUBTOTAL', 0, 5, 'values'),
(6, 1, 'v.iva', 'IVA', 0, 6, 'values'),
(7, 1, 'v.total', 'TOTAL', 0, 7, 'values'),
(8, 1, 'IF(v.facturado=1,\'facturado\',\'sin facturar\')', 'ESTATUS', 0, 8, 'label'),
(9, 1, 'mp.nombre', 'METODO DE PAGO', 0, 9, 'label'),
(10, 1, 'mp.nombre', 'METODO DE PAGO', 0, 10, 'label'),
(11, 1, 'v.cancelado', 'CANCELADO', 0, 11, 'label'),
(50, 20, 'p.orden_lista', 'Orden de lista', 0, 1, 'label'),
(51, 20, 'p.nombre', 'Producto', 0, 2, 'label'),
(53, 20, 'p.nombre', 'Compras', 1, 3, 'values'),
(54, 20, 'p.nombre', 'Ventas', 1, 4, 'values'),
(55, 20, 'p.nombre', 'Inventario', 1, 5, 'values'),
(56, 20, 'p.nombre', 'Ultimo precio compra', 1, 6, 'values'),
(59, 20, 'p.precio_venta', 'Precio Venta', 1, 7, 'values'),
(60, 20, 'p.nombre', 'Total', 1, 8, 'values'),
(61, 3, 'SUM(monto)', 'Monto', 1, 2, 'values'),
(62, 3, 'SUM(abonado)', 'Abonado', 1, 3, 'values'),
(63, 3, 'MAX(fecha_ultimo_pago)', 'Ultimo pago', 0, 4, 'label'),
(64, 4, 't.folio', 'Folio', 0, 1, 'label'),
(65, 4, 's1.nombre', 'Sucursal origen', 0, 2, 'label'),
(66, 4, 'a1.nombre', 'Almacén origen', 0, 3, 'label'),
(67, 4, 's2.nombre', 'Sucursal destino', 0, 4, 'label'),
(68, 5, 'CONCAT(u.nombre, \' \', u.apellido_paterno, \' \', u.apellido_materno)', 'Creada por', 0, 1, 'label'),
(69, 5, 'o.fecha', 'Fecha', 0, 2, 'label'),
(70, 5, 'c.nombre', 'Concepto', 0, 3, 'label'),
(71, 6, 'p.orden_lista', 'Orden de lista', 0, 1, 'label'),
(72, 6, 'p.nombre', 'Producto', 0, 2, 'label'),
(73, 6, 'p.ubicacion_almacen', 'Ubicación de almacén', 0, 3, 'label'),
(74, 6, '(\n	CASE t.id_tipo\n		WHEN 1 THEN \'Urgente\'\n		WHEN 2 THEN \'Libre\'\n		WHEN 3 THEN \'Medio\'\n		WHEN 4 THEN \'Alto\'\n	END\n)', 'Prioridad', 0, 4, 'label'),
(75, 7, 'p.orden_lista', 'Orden de lista', 0, 1, 'CHAR'),
(76, 7, 'p.nombre', 'Producto', 0, 2, 'CHAR'),
(77, 7, 'SUM(\n	IF(\n		md.id_movimiento IS NULL,\n		0,\n		md.cantidad*tm.afecta\n	)\n)', 'Stock actual', 0, 3, 'CHAR'),
(80, 8, 'p.orden_lista', 'Orden de lista', 0, 1, 'label'),
(81, 8, 'p.nombre', 'Nombre', 0, 2, 'label'),
(82, 9, 'p.nombre', 'Nombre', 0, 1, 'label'),
(84, 9, 'p.ubicacion_almacen', 'Ubicación de almacén', 0, 2, 'CHAR'),
(85, 10, 'p.nombre', 'Producto', 0, 1, 'CHAR'),
(86, 10, 'SUM(tp.cantidad_entrada) ', 'Cantidad', 0, 2, 'CHAR'),
(88, 11, 'p.nombre', 'Nombre', 0, 0, 'CHAR'),
(89, 11, 'p.ubicacion_almacen', 'Ubicación de almacén', 0, 2, 'CHAR'),
(90, 11, 'SUM(\n	IF(\n		md.id_movimiento IS NULL,\n		0,\n		md.cantidad*tm.afecta\n	)\n)', 'Stock en almacén', 0, 3, 'CHAR'),
(93, 12, 'nombre', 'Proveedor', 0, 1, 'CHAR'),
(94, 12, 'telefono ', 'Teléfono', 0, 2, 'CHAR'),
(95, 13, 'cliente', 'Cliente', 0, 1, 'CHAR'),
(97, 13, 'fechaPromesa', 'Fecha de promesa de pago', 0, 2, 'CHAR'),
(98, 13, 'monto', 'Monto', 0, 4, 'CHAR'),
(99, 13, 'diasTranscurridos', 'Días transcurridos', 0, 3, 'diasTranscurridos'),
(100, 14, 'cliente', 'Cliente', 0, 1, 'CHAR'),
(101, 14, 'concepto', 'Concepto', 0, 2, 'CHAR'),
(102, 14, 'fechaPromesa', 'Fecha de promesa de pago', 0, 3, 'CHAR'),
(103, 14, 'monto', 'Monto', 0, 4, 'CHAR'),
(104, 15, 'p.clave', 'Clave', 0, 1, 'CHAR'),
(105, 15, 'p.nombre', 'Producto', 0, 2, 'CHAR'),
(106, 15, 'SUM(IF(mi.id_movimiento_inventario IS NULL, 0, tm.afecta*dm.cantidad))', 'Cantidad', 0, 3, 'CHAR'),
(107, 16, 'CONCAT( nombre,  \' \', apellido_paterno,  \' \', apellido_materno )', 'Nombre', 0, 1, 'CHAR'),
(108, 16, 'clave', 'Clave', 0, 2, 'CHAR'),
(109, 16, 'email', 'Correo', 0, 3, 'CHAR'),
(110, 17, 'Nombre', 'Cliente', 0, 1, 'CHAR'),
(111, 17, 'evento', 'Evento', 0, 2, 'CHAR'),
(112, 17, 'fecha', 'Fecha', 0, 3, 'CHAR'),
(113, 17, 'CONCAT(\'$\',FORMAT(monto,2))', 'Monto', 0, 4, 'CHAR'),
(114, 3, 'SUM(monto)-SUM(abonado)', 'Restante', 1, 5, 'values'),
(115, 4, 'a2.nombre', 'Almacén destino', 0, 5, 'label'),
(116, 4, 'pp.nombre', 'Presentación', 0, 6, 'label'),
(117, 4, 'tp.cantidad_presentacion', 'Cantidad pedida', 0, 7, 'values'),
(118, 4, 'tp.cantidad_salida_pres', 'Cantidad salida', 0, 8, 'values'),
(119, 4, 'tp.cantidad_entrada_pres', 'Cantidad entrada', 0, 9, 'values'),
(120, 4, '( 	CASE tp.resolucion 		WHEN 0	THEN \'Sin resolver\' 		WHEN 1	THEN \'Devolver\' 		WHEN 2	THEN \'Mantener\' 		WHEN 3	THEN \'Elim', 'Resolución', 0, 10, 'label'),
(121, 8, 'p.precio_venta', 'Precio de venta', 0, 3, 'label'),
(122, 8, 'p.precio_compra', 'Precio de compra', 0, 4, 'label'),
(123, 9, 'p.precio_venta', 'Precio de venta', 0, 3, 'label'),
(124, 9, 'p.precio_compra', 'Precio de compra', 0, 4, 'label'),
(126, 18, 'c.nombre', 'Familia', 0, 1, 'label'),
(127, 18, 'SUM(pr.precio_venta)', 'Monto', 0, 3, 'label'),
(128, 18, 'COUNT(id_producto)', 'Cantidad', 0, 2, 'label'),
(129, 19, 'c.nombre', 'Tipo', 0, 1, 'label'),
(130, 19, 'COUNT(pd.id_producto)', 'Cantidad', 0, 2, 'label'),
(131, 19, 'CONCAT(\'$\',FORMAT(SUM(pr.precio_venta),2))', 'Monto', 0, 3, 'label'),
(135, 10, 'pr.nombre', 'Producto', 0, 1, 'label'),
(136, 10, 'COUNT(pd.id_producto)', 'Cantidad', 0, 2, 'label'),
(137, 10, 'CONCAT(\'$\',FORMAT(SUM(pr.precio_venta),2))', 'Monto', 0, 3, 'label'),
(138, 22, 'c.nombre', 'Color', 0, 1, 'label'),
(139, 22, 'COUNT(pd.id_producto)', 'Cantidad', 0, 2, 'label'),
(140, 22, 'CONCAT(\'$\',FORMAT(SUM(pr.precio_venta),2))', 'Monto', 0, 3, 'label'),
(141, 23, 'CONCAT(u.nombre,\' \',apellido_paterno,\' \',apellido_materno)', 'Vendedor', 0, 1, 'label'),
(142, 23, 'COUNT(pd.id_producto)', 'Cantidad', 0, 2, 'label'),
(143, 23, 'CONCAT(\'$\',FORMAT(SUM(pr.precio_venta),2))', 'Monto', 0, 3, 'label'),
(144, 24, 'c.nombre', 'Familia', 0, 1, 'label'),
(145, 24, 'SUM(pr.precio_venta)', 'Monto', 0, 3, 'label'),
(146, 24, 'COUNT(id_producto)', 'Cantidad', 0, 2, 'label'),
(147, 25, 'c.nombre', 'Tipo', 0, 1, 'label'),
(148, 25, 'COUNT(pd.id_producto)', 'Cantidad', 0, 2, 'label'),
(149, 25, 'CONCAT(\'$\',FORMAT(SUM(pr.precio_venta),2))', 'Monto', 0, 3, 'label'),
(150, 26, 'c.nombre', 'Subtipo', 0, 1, 'label'),
(151, 26, 'COUNT(pd.id_producto)', 'Cantidad', 0, 2, 'label'),
(152, 26, 'CONCAT(\'$\',FORMAT(SUM(pr.precio_venta),2))', 'Monto', 0, 3, 'label'),
(153, 27, 'pr.nombre', 'Producto', 0, 1, 'label'),
(154, 27, 'COUNT(pd.id_producto)', 'Cantidad', 0, 2, 'label'),
(155, 27, 'CONCAT(\'$\',FORMAT(SUM(pr.precio_venta),2))', 'Monto', 0, 3, 'label'),
(156, 28, 'c.nombre', 'Color', 0, 1, 'label'),
(157, 28, 'COUNT(pd.id_producto)', 'Cantidad', 0, 2, 'label'),
(158, 28, 'CONCAT(\'$\',FORMAT(SUM(pr.precio_venta),2))', 'Monto', 0, 3, 'label'),
(159, 29, 'pro.nombre_comercial', 'Proveedor', 0, 1, 'label'),
(160, 29, 'COUNT(p.id_proveedor)', 'Cantidad', 1, 2, 'label'),
(161, 29, 'CONCAT(\'$\',FORMAT(SUM(p.total),2))', 'Monto', 0, 3, 'label'),
(162, 30, 'p.id_productos', 'Id de producto', 0, 1, 'label'),
(163, 30, 'p.orden_lista', 'Clave SAT', 0, 2, 'label'),
(164, 30, 'p.nombre', 'Producto', 0, 3, 'label'),
(165, 30, 'p.nombre_etiqueta', 'Nombre de etiqueta', 0, 4, 'label'),
(166, 30, 'IF(\r\n    	m.id_movimiento_inventario IS NOT NULL AND m.fecha <= \'$fecIni\',\r\n        SUM( md.cantidad * tm.afecta ),\r\n   ', 'Inventario Inicial', 0, 5, 'values'),
(167, 30, 'IF(\r\n    	m.id_movimiento_inventario IS NOT NULL AND m.id_tipo_movimiento = 1 \r\n    	AND (m.fecha BETWEEN \'$fecIni\' AND ', 'Entradas', 0, 6, 'values'),
(168, 30, 'IF(\r\n    	m.id_movimiento_inventario IS NOT NULL AND m.id_tipo_movimiento = 2 \r\n    	AND (m.fecha BETWEEN \'$fecIni\' AND ', 'Salidas', 0, 7, 'values'),
(169, 30, 'IF(\r\n    	m.id_movimiento_inventario IS NOT NULL AND m.fecha <= \'$fecFin\',\r\n        0,\r\n        SUM( md.cantidad * tm.af', 'Inventario Final', 0, 8, 'values'),
(175, 21, 'oc.id_orden_compra', 'ID', 0, 1, 'values'),
(176, 21, 'oc.folio', 'FOLIO', 0, 2, 'label'),
(177, 21, 'p.nombre_comercial', 'PROVEEDOR', 0, 3, 'label'),
(178, 21, 'oc.subtotal', 'SUBTOTAL', 0, 4, 'values'),
(179, 21, 'oc.total', 'TOTAL', 0, 5, 'values'),
(180, 21, 'oc.fecha', 'FECHA', 0, 6, 'label');

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_sucursales`
--

CREATE TABLE `sys_sucursales` (
  `id_sucursal` int(11) NOT NULL,
  `nombre` varchar(45) NOT NULL,
  `telefono` varchar(30) DEFAULT '1',
  `direccion` text,
  `descripcion` text,
  `id_razon_social` int(11) UNSIGNED DEFAULT NULL,
  `id_encargado` int(11) DEFAULT NULL,
  `activo` tinyint(1) UNSIGNED NOT NULL DEFAULT '1',
  `logueo` bit(1) NOT NULL DEFAULT b'0',
  `logo` text NOT NULL,
  `multifacturacion` tinyint(1) NOT NULL DEFAULT '0',
  `id_precio` int(11) DEFAULT NULL,
  `descuento` float DEFAULT NULL,
  `prefijo` char(15) DEFAULT NULL,
  `usa_oferta` tinyint(1) NOT NULL,
  `alertas_resurtimiento` tinyint(1) NOT NULL,
  `acceso` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Volcado de datos para la tabla `sys_sucursales`
--

INSERT INTO `sys_sucursales` (`id_sucursal`, `nombre`, `telefono`, `direccion`, `descripcion`, `id_razon_social`, `id_encargado`, `activo`, `logueo`, `logo`, `multifacturacion`, `id_precio`, `descuento`, `prefijo`, `usa_oferta`, `alertas_resurtimiento`, `acceso`) VALUES
(1, 'JOSE MARIA HERNANDEZ LOPEZ', '5555 5555', 'ESTADO DE MEXICO', 'Descripcion de prueba', 1, 8, 1, b'1', 'https://easycount.com.mx/billarmex2//files/sys_sucursales_logo_5114_1.jpg', 0, 1, 0.1, 'SUA', 0, 1, 1),
(2, 'Sucursal ejemplo', '5567898765', '', '', 0, 1, 1, b'0', '', 0, 1, 0, 'PBA', 0, 0, 0),
(3, 'prueba sucursal producto 2', '12345678', '', '', 0, -1, 1, b'0', '', 0, 1, 0, '', 0, 0, 0);

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_users_sucursales`
--

CREATE TABLE `sys_users_sucursales` (
  `id_user_sucursal` int(11) UNSIGNED NOT NULL,
  `id_usuario` int(11) UNSIGNED NOT NULL,
  `id_sucursal` int(11) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `sys_user_groups`
--

CREATE TABLE `sys_user_groups` (
  `id_user_group` int(11) UNSIGNED NOT NULL,
  `id_usuario` int(11) UNSIGNED NOT NULL,
  `id_grupo` int(11) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Indices de la tabla `api_tipo_facturacion`
--
ALTER TABLE `api_tipo_facturacion`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `bitacora_inventarios`
--
ALTER TABLE `bitacora_inventarios`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `cat_Tipo_Persona`
--
ALTER TABLE `cat_Tipo_Persona`
  ADD PRIMARY KEY (`idTipoPersona`);

--
-- Indices de la tabla `ec_cfdi`
--
ALTER TABLE `ec_cfdi`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `ec_clientes`
--
ALTER TABLE `ec_clientes`
  ADD PRIMARY KEY (`id_cliente`),
  ADD KEY `id_sucursal` (`id_sucursal`);

--
-- Indices de la tabla `ec_clientes_contacto`
--
ALTER TABLE `ec_clientes_contacto`
  ADD PRIMARY KEY (`id_cliente_contacto`);

--
-- Indices de la tabla `ec_clientes_razones_sociales`
--
ALTER TABLE `ec_clientes_razones_sociales`
  ADD PRIMARY KEY (`id_cliente_rs`),
  ADD KEY `id_cliente` (`id_cliente`);

--
-- Indices de la tabla `ec_conf_iva`
--
ALTER TABLE `ec_conf_iva`
  ADD PRIMARY KEY (`id_conf_iva`);

--
-- Indices de la tabla `ec_conf_rs`
--
ALTER TABLE `ec_conf_rs`
  ADD PRIMARY KEY (`id_rs`);

--
-- Indices de la tabla `ec_detalle_compra`
--
ALTER TABLE `ec_detalle_compra`
  ADD PRIMARY KEY (`id_compra_detalle`),
  ADD KEY `fk1_tf_dc_idx` (`id_orden_compra`),
  ADD KEY `fk2_tf_dc_idx` (`id_producto`);

--
-- Indices de la tabla `ec_detalle_movimiento`
--
ALTER TABLE `ec_detalle_movimiento`
  ADD PRIMARY KEY (`id_detalle_movimiento`),
  ADD KEY `dm_fk2_idx` (`id_producto`),
  ADD KEY `id_movimintoxxxx07_idx` (`id_movimiento_inventario`);

--
-- Indices de la tabla `ec_detalle_pagos`
--
ALTER TABLE `ec_detalle_pagos`
  ADD PRIMARY KEY (`id_detalle_pagos`);

--
-- Indices de la tabla `ec_detalle_venta`
--
ALTER TABLE `ec_detalle_venta`
  ADD PRIMARY KEY (`id_detalle_venta`),
  ADD KEY `id_venta_aa3_idx` (`id_venta`),
  ADD KEY `id_producto_aa4_idx` (`id_producto`);

--
-- Indices de la tabla `ec_detalle_venta_back`
--
ALTER TABLE `ec_detalle_venta_back`
  ADD PRIMARY KEY (`id_detalle_venta`),
  ADD KEY `id_venta` (`id_venta`);

--
-- Indices de la tabla `ec_forma_pago`
--
ALTER TABLE `ec_forma_pago`
  ADD PRIMARY KEY (`id_forma_pago`);

--
-- Indices de la tabla `ec_limites_razon_social`
--
ALTER TABLE `ec_limites_razon_social`
  ADD PRIMARY KEY (`id_limite_razon_social`);

--
-- Indices de la tabla `ec_metodos_pago`
--
ALTER TABLE `ec_metodos_pago`
  ADD PRIMARY KEY (`id_metodo_pago`);

--
-- Indices de la tabla `ec_motivos_cancelacion_factura`
--
ALTER TABLE `ec_motivos_cancelacion_factura`
  ADD PRIMARY KEY (`id_motivo`);

--
-- Indices de la tabla `ec_movimiento_inventario`
--
ALTER TABLE `ec_movimiento_inventario`
  ADD PRIMARY KEY (`id_movimiento_inventario`),
  ADD KEY `id_venta` (`id_venta`),
  ADD KEY `id_tipo_movimiento` (`id_tipo_movimiento`),
  ADD KEY `id_usuario` (`id_usuario`),
  ADD KEY `id_sucursal` (`id_sucursal`),
  ADD KEY `ec_movimiento_inventario_ibfk_6` (`id_compra`);

--
-- Indices de la tabla `ec_oc`
--
ALTER TABLE `ec_oc`
  ADD PRIMARY KEY (`id_orden_compra`),
  ADD KEY `id_proveedor_ab1_idx` (`id_proveedor`),
  ADD KEY `id_sucursal_ab2_idx` (`id_sucursal`),
  ADD KEY `id_usuario_ab3_idx` (`id_usuario`);

--
-- Indices de la tabla `ec_oc_detalle`
--
ALTER TABLE `ec_oc_detalle`
  ADD PRIMARY KEY (`id_oc_detalle`),
  ADD KEY `id_orden_compra_ac1_idx` (`id_orden_compra`),
  ADD KEY `id_producto_ac2_idx` (`id_producto`);

--
-- Indices de la tabla `ec_previo_detalle_back`
--
ALTER TABLE `ec_previo_detalle_back`
  ADD PRIMARY KEY (`id_previo_detalle_back`);

--
-- Indices de la tabla `ec_productos`
--
ALTER TABLE `ec_productos`
  ADD PRIMARY KEY (`id_productos`);

--
-- Indices de la tabla `ec_proveedor`
--
ALTER TABLE `ec_proveedor`
  ADD PRIMARY KEY (`id_proveedor`),
  ADD KEY `id_sucursal` (`id_sucursal`);

--
-- Indices de la tabla `ec_razon_afiliaciones`
--
ALTER TABLE `ec_razon_afiliaciones`
  ADD PRIMARY KEY (`id_afiliacion`);

--
-- Indices de la tabla `ec_sucursal_producto`
--
ALTER TABLE `ec_sucursal_producto`
  ADD PRIMARY KEY (`id_sucursal_producto`),
  ADD KEY `id_sucursal` (`id_sucursal`),
  ADD KEY `id_producto` (`id_producto`);

--
-- Indices de la tabla `ec_tipos_movimiento`
--
ALTER TABLE `ec_tipos_movimiento`
  ADD PRIMARY KEY (`id_movimiento`);

--
-- Indices de la tabla `ec_tipos_regimenes_fiscales`
--
ALTER TABLE `ec_tipos_regimenes_fiscales`
  ADD PRIMARY KEY (`id_tipo_regimen_fiscal`);

--
-- Indices de la tabla `ec_ventas`
--
ALTER TABLE `ec_ventas`
  ADD PRIMARY KEY (`id_venta`),
  ADD KEY `id_sucursal_aa1_idx` (`id_sucursal`),
  ADD KEY `id_cliente_aa2_idx` (`id_cliente`),
  ADD KEY `id_usuario_aa3_idx` (`id_usuario`);

--
-- Indices de la tabla `ec_ventas_back`
--
ALTER TABLE `ec_ventas_back`
  ADD PRIMARY KEY (`id_venta_back`),
  ADD KEY `id_venta` (`id_venta`);

--
-- Indices de la tabla `ec_venta_tienda_linea`
--
ALTER TABLE `ec_venta_tienda_linea`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `sys_catalogos`
--
ALTER TABLE `sys_catalogos`
  ADD PRIMARY KEY (`id_catalogo`);

--
-- Indices de la tabla `sys_conf_pantalla`
--
ALTER TABLE `sys_conf_pantalla`
  ADD PRIMARY KEY (`id_configuracion_pantalla`),
  ADD KEY `id_plantilla` (`id_plantilla`);

--
-- Indices de la tabla `sys_correos_avisos`
--
ALTER TABLE `sys_correos_avisos`
  ADD PRIMARY KEY (`id_correo_aviso`);

--
-- Indices de la tabla `sys_estados`
--
ALTER TABLE `sys_estados`
  ADD PRIMARY KEY (`id_estado`),
  ADD KEY `id_pais` (`id_pais`);

--
-- Indices de la tabla `sys_grid`
--
ALTER TABLE `sys_grid`
  ADD PRIMARY KEY (`id_grid`);

--
-- Indices de la tabla `sys_grid_detalle`
--
ALTER TABLE `sys_grid_detalle`
  ADD PRIMARY KEY (`id_grid_detalle`);

--
-- Indices de la tabla `sys_groups`
--
ALTER TABLE `sys_groups`
  ADD PRIMARY KEY (`id_grupo`);

--
-- Indices de la tabla `sys_herramientas`
--
ALTER TABLE `sys_herramientas`
  ADD PRIMARY KEY (`id_herramienta`);

--
-- Indices de la tabla `sys_listados`
--
ALTER TABLE `sys_listados`
  ADD PRIMARY KEY (`id_listado`);

--
-- Indices de la tabla `sys_menus`
--
ALTER TABLE `sys_menus`
  ADD PRIMARY KEY (`id_menu`);

--
-- Indices de la tabla `sys_paises`
--
ALTER TABLE `sys_paises`
  ADD PRIMARY KEY (`id_pais`);

--
-- Indices de la tabla `sys_permisos`
--
ALTER TABLE `sys_permisos`
  ADD PRIMARY KEY (`id_permiso`),
  ADD KEY `id_usuario` (`id_usuario`),
  ADD KEY `id_menu` (`id_menu`);

--
-- Indices de la tabla `sys_permisos_funciones`
--
ALTER TABLE `sys_permisos_funciones`
  ADD PRIMARY KEY (`id_permiso_funcion`);

--
-- Indices de la tabla `sys_permisos_funcusers`
--
ALTER TABLE `sys_permisos_funcusers`
  ADD PRIMARY KEY (`id_permiso_funcuser`),
  ADD KEY `id_usuario` (`id_usuario`),
  ADD KEY `id_permiso_funcion` (`id_permiso_funcion`);

--
-- Indices de la tabla `sys_plantilla`
--
ALTER TABLE `sys_plantilla`
  ADD PRIMARY KEY (`id_plantilla`);

--
-- Indices de la tabla `sys_razones_sociales`
--
ALTER TABLE `sys_razones_sociales`
  ADD PRIMARY KEY (`id_razon_social`),
  ADD KEY `id_pais` (`id_pais`),
  ADD KEY `id_estado` (`id_estado`);

--
-- Indices de la tabla `sys_reportes`
--
ALTER TABLE `sys_reportes`
  ADD PRIMARY KEY (`id_reporte`);

--
-- Indices de la tabla `sys_reportes_columnas`
--
ALTER TABLE `sys_reportes_columnas`
  ADD PRIMARY KEY (`id_reporte_columna`);

--
-- Indices de la tabla `sys_sucursales`
--
ALTER TABLE `sys_sucursales`
  ADD PRIMARY KEY (`id_sucursal`),
  ADD KEY `id_precio` (`id_precio`);

--
-- Indices de la tabla `sys_users_sucursales`
--
ALTER TABLE `sys_users_sucursales`
  ADD PRIMARY KEY (`id_user_sucursal`);

--
-- Indices de la tabla `sys_user_groups`
--
ALTER TABLE `sys_user_groups`
  ADD PRIMARY KEY (`id_user_group`);

--
-- AUTO_INCREMENT de la tabla `api_tipo_facturacion`
--
ALTER TABLE `api_tipo_facturacion`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT de la tabla `bitacora_inventarios`
--
ALTER TABLE `bitacora_inventarios`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14403;

--
-- AUTO_INCREMENT de la tabla `cat_Tipo_Persona`
--
ALTER TABLE `cat_Tipo_Persona`
  MODIFY `idTipoPersona` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT de la tabla `ec_cfdi`
--
ALTER TABLE `ec_cfdi`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT de la tabla `ec_clientes`
--
ALTER TABLE `ec_clientes`
  MODIFY `id_cliente` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11771;

--
-- AUTO_INCREMENT de la tabla `ec_clientes_contacto`
--
ALTER TABLE `ec_clientes_contacto`
  MODIFY `id_cliente_contacto` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12436;

--
-- AUTO_INCREMENT de la tabla `ec_clientes_razones_sociales`
--
ALTER TABLE `ec_clientes_razones_sociales`
  MODIFY `id_cliente_rs` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11771;

--
-- AUTO_INCREMENT de la tabla `ec_conf_iva`
--
ALTER TABLE `ec_conf_iva`
  MODIFY `id_conf_iva` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT de la tabla `ec_conf_rs`
--
ALTER TABLE `ec_conf_rs`
  MODIFY `id_rs` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT de la tabla `ec_detalle_compra`
--
ALTER TABLE `ec_detalle_compra`
  MODIFY `id_compra_detalle` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=221;

--
-- AUTO_INCREMENT de la tabla `ec_detalle_movimiento`
--
ALTER TABLE `ec_detalle_movimiento`
  MODIFY `id_detalle_movimiento` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17511;

--
-- AUTO_INCREMENT de la tabla `ec_detalle_pagos`
--
ALTER TABLE `ec_detalle_pagos`
  MODIFY `id_detalle_pagos` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ec_detalle_venta`
--
ALTER TABLE `ec_detalle_venta`
  MODIFY `id_detalle_venta` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15186;

--
-- AUTO_INCREMENT de la tabla `ec_detalle_venta_back`
--
ALTER TABLE `ec_detalle_venta_back`
  MODIFY `id_detalle_venta` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12537;

--
-- AUTO_INCREMENT de la tabla `ec_forma_pago`
--
ALTER TABLE `ec_forma_pago`
  MODIFY `id_forma_pago` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT de la tabla `ec_limites_razon_social`
--
ALTER TABLE `ec_limites_razon_social`
  MODIFY `id_limite_razon_social` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT de la tabla `ec_metodos_pago`
--
ALTER TABLE `ec_metodos_pago`
  MODIFY `id_metodo_pago` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT de la tabla `ec_motivos_cancelacion_factura`
--
ALTER TABLE `ec_motivos_cancelacion_factura`
  MODIFY `id_motivo` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT de la tabla `ec_movimiento_inventario`
--
ALTER TABLE `ec_movimiento_inventario`
  MODIFY `id_movimiento_inventario` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3509;

--
-- AUTO_INCREMENT de la tabla `ec_oc`
--
ALTER TABLE `ec_oc`
  MODIFY `id_orden_compra` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;

--
-- AUTO_INCREMENT de la tabla `ec_oc_detalle`
--
ALTER TABLE `ec_oc_detalle`
  MODIFY `id_oc_detalle` bigint(21) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `ec_previo_detalle_back`
--
ALTER TABLE `ec_previo_detalle_back`
  MODIFY `id_previo_detalle_back` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11800;

--
-- AUTO_INCREMENT de la tabla `ec_proveedor`
--
ALTER TABLE `ec_proveedor`
  MODIFY `id_proveedor` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=40;

--
-- AUTO_INCREMENT de la tabla `ec_razon_afiliaciones`
--
ALTER TABLE `ec_razon_afiliaciones`
  MODIFY `id_afiliacion` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT de la tabla `ec_sucursal_producto`
--
ALTER TABLE `ec_sucursal_producto`
  MODIFY `id_sucursal_producto` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26443;

--
-- AUTO_INCREMENT de la tabla `ec_tipos_movimiento`
--
ALTER TABLE `ec_tipos_movimiento`
  MODIFY `id_movimiento` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT de la tabla `ec_tipos_regimenes_fiscales`
--
ALTER TABLE `ec_tipos_regimenes_fiscales`
  MODIFY `id_tipo_regimen_fiscal` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

--
-- AUTO_INCREMENT de la tabla `ec_ventas`
--
ALTER TABLE `ec_ventas`
  MODIFY `id_venta` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3475;

--
-- AUTO_INCREMENT de la tabla `ec_ventas_back`
--
ALTER TABLE `ec_ventas_back`
  MODIFY `id_venta_back` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3663;

--
-- AUTO_INCREMENT de la tabla `ec_venta_tienda_linea`
--
ALTER TABLE `ec_venta_tienda_linea`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `sys_catalogos`
--
ALTER TABLE `sys_catalogos`
  MODIFY `id_catalogo` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=722;

--
-- AUTO_INCREMENT de la tabla `sys_conf_pantalla`
--
ALTER TABLE `sys_conf_pantalla`
  MODIFY `id_configuracion_pantalla` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT de la tabla `sys_correos_avisos`
--
ALTER TABLE `sys_correos_avisos`
  MODIFY `id_correo_aviso` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT de la tabla `sys_estados`
--
ALTER TABLE `sys_estados`
  MODIFY `id_estado` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;

--
-- AUTO_INCREMENT de la tabla `sys_grid`
--
ALTER TABLE `sys_grid`
  MODIFY `id_grid` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=53;

--
-- AUTO_INCREMENT de la tabla `sys_grid_detalle`
--
ALTER TABLE `sys_grid_detalle`
  MODIFY `id_grid_detalle` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=397;

--
-- AUTO_INCREMENT de la tabla `sys_groups`
--
ALTER TABLE `sys_groups`
  MODIFY `id_grupo` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `sys_herramientas`
--
ALTER TABLE `sys_herramientas`
  MODIFY `id_herramienta` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT de la tabla `sys_listados`
--
ALTER TABLE `sys_listados`
  MODIFY `id_listado` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=86;

--
-- AUTO_INCREMENT de la tabla `sys_menus`
--
ALTER TABLE `sys_menus`
  MODIFY `id_menu` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=135;

--
-- AUTO_INCREMENT de la tabla `sys_paises`
--
ALTER TABLE `sys_paises`
  MODIFY `id_pais` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT de la tabla `sys_permisos`
--
ALTER TABLE `sys_permisos`
  MODIFY `id_permiso` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=937;

--
-- AUTO_INCREMENT de la tabla `sys_permisos_funciones`
--
ALTER TABLE `sys_permisos_funciones`
  MODIFY `id_permiso_funcion` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT de la tabla `sys_permisos_funcusers`
--
ALTER TABLE `sys_permisos_funcusers`
  MODIFY `id_permiso_funcuser` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT de la tabla `sys_plantilla`
--
ALTER TABLE `sys_plantilla`
  MODIFY `id_plantilla` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT de la tabla `sys_razones_sociales`
--
ALTER TABLE `sys_razones_sociales`
  MODIFY `id_razon_social` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT de la tabla `sys_reportes`
--
ALTER TABLE `sys_reportes`
  MODIFY `id_reporte` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;

--
-- AUTO_INCREMENT de la tabla `sys_reportes_columnas`
--
ALTER TABLE `sys_reportes_columnas`
  MODIFY `id_reporte_columna` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=181;

--
-- AUTO_INCREMENT de la tabla `sys_sucursales`
--
ALTER TABLE `sys_sucursales`
  MODIFY `id_sucursal` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT de la tabla `sys_users_sucursales`
--
ALTER TABLE `sys_users_sucursales`
  MODIFY `id_user_sucursal` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT de la tabla `sys_user_groups`
--
ALTER TABLE `sys_user_groups`
  MODIFY `id_user_group` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- Restricciones para tablas volcadas
--

--
-- Filtros para la tabla `ec_clientes`
--
ALTER TABLE `ec_clientes`
  ADD CONSTRAINT `ec_clientes_ibfk_1` FOREIGN KEY (`id_sucursal`) REFERENCES `sys_sucursales` (`id_sucursal`) ON UPDATE CASCADE;

--
-- Filtros para la tabla `ec_clientes_razones_sociales`
--
ALTER TABLE `ec_clientes_razones_sociales`
  ADD CONSTRAINT `ec_clientes_razones_sociales_ibfk_1` FOREIGN KEY (`id_cliente`) REFERENCES `ec_clientes` (`id_cliente`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Filtros para la tabla `ec_detalle_movimiento`
--
ALTER TABLE `ec_detalle_movimiento`
  ADD CONSTRAINT `dm_fk2` FOREIGN KEY (`id_producto`) REFERENCES `ec_productos` (`id_productos`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `id_movimintoxxxx07` FOREIGN KEY (`id_movimiento_inventario`) REFERENCES `ec_movimiento_inventario` (`id_movimiento_inventario`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Filtros para la tabla `ec_detalle_venta`
--
ALTER TABLE `ec_detalle_venta`
  ADD CONSTRAINT `id_producto_aa4` FOREIGN KEY (`id_producto`) REFERENCES `ec_productos` (`id_productos`) ON UPDATE CASCADE,
  ADD CONSTRAINT `id_venta_zzz09` FOREIGN KEY (`id_venta`) REFERENCES `ec_ventas` (`id_venta`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Filtros para la tabla `ec_movimiento_inventario`
--
ALTER TABLE `ec_movimiento_inventario`
  ADD CONSTRAINT `ec_movimiento_inventario_ibfk_2` FOREIGN KEY (`id_venta`) REFERENCES `ec_ventas` (`id_venta`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `ec_movimiento_inventario_ibfk_3` FOREIGN KEY (`id_tipo_movimiento`) REFERENCES `ec_tipos_movimiento` (`id_movimiento`),
  ADD CONSTRAINT `ec_movimiento_inventario_ibfk_4` FOREIGN KEY (`id_usuario`) REFERENCES `sys_users` (`id_usuario`),
  ADD CONSTRAINT `ec_movimiento_inventario_ibfk_5` FOREIGN KEY (`id_sucursal`) REFERENCES `sys_sucursales` (`id_sucursal`),
  ADD CONSTRAINT `ec_movimiento_inventario_ibfk_6` FOREIGN KEY (`id_compra`) REFERENCES `ec_oc` (`id_orden_compra`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Filtros para la tabla `ec_oc`
--
ALTER TABLE `ec_oc`
  ADD CONSTRAINT `id_proveedor_ab1` FOREIGN KEY (`id_proveedor`) REFERENCES `ec_proveedor` (`id_proveedor`) ON UPDATE CASCADE,
  ADD CONSTRAINT `id_sucursal_ab2` FOREIGN KEY (`id_sucursal`) REFERENCES `sys_sucursales` (`id_sucursal`) ON UPDATE CASCADE,
  ADD CONSTRAINT `id_usuario_ab3` FOREIGN KEY (`id_usuario`) REFERENCES `sys_users` (`id_usuario`) ON UPDATE CASCADE;

--
-- Filtros para la tabla `ec_oc_detalle`
--
ALTER TABLE `ec_oc_detalle`
  ADD CONSTRAINT `id_orden_compra_ac1` FOREIGN KEY (`id_orden_compra`) REFERENCES `ec_oc` (`id_orden_compra`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `id_producto_ac2` FOREIGN KEY (`id_producto`) REFERENCES `ec_productos` (`id_productos`) ON UPDATE CASCADE;

--
-- Filtros para la tabla `ec_proveedor`
--
ALTER TABLE `ec_proveedor`
  ADD CONSTRAINT `ec_proveedor_ibfk_3` FOREIGN KEY (`id_sucursal`) REFERENCES `sys_sucursales` (`id_sucursal`) ON UPDATE CASCADE;

--
-- Filtros para la tabla `ec_sucursal_producto`
--
ALTER TABLE `ec_sucursal_producto`
  ADD CONSTRAINT `ec_sucursal_producto_ibfk_1` FOREIGN KEY (`id_sucursal`) REFERENCES `sys_sucursales` (`id_sucursal`),
  ADD CONSTRAINT `ec_sucursal_producto_ibfk_2` FOREIGN KEY (`id_producto`) REFERENCES `ec_productos` (`id_productos`);

--
-- Filtros para la tabla `ec_ventas`
--
ALTER TABLE `ec_ventas`
  ADD CONSTRAINT `id_cliente_aa2` FOREIGN KEY (`id_cliente`) REFERENCES `ec_clientes` (`id_cliente`) ON UPDATE CASCADE,
  ADD CONSTRAINT `id_sucursal_aa1` FOREIGN KEY (`id_sucursal`) REFERENCES `sys_sucursales` (`id_sucursal`) ON UPDATE CASCADE,
  ADD CONSTRAINT `id_usuario_aa3` FOREIGN KEY (`id_usuario`) REFERENCES `sys_users` (`id_usuario`) ON UPDATE CASCADE;
COMMIT;

