INSERT INTO hp_activity_log_archive (`activityId`,`teamId`,`addedby`,`leadId`,`activity`,`type`,`last_insert_Id`,`dated`) VALUES
("25137","405","813","1395808","SMS : Sent","sms","12999","2016-01-03 16:48:50"),
("25138","405","813","1395808","SMS : Received","sms","13000","2016-01-03 16:50:10"),
("25139","405","813","1395808","SMS : Sent","sms","13001","2016-01-03 16:50:10"),
("25140","405","813","1395808","SMS : Received","sms","13002","2016-01-03 16:50:31"),
("25141","405","813","1395808","SMS : Sent","sms","13003","2016-01-03 16:50:31"),
("25142","405","813","1395808","SMS : Received","sms","13004","2016-01-03 16:50:51"),
("25143","405","813","1395808","SMS : Sent","sms","13005","2016-01-03 16:50:51"),
("25144","405","813","1395808","SMS : Received","sms","13006","2016-01-03 16:51:06"),
("25145","405","813","1395808","SMS : Sent","sms","13007","2016-01-03 16:51:06"),
("25146","405","813","1395808","SMS : Received","sms","13008","2016-01-03 16:51:29"),
("25147","405","813","1395808","SMS : Sent","sms","13009","2016-01-03 16:51:29"),
("26101","405","405","1395808","OUTBOUND CALL : Initiated","outbound","5004","2016-01-04 15:32:02"),
("37178","405","405","1413195","OUTBOUND CALL : Initiated","outbound","5089","2016-01-05 07:19:30"),
("37181","405","405","1413195","OUTBOUND CALL : Initiated","outbound","5090","2016-01-05 07:20:13"),
("37593","405","405","974991","OUTBOUND CALL : Initiated","outbound","5326","2016-01-05 12:06:34"),
("37599","405","405","974993","OUTBOUND CALL : Initiated","outbound","5329","2016-01-05 12:08:11"),
("37617","405","405","1415306","OUTBOUND CALL : Initiated","outbound","5337","2016-01-05 12:12:26"),
("37640","405","405","1415306","OUTBOUND CALL : Initiated","outbound","5351","2016-01-05 12:21:08"),
("49467","405","813","1438427","SMS : Sent","sms","13249","2016-01-06 14:53:42"),
("49473","405","813","1438427","SMS : Received","sms","13250","2016-01-06 14:55:53"),
("49474","405","813","1438427","SMS : Sent","sms","13251","2016-01-06 14:55:53"),
("49476","405","813","1438427","SMS : Received","sms","13252","2016-01-06 14:56:03"),
("49477","405","813","1438427","SMS : Sent","sms","13253","2016-01-06 14:56:03"),
("49479","405","813","1438427","SMS : Received","sms","13254","2016-01-06 14:56:36"),
("49480","405","813","1438427","SMS : Sent","sms","13255","2016-01-06 14:56:36"),
("49481","405","813","1438427","SMS : Received","sms","13256","2016-01-06 14:56:46"),
("49482","405","813","1438427","SMS : Sent","sms","13257","2016-01-06 14:56:46"),
("49483","405","813","1438427","SMS : Received","sms","13258","2016-01-06 14:57:01"),
("49484","405","813","1438427","SMS : Sent","sms","13259","2016-01-06 14:57:02"),
("49485","405","813","1438427","SMS : Received","sms","13260","2016-01-06 14:57:22"),
("49486","405","813","1438427","SMS : Sent","sms","13261","2016-01-06 14:57:22"),
("49487","405","813","1438427","SMS : Received","sms","13262","2016-01-06 14:57:34"),
("49488","405","813","1438427","SMS : Sent","sms","13263","2016-01-06 14:57:34"),
("49489","405","813","1438428","SMS : Received","sms","13264","2016-01-06 14:58:03"),
("49490","405","813","1438428","SMS : Sent","sms","13265","2016-01-06 14:58:03"),
("49996","405","405","1443723","INBOUND CALL : Received","inbound","5121","2016-01-07 10:49:24"),
("58743","405","405","368219","Deal Status Updated","status","368219","2016-01-13 16:50:59"),
("58744","405","405","368219","Deal Status Updated","status","368219","2016-01-13 16:50:59"),
("62914","405","405","368217","EMAIL : Sent","email","259460","2016-01-18 16:59:34"),
("64862","405","405","1415306","INBOUND CALL : Received","inbound","7039","2016-01-19 15:31:09"),
("64863","405","405","1415306","VOICE MAIL : Received","voicemail","1614","2016-01-19 15:31:51"),
("64869","405","813","1415306","SMS : Sent","sms","35013","2016-01-19 15:33:04"),
("64877","405","813","1415306","SMS : Received","sms","35014","2016-01-19 15:34:54"),
("64878","405","813","1415306","SMS : Sent","sms","35015","2016-01-19 15:34:54"),
("64879","405","813","1415306","SMS : Received","sms","35016","2016-01-19 15:35:02"),
("64880","405","813","1415306","SMS : Sent","sms","35017","2016-01-19 15:35:02"),
("64881","405","813","1415306","SMS : Received","sms","35018","2016-01-19 15:35:15"),
("64882","405","813","1415306","SMS : Sent","sms","35019","2016-01-19 15:35:15"),
("64886","405","813","1415306","SMS : Received","sms","35020","2016-01-19 15:35:25"),
("64887","405","813","1415306","SMS : Sent","sms","35021","2016-01-19 15:35:25"),
("64890","405","813","1415306","SMS : Received","sms","35022","2016-01-19 15:35:42"),
("64891","405","813","1415306","SMS : Sent","sms","35023","2016-01-19 15:35:42"),
("64923","405","405","1658515","INBOUND CALL : Received","inbound","7051","2016-01-19 15:57:31"),
("69860","405","405","368192","OUTBOUND CALL : Initiated","outbound","11346","2016-01-22 10:13:57"),
("70548","405","405","368199","EMAIL : Sent","email","284787","2016-01-22 15:45:45"),
("70582","405","405","368199","EMAIL : Sent","email","285407","2016-01-22 16:25:43"),
("70598","405","405","368201","EMAIL : Sent","email","285411","2016-01-22 16:49:23"),
("71720","405","405","1701286","EMAIL : Sent","email","288815","2016-01-25 10:44:12"),
("71806","405","405","368217","EMAIL : Sent","email","288833","2016-01-25 11:23:41"),
("71840","405","405","368217","EMAIL : Sent","email","288840","2016-01-25 11:36:52"),
("72279","405","405","368217","EMAIL : Sent","email","289268","2016-01-25 14:59:33"),
("72316","405","405","368217","EMAIL : Sent","email","290047","2016-01-25 16:06:57"),
("72325","405","405","368217","EMAIL : Sent","email","290048","2016-01-25 16:14:51"),
("73008","405","405","368217","EMAIL : Sent","email","292769","2016-01-26 10:50:38"),
("73702","405","405","368217","EMAIL : Sent","email","294084","2016-01-26 16:18:23"),
("73713","405","405","368217","EMAIL : Sent","email","294085","2016-01-26 16:30:34"),
("73752","405","405","368217","EMAIL : Sent","email","294105","2016-01-26 16:58:01"),
("73753","405","405","368217","EMAIL : Sent","email","294106","2016-01-26 17:02:47"),
("75754","405","405","368217","EMAIL : Sent","email","298796","2016-01-27 15:24:59"),
("75762","405","405","368217","EMAIL : Sent","email","298799","2016-01-27 15:33:01"),
("75791","405","405","368217","EMAIL : Sent","email","298985","2016-01-27 16:08:22"),
("75851","405","405","368217","EMAIL : Sent","email","299003","2016-01-27 17:14:21"),
("75869","405","405","368217","EMAIL : Sent","email","299818","2016-01-27 19:00:44"),
("75870","405","405","368217","EMAIL : Sent","email","299819","2016-01-27 19:01:11"),
("75875","405","405","368217","EMAIL : Sent","email","299824","2016-01-27 19:33:10"),
("75879","405","405","368217","EMAIL : Sent","email","299825","2016-01-27 19:43:12"),
("75893","405","405","368217","EMAIL : Sent","email","299832","2016-01-27 19:55:24"),
("75899","405","405","368217","EMAIL : Sent","email","299834","2016-01-27 20:02:31"),
("75904","405","405","368217","EMAIL : Sent","email","299835","2016-01-27 20:13:12"),
("75908","405","405","368217","EMAIL : Sent","email","299838","2016-01-27 20:20:08"),
("75911","405","405","368217","EMAIL : Sent","email","299841","2016-01-27 20:30:20"),
("77687","405","405","368217","EMAIL : Sent","email","310029","2016-01-28 15:08:46"),
("77726","405","405","368218","OUTBOUND CALL : Initiated","outbound","14862","2016-01-28 15:47:00"),
("77757","405","405","368220","OUTBOUND CALL : Initiated","outbound","14880","2016-01-28 16:06:42"),
("89164","405","813","368199","SMS : Sent","sms","63236","2016-02-03 13:35:37"),
("89176","405","813","368199","SMS : Received","sms","63237","2016-02-03 13:37:34"),
("89177","405","813","368199","SMS : Sent","sms","63238","2016-02-03 13:37:34"),
("89179","405","813","368199","SMS : Received","sms","63239","2016-02-03 13:37:44"),
("89180","405","813","368199","SMS : Sent","sms","63240","2016-02-03 13:37:44"),
("89182","405","813","368199","SMS : Received","sms","63241","2016-02-03 13:37:58"),
("89183","405","813","368199","SMS : Sent","sms","63242","2016-02-03 13:37:58"),
("89184","405","813","368199","SMS : Received","sms","63243","2016-02-03 13:38:06"),
("89185","405","813","368199","SMS : Sent","sms","63244","2016-02-03 13:38:06"),
("89190","405","813","368199","SMS : Received","sms","63245","2016-02-03 13:38:32"),
("89191","405","813","368199","SMS : Sent","sms","63246","2016-02-03 13:38:32"),
("92556","405","405","368199","EMAIL : Sent","email","388839","2016-02-05 11:09:58"),
("92558","405","405","368199","EMAIL : Sent","email","388910","2016-02-05 11:10:46"),
("92560","405","405","368199","EMAIL : Sent","email","388951","2016-02-05 11:11:10"),
("101116","405","813","2205070","SMS : Sent","sms","73535","2016-02-14 16:16:55"),
("102785","405","405","2263741","EMAIL : Sent","email","433698","2016-02-15 22:03:51"),
("102789","405","405","2263744","EMAIL : Sent","email","433702","2016-02-15 22:20:12"),
("114137","405","813","2205070","SMS : Sent","sms","94581","2016-02-19 12:56:03"),
("114138","405","813","2205070","SMS : Received","sms","94582","2016-02-19 12:57:48"),
("114139","405","813","2205070","SMS : Sent","sms","94583","2016-02-19 12:57:48"),
("114140","405","813","2205070","SMS : Sent","sms","94584","2016-02-19 12:57:52"),
("114141","405","813","2205070","SMS : Received","sms","94585","2016-02-19 12:58:08"),
("114142","405","813","2205070","SMS : Sent","sms","94586","2016-02-19 12:58:08"),
("114143","405","813","2205070","SMS : Received","sms","94587","2016-02-19 12:58:18"),
("114144","405","813","2205070","SMS : Sent","sms","94588","2016-02-19 12:58:18"),
("114145","405","813","2205070","SMS : Received","sms","94589","2016-02-19 12:59:14"),
("114146","405","813","2205070","SMS : Sent","sms","94590","2016-02-19 12:59:14"),
("114148","405","813","2205070","SMS : Received","sms","94591","2016-02-19 12:59:22"),
("114149","405","813","2205070","SMS : Sent","sms","94592","2016-02-19 12:59:22"),
("114151","405","813","2205070","SMS : Received","sms","94593","2016-02-19 12:59:42"),
("114152","405","813","2205070","SMS : Sent","sms","94594","2016-02-19 12:59:42"),
("115851","405","405","2347855","EMAIL : Sent","email","486585","2016-02-21 09:05:38"),
("115852","405","405","2347855","EMAIL : Sent","email","486586","2016-02-21 09:06:07"),
("115853","405","405","2347855","EMAIL : Sent","email","486587","2016-02-21 09:07:05"),
("115854","405","405","2347855","EMAIL : Sent","email","486588","2016-02-21 09:07:19"),
("115859","405","405","2347855","INBOUND CALL : Received","inbound","12492","2016-02-21 09:37:43"),
("115860","405","405","2347855","VOICE MAIL : Received","voicemail","2875","2016-02-21 09:38:25"),
("115863","405","405","2347855","INBOUND CALL : Received","inbound","12494","2016-02-21 09:53:48"),
("115872","405","405","2347855","EMAIL : Sent","email","486810","2016-02-21 13:03:37"),
("115873","405","405","2347855","EMAIL : Sent","email","486811","2016-02-21 13:04:32"),
("115876","405","405","2347855","EMAIL : Sent","email","486817","2016-02-21 13:43:28"),
("115878","405","405","2347855","EMAIL : Sent","email","486818","2016-02-21 13:50:03"),
("115879","405","405","2347855","EMAIL : Sent","email","486819","2016-02-21 14:04:49"),
("115881","405","405","2347855","EMAIL : Sent","email","486820","2016-02-21 14:12:58"),
("115882","405","405","2347855","EMAIL : Sent","email","486821","2016-02-21 14:18:06"),
("115883","405","405","2347855","EMAIL : Sent","email","486822","2016-02-21 14:33:22"),
("115888","405","405","975092","EMAIL : Sent","email","486827","2016-02-21 14:46:27"),
("115892","405","405","975092","EMAIL : Sent","email","486831","2016-02-21 14:49:23"),
("115893","405","405","975092","EMAIL : Sent","email","486832","2016-02-21 14:49:46"),
("115894","405","405","975092","EMAIL : Sent","email","486833","2016-02-21 14:52:11"),
("115895","405","405","975092","EMAIL : Sent","email","486834","2016-02-21 14:57:38"),
("115897","405","405","2347855","EMAIL : Sent","email","486835","2016-02-21 15:12:35"),
("115898","405","405","2347855","EMAIL : Sent","email","486840","2016-02-21 15:25:31"),
("115903","405","405","2347855","EMAIL : Sent","email","486843","2016-02-21 15:54:12"),
("115904","405","405","2347855","EMAIL : Sent","email","486844","2016-02-21 15:54:27"),
("115905","405","405","2347855","EMAIL : Sent","email","486845","2016-02-21 15:54:47"),
("115906","405","405","2347855","EMAIL : Sent","email","486846","2016-02-21 15:55:00"),
("115911","405","405","2347855","EMAIL : Sent","email","486847","2016-02-21 16:06:25"),
("115912","405","405","2347855","EMAIL : Sent","email","486848","2016-02-21 16:09:41"),
("129843","405","405","2347855","EMAIL : Sent","email","535416","2016-02-26 15:01:24"),
("134181","405","405","2347855","OUTBOUND CALL : Initiated","outbound","34907","2016-02-28 15:27:47"),
("141850","405","813","2347855","SMS : Sent","sms","113710","2016-03-01 12:58:26"),
("141853","405","813","2347855","SMS : Received","sms","113711","2016-03-01 13:00:30"),
("141854","405","813","2347855","SMS : Sent","sms","113712","2016-03-01 13:00:30"),
("141855","405","813","2347855","SMS : Received","sms","113713","2016-03-01 13:00:39"),
("141856","405","813","2347855","SMS : Sent","sms","113714","2016-03-01 13:00:39");
INSERT INTO hp_activity_log_archive (`activityId`,`teamId`,`addedby`,`leadId`,`activity`,`type`,`last_insert_Id`,`dated`) VALUES
("141857","405","813","2347855","SMS : Received","sms","113715","2016-03-01 13:01:37"),
("141858","405","813","2347855","SMS : Sent","sms","113716","2016-03-01 13:01:37"),
("141859","405","813","2347855","SMS : Received","sms","113717","2016-03-01 13:01:46"),
("141860","405","813","2347855","SMS : Sent","sms","113718","2016-03-01 13:01:46"),
("141863","405","813","2347855","SMS : Received","sms","113719","2016-03-01 13:02:02"),
("141864","405","813","2347855","SMS : Sent","sms","113720","2016-03-01 13:02:02"),
("146230","405","405","2347855","EMAIL : Sent","email","576393","2016-03-02 15:39:53"),
("146257","405","405","2347855","EMAIL : Sent","email","576395","2016-03-02 15:45:53"),
("146265","405","405","2347855","EMAIL : Sent","email","576396","2016-03-02 15:47:40"),
("146290","405","405","2347855","EMAIL : Sent","email","576401","2016-03-02 15:55:13"),
("146292","405","405","2347855","EMAIL : Sent","email","576402","2016-03-02 15:55:38"),
("146328","405","405","2347855","EMAIL : Sent","email","576411","2016-03-02 16:11:27"),
("146330","405","405","2347855","EMAIL : Sent","email","576412","2016-03-02 16:11:49"),
("146335","405","405","2347855","EMAIL : Sent","email","576413","2016-03-02 16:13:52"),
("147449","405","405","2347855","EMAIL : Sent","email","588578","2016-03-03 10:04:29"),
("147500","405","405","2347855","EMAIL : Sent","email","588627","2016-03-03 10:10:45"),
("147599","405","405","2347855","EMAIL : Sent","email","588689","2016-03-03 10:22:03"),
("147643","405","405","2347855","EMAIL : Sent","email","588695","2016-03-03 10:29:56"),
("147652","405","405","2347855","EMAIL : Sent","email","588736","2016-03-03 10:32:10"),
("147759","405","405","2347855","EMAIL : Sent","email","589080","2016-03-03 10:45:26"),
("147761","405","405","2347855","EMAIL : Sent","email","589081","2016-03-03 10:45:52"),
("147848","405","405","2347855","EMAIL : Sent","email","589220","2016-03-03 10:56:53"),
("147849","405","405","2347855","EMAIL : Sent","email","589221","2016-03-03 10:57:06"),
("147873","405","405","2347855","EMAIL : Sent","email","589240","2016-03-03 11:00:48"),
("147924","405","405","2347855","EMAIL : Sent","email","589245","2016-03-03 11:12:54"),
("147932","405","405","2347855","EMAIL : Sent","email","589247","2016-03-03 11:16:12"),
("147964","405","405","2347855","EMAIL : Sent","email","589297","2016-03-03 11:24:31"),
("185242","405","405","2347855","EMAIL : Sent","email","760650","2016-03-20 14:10:11"),
("185244","405","405","2347855","EMAIL : Sent","email","760651","2016-03-20 14:23:25"),
("185248","405","405","2347855","EMAIL : Sent","email","760652","2016-03-20 14:29:59"),
("185249","405","405","2347855","EMAIL : Sent","email","760654","2016-03-20 14:35:06"),
("185250","405","405","2347855","EMAIL : Sent","email","760655","2016-03-20 14:36:20"),
("185252","405","405","2347855","EMAIL : Sent","email","760656","2016-03-20 14:48:08"),
("185253","405","405","2347855","EMAIL : Sent","email","761657","2016-03-20 14:58:25"),
("185254","405","405","2347855","EMAIL : Sent","email","762658","2016-03-20 15:01:58"),
("185263","405","405","2347855","EMAIL : Sent","email","762664","2016-03-20 15:51:21"),
("185267","405","405","2347855","EMAIL : Sent","email","762665","2016-03-20 15:56:10"),
("244107","405","405","368218","OUTBOUND CALL : Initiated","outbound","67839","2016-04-08 16:33:45"),
("244108","405","405","368218","OUTBOUND CALL : Initiated","outbound","67840","2016-04-08 16:33:54"),
("244448","405","405","368220","OUTBOUND CALL : Initiated","outbound","67846","2016-04-09 00:08:10"),
("249862","405","405","368222","OUTBOUND CALL : Initiated","outbound","68327","2016-04-11 12:28:02"),
("257949","405","405","368228","OUTBOUND CALL : Initiated","outbound","71137","2016-04-15 09:54:30"),
("264816","405","405","368229","OUTBOUND CALL : Initiated","outbound","72479","2016-04-18 11:16:27"),
("272217","405","405","2347855","OUTBOUND CALL : Initiated","outbound","75665","2016-04-21 14:04:57"),
("276123","405","405","2347855","OUTBOUND CALL : Initiated","outbound","76864","2016-04-23 09:17:05"),
("276128","405","405","2347855","OUTBOUND CALL : Initiated","outbound","76865","2016-04-23 09:24:27"),
("295672","405","813","2347855","SMS : Sent","sms","321483","2016-04-29 12:26:55"),
("295674","405","813","2347855","SMS : Received","sms","321484","2016-04-29 12:28:49"),
("295675","405","813","2347855","SMS : Sent","sms","321485","2016-04-29 12:28:49"),
("295678","405","813","2347855","SMS : Received","sms","321486","2016-04-29 12:29:30"),
("295679","405","813","2347855","SMS : Sent","sms","321487","2016-04-29 12:29:30"),
("295680","405","813","2347855","SMS : Received","sms","321488","2016-04-29 12:29:43"),
("295681","405","813","2347855","SMS : Sent","sms","321489","2016-04-29 12:29:43"),
("295682","405","813","2347855","SMS : Received","sms","321490","2016-04-29 12:29:51"),
("295683","405","813","2347855","SMS : Sent","sms","321491","2016-04-29 12:29:51"),
("295686","405","813","2347855","SMS : Received","sms","321523","2016-04-29 12:30:26"),
("295687","405","813","2347855","SMS : Sent","sms","321524","2016-04-29 12:30:26"),
("312758","405","813","2347855","SMS : Sent","sms","338799","2016-05-06 10:54:24"),
("312759","405","813","2347855","SMS : Received","sms","338800","2016-05-06 10:56:03"),
("312760","405","813","2347855","SMS : Sent","sms","338801","2016-05-06 10:56:03"),
("312762","405","813","2347855","SMS : Received","sms","338802","2016-05-06 10:56:30"),
("312763","405","813","2347855","SMS : Sent","sms","338803","2016-05-06 10:56:30"),
("312765","405","813","2347855","SMS : Received","sms","338804","2016-05-06 10:56:44"),
("312766","405","813","2347855","SMS : Sent","sms","338805","2016-05-06 10:56:44"),
("312771","405","813","2347855","SMS : Received","sms","338806","2016-05-06 10:57:27"),
("312772","405","813","2347855","SMS : Sent","sms","338807","2016-05-06 10:57:27"),
("312774","405","813","2347855","SMS : Received","sms","338808","2016-05-06 10:57:58"),
("312775","405","813","2347855","SMS : Sent","sms","338809","2016-05-06 10:57:58"),
("967690","405","405","368194","OUTBOUND CALL : Initiated","outbound","130315","2016-06-28 21:14:36"),
("1027156","405","813","2347855","SMS : Sent","sms","726105","2016-07-03 16:47:52"),
("1027162","405","813","2347855","SMS : Received","sms","726106","2016-07-03 16:50:16"),
("1027163","405","813","2347855","SMS : Sent","sms","726107","2016-07-03 16:50:16"),
("1027165","405","813","2347855","SMS : Received","sms","726108","2016-07-03 16:50:38"),
("1027166","405","813","2347855","SMS : Sent","sms","726109","2016-07-03 16:50:38"),
("1027167","405","813","2347855","SMS : Received","sms","726110","2016-07-03 16:50:58"),
("1027168","405","813","2347855","SMS : Sent","sms","726111","2016-07-03 16:50:58"),
("1027170","405","813","2347855","SMS : Received","sms","726112","2016-07-03 16:51:13"),
("1027171","405","813","2347855","SMS : Sent","sms","726113","2016-07-03 16:51:13"),
("1027173","405","813","2347855","SMS : Received","sms","726114","2016-07-03 16:51:47"),
("1027174","405","813","2347855","SMS : Sent","sms","726115","2016-07-03 16:51:47"),
("14384025","405","405","30378782","Inbound SMS : Received","sms","6519251","2018-04-02 03:18:13");



