DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `srt`.`expedition_reset`()
BEGIN
	
	DELETE FROM srt.moving;
	DELETE FROM srt.expedition;

	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(3223666, NULL, 280.00, 900.00, 280.00, NULL, NULL, 1, '2021-08-25 11:32:16.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4634827, NULL, 320.01, 1008.00, 330.00, 10, 54, 5, '2021-07-15 10:28:21.0', '2021-08-27 14:16:32.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4634836, NULL, 310.01, 1110.00, 300.00, 2, 3, 5, '2021-07-15 10:31:45.0', '2021-08-27 12:07:46.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4634840, NULL, 300.01, 1000.00, 230.00, 13, 2, 5, '2021-07-15 10:32:13.0', '2021-08-27 13:03:48.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4634871, NULL, 320.01, 1080.00, 330.00, 2, 4, 5, '2021-07-15 10:36:30.0', '2021-08-27 12:07:46.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4634872, NULL, 300.00, 900.00, 250.00, 5, 1, 5, '2021-07-15 10:36:49.0', '2021-08-27 12:29:57.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4637714, NULL, 260.01, 520.00, 210.00, NULL, NULL, 1, '2021-07-16 09:43:46.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4637715, NULL, 260.01, 520.00, 210.00, NULL, NULL, 1, '2021-07-16 09:43:51.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4637716, NULL, 260.01, 520.00, 210.00, 9, 1, 4, '2021-07-16 09:43:55.0', '2021-08-27 12:08:33.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651292, NULL, 250.01, 1010.00, 150.00, NULL, NULL, 1, '2021-07-22 09:00:56.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651293, NULL, 300.01, 980.00, 160.00, 0, 1, 5, '2021-07-22 09:03:44.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651295, NULL, 490.01, 1180.00, 250.00, 0, 1, 5, '2021-07-22 09:07:08.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651298, NULL, 260.01, 1040.00, 240.00, 0, 1, 5, '2021-07-22 09:15:57.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651300, NULL, 490.01, 1180.00, 250.00, 0, 1, 5, '2021-07-22 09:17:06.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651302, NULL, 490.01, 1180.00, 250.00, NULL, NULL, 1, '2021-07-22 09:18:04.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651303, NULL, 370.01, 840.00, 180.00, 0, 1, 5, '2021-07-22 09:19:45.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651304, NULL, 260.01, 1040.00, 260.00, 0, 1, 5, '2021-07-22 09:21:07.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651305, NULL, 260.01, 1040.00, 260.00, 2, 7, 5, '2021-07-22 09:23:26.0', '2021-08-27 12:07:46.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651306, NULL, 260.01, 1040.00, 260.00, NULL, NULL, 6, '2021-07-22 09:23:26.0', '2021-08-27 10:01:00.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651307, NULL, 490.01, 1180.00, 250.00, 26, 30, 5, '2021-07-22 09:24:57.0', '2021-08-27 14:08:37.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651308, NULL, 330.01, 1000.00, 170.00, 0, 1, 5, '2021-07-22 09:27:08.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651309, NULL, 290.01, 940.00, 230.00, NULL, NULL, 1, '2021-07-22 09:29:12.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651310, NULL, 290.01, 940.00, 230.00, 10, 1, 5, '2021-07-22 09:30:55.0', '2021-08-27 14:16:32.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651311, NULL, 290.01, 940.00, 230.00, 0, 1, 5, '2021-07-22 09:30:55.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651313, NULL, 490.01, 1180.00, 250.00, NULL, NULL, 6, '2021-07-22 09:32:43.0', '2021-08-27 10:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651314, NULL, 300.00, 900.00, 150.00, 13, 3, 5, '2021-07-22 09:34:20.0', '2021-08-27 13:03:48.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651317, NULL, 330.01, 960.00, 300.00, 0, 1, 5, '2021-07-22 09:35:38.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651321, NULL, 490.01, 1180.00, 250.00, 0, 1, 5, '2021-07-22 09:38:58.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651326, NULL, 260.01, 1040.00, 240.00, 0, 1, 5, '2021-07-22 09:41:42.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651327, NULL, 330.01, 960.00, 300.00, 0, 1, 5, '2021-07-22 09:42:51.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651329, NULL, 300.00, 900.00, 150.00, NULL, NULL, 6, '2021-07-22 09:43:54.0', '2021-08-27 10:01:00.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651333, NULL, 300.01, 1000.00, 230.00, 16, 1, 5, '2021-07-22 09:45:50.0', '2021-08-27 14:16:34.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651335, NULL, 300.01, 1000.00, 230.00, NULL, NULL, 6, '2021-07-22 09:47:25.0', '2021-08-27 10:01:00.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651337, NULL, 330.01, 960.00, 300.00, NULL, NULL, 6, '2021-07-22 09:48:15.0', '2021-08-27 10:01:00.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651342, NULL, 490.01, 1180.00, 250.00, NULL, NULL, 6, '2021-07-22 09:50:56.0', '2021-08-27 10:11:00.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651343, NULL, 490.01, 1180.00, 260.00, 26, 31, 5, '2021-07-22 09:52:18.0', '2021-08-27 14:08:37.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651356, NULL, 290.01, 940.00, 230.00, NULL, NULL, 6, '2021-07-22 09:54:35.0', '2021-08-27 10:01:00.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4651357, NULL, 300.00, 900.00, 150.00, 0, 1, 5, '2021-07-22 09:54:40.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4682051, NULL, 490.00, 1180.00, 260.00, 0, 1, 5, '2021-08-16 08:58:17.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4682052, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 1, '2021-08-16 08:58:17.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4682262, NULL, 490.00, 1180.00, 260.00, 0, 1, 5, '2021-08-16 08:58:17.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4691609, NULL, 280.00, 900.00, 280.00, 17, 1, 5, '2021-08-10 09:43:05.0', '2021-08-27 14:16:27.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4691611, NULL, 280.00, 600.00, 700.00, NULL, NULL, 1, '2021-08-10 09:53:22.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4691612, NULL, 280.00, 500.00, 430.00, 6, 1, 4, '2021-08-10 09:56:31.0', '2021-08-27 14:16:33.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4691617, NULL, 280.00, 600.00, 700.00, NULL, NULL, 6, '2021-08-10 09:59:39.0', '2021-08-27 10:36:36.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4691618, NULL, 330.00, 590.00, 650.00, 18, 1, 5, '2021-08-10 10:02:48.0', '2021-08-27 12:22:15.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4691892, NULL, 280.00, 600.00, 800.00, NULL, NULL, 1, '2021-08-10 11:52:12.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4691895, NULL, 280.00, 600.00, 900.00, NULL, NULL, 1, '2021-08-10 11:52:56.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4691974, NULL, 330.00, 590.00, 1200.00, NULL, NULL, 1, '2021-08-10 12:18:20.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4691990, NULL, 330.00, 590.00, 1200.00, NULL, NULL, 1, '2021-08-10 12:23:34.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4701752, NULL, 490.00, 1180.00, 260.00, 27, 43, 5, '2021-08-16 07:55:04.0', '2021-08-27 14:08:31.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4701753, NULL, 490.00, 1180.00, 260.00, 27, 44, 5, '2021-08-16 08:15:21.0', '2021-08-27 14:08:31.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4701754, NULL, 490.00, 1180.00, 260.00, 27, 42, 5, '2021-08-16 08:18:48.0', '2021-08-27 14:08:31.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4701755, NULL, 490.00, 1180.00, 260.00, 27, 46, 5, '2021-08-16 08:18:52.0', '2021-08-27 14:08:31.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4701756, NULL, 490.00, 1180.00, 260.00, 0, 1, 5, '2021-08-16 08:26:38.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4701757, NULL, 490.00, 1180.00, 260.00, 31, 1, 4, '2021-08-16 08:29:07.0', '2021-08-27 14:16:11.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4701758, NULL, 490.00, 1180.00, 260.00, 0, 1, 5, '2021-08-16 08:41:56.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4701759, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 6, '2021-08-16 08:45:52.0', '2021-08-27 09:28:11.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4701760, NULL, 490.00, 1180.00, 260.00, 27, 45, 5, '2021-08-16 08:45:54.0', '2021-08-27 14:08:31.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4701761, NULL, 490.00, 1180.00, 260.00, 28, 44, 5, '2021-08-16 08:45:54.0', '2021-08-27 14:16:27.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4701762, NULL, 490.00, 1180.00, 260.00, 0, 1, 5, '2021-08-16 08:55:14.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4701763, NULL, 490.00, 1180.00, 260.00, 26, 27, 5, '2021-08-16 08:58:17.0', '2021-08-27 14:08:37.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4701764, NULL, 490.00, 1180.00, 260.00, 26, 26, 5, '2021-08-16 09:04:36.0', '2021-08-27 14:08:37.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4701765, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 6, '2021-08-16 09:06:22.0', '2021-08-27 12:44:44.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4704297, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 1, '2021-08-16 16:52:11.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4704312, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 1, '2021-08-16 16:55:02.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4704345, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 1, '2021-08-16 17:00:36.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4708347, NULL, 300.00, 900.00, 150.00, NULL, NULL, 1, '2021-08-18 11:38:42.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4710866, NULL, 280.00, 600.00, 900.00, 0, 1, 5, '2021-08-19 07:40:52.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4710867, NULL, 280.00, 600.00, 900.00, NULL, NULL, 1, '2021-08-19 07:44:27.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4710868, NULL, 280.00, 600.00, 900.00, NULL, NULL, 1, '2021-08-19 07:45:47.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4710869, NULL, 280.00, 600.00, 900.00, NULL, NULL, 1, '2021-08-19 07:48:06.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4710870, NULL, 280.00, 600.00, 900.00, 0, 1, 5, '2021-08-19 07:50:36.0', '2021-08-27 13:08:45.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4710871, NULL, 280.00, 600.00, 900.00, NULL, NULL, 1, '2021-08-19 07:53:33.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4710872, NULL, 280.00, 600.00, 900.00, NULL, NULL, 1, '2021-08-19 07:56:13.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4710873, NULL, 280.00, 600.00, 900.00, NULL, NULL, 1, '2021-08-19 07:58:42.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4710874, NULL, 280.00, 600.00, 900.00, NULL, NULL, 1, '2021-08-19 08:00:10.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4710875, NULL, 280.00, 600.00, 900.00, NULL, NULL, 1, '2021-08-19 08:02:33.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4710876, NULL, 280.00, 600.00, 900.00, NULL, NULL, 1, '2021-08-19 08:05:59.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4710877, NULL, 280.00, 600.00, 900.00, NULL, NULL, 1, '2021-08-19 08:08:27.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4724421, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 1, '2021-08-25 11:33:31.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4724454, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 1, '2021-08-25 11:37:58.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4724463, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 1, '2021-08-25 11:39:45.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4724474, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 1, '2021-08-25 11:42:08.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4724484, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 1, '2021-08-25 11:43:21.0', '2021-08-27 08:41:01.0');
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4730464, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 1, '2021-08-27 09:57:17.0', NULL);
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4730467, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 1, '2021-08-27 10:04:06.0', NULL);
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4730472, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 1, '2021-08-27 10:27:15.0', NULL);
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4730473, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 1, '2021-08-27 10:27:27.0', NULL);
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4730474, NULL, 490.00, 1180.00, 260.00, NULL, NULL, 1, '2021-08-27 10:30:13.0', NULL);
	INSERT INTO srt.expedition
	(id, weight, width, `length`, height, bufferFk, `position`, stateFk, created, updated)
	VALUES(4730476, NULL, 490.00, 1180.00, 260.00, 23, 1, 5, '2021-08-27 10:35:28.0', '2021-08-27 14:16:09.0');

	UPDATE srt.expedition e 
		JOIN srt.expeditionState es ON es.description = 'PRINTED'
		SET e.stateFk = es.id,
			e.weight = NULL,
			e.bufferFk = NULL,
			e.`position` = NULL;
            
	UPDATE srt.buffer b
		JOIN srt.bufferState bs on bs.id = b.stateFk
		SET stateFk = bs.id
        WHERE bs.description = 'FREE';
       
    UPDATE srt.config 
    	SET isRandomMoving = FALSE;
    
    SET @dm := (24 * 60) - 10;
   
    UPDATE vn.roadmapStop rs 
   		SET rs.eta = timestampadd(MINUTE ,@dm := 1 + @dm,util.VN_CURDATE())
   		WHERE description LIKE 'PRU%' ;
   	
   	DELETE FROM srt.movingLog ;
   
   	DELETE FROM srt.expeditionLog WHERE created < timestampadd(week,-1,util.VN_CURDATE());
    
		
END$$
DELIMITER ;
