INSERT INTO teamhdr (nFranchiseeId, nUserId, isLeader, isActive, dModifiedDate, dCreatedDate) VALUES ('2', '470', '1', '1', '2023-12-13 04:03:24', '2023-12-13 04:03:24') - 2023-12-13 04:03:24
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, isLeader, dModifiedDate, dCreatedDate) VALUES ('2', '8999', '434', '1', '0', '2023-12-13 04:03:24', '2023-12-13 04:03:24') - 2023-12-13 04:03:24
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, isLeader, dModifiedDate, dCreatedDate) VALUES ('2', '8999', '470', '1', '1', '2023-12-13 04:03:24', '2023-12-13 04:03:24') - 2023-12-13 04:03:24
INSERT INTO workhistory (nFranchiseeId, nUserId, nTeamId, tStartTime, nTotalDistance, dModifiedDate, dCreatedDate) VALUES ('2', '470', '8999', '2023-12-13 04:03:25', '0', '2023-12-13 04:03:25', '2023-12-13 04:03:25') - 2023-12-13 04:03:25
UPDATE usermst SET dTripDistance = '0' WHERE id = '470' - 2023-12-13 04:03:25
UPDATE usermst SET dLat = '8.8059334', dLng = '78.1338161', dTripDistance = '0.0' WHERE id = '470' - 2023-12-13 04:03:25
UPDATE usermst SET dLat = '8.80664', dLng = '78.13494', dTripDistance = '146.27365' WHERE id = '470' - 2023-12-13 04:03:30
INSERT INTO alertmst (nFranchiseeId, nUserId, nCustId, vMessage, isActive, isNotified, dModifiedDate, dCreatedDate) VALUES ('2', '470', '9', 'Tried to start work away from customer home', '1', '0', '2023-12-13 04:03:34', '2023-12-13 04:03:34') - 2023-12-13 04:03:34
