INSERT INTO teamhdr (nFranchiseeId, nUserId, isLeader, isActive, dModifiedDate) VALUES ('2', '434', '1', '1', '2023-07-13 06:15:26') - 2023-07-13 06:15:26
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, dModifiedDate) VALUES ('2', '8434', '264', '1', '2023-07-13 06:15:26') - 2023-07-13 06:15:26
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, dModifiedDate) VALUES ('2', '8434', '266', '1', '2023-07-13 06:15:26') - 2023-07-13 06:15:26
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, dModifiedDate) VALUES ('2', '8434', '280', '1', '2023-07-13 06:15:26') - 2023-07-13 06:15:26
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, dModifiedDate) VALUES ('2', '8434', '267', '1', '2023-07-13 06:15:26') - 2023-07-13 06:15:26
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, dModifiedDate) VALUES ('2', '8434', '434', '1', '2023-07-13 06:15:26') - 2023-07-13 06:15:26
{"nTeamId":"8434","isReachedOffice":"2"} - 2023-07-13 06:15:29
INSERT INTO workhistory (nFranchiseeId, nUserId, nTeamId, tStartTime, nTotalDistance, dModifiedDate, dCreatedDate) VALUES ('2', '434', '8434', '2023-07-13 06:15:29', '0', '2023-07-13 06:15:29', '2023-07-13 06:15:29') - 2023-07-13 06:15:29
UPDATE usermst SET dTripDistance = '0' WHERE id = '434' - 2023-07-13 06:15:29
UPDATE usermst SET dLat = '37.422', dLng = '-122.084', dTripDistance = '0.0' WHERE id = '434' - 2023-07-13 06:17:41
UPDATE usermst SET dLat = '37.422', dLng = '-122.084', dTripDistance = '0.0' WHERE id = '434' - 2023-07-13 06:18:44
{"nCustId":"15","dLat":"37.422","dLng":"-122.084","nDistPrevWork":"0","nTeamId":"8434","nWorkHistoryId":"8301","vAddEmpId":"","vDeleteEmpId":"","isUpdateTeamForOngoingWork":"0","TeamEmpStr":"264,266,280,267,434","Distancestr":"0,0,0,0,0","vDeleteEmpOutTimestr":"","vAddEmpInTimestr":"","vAddEmpDistancestr":""} - 2023-07-13 06:18:46
INSERT INTO alertmst (nFranchiseeId, nUserId, nCustId, vMessage, isActive, isNotified, dModifiedDate, dCreatedDate) VALUES ('2', '434', '15', 'Tried to start work away from customer home', '1', '0', '2023-07-13 06:18:46', '2023-07-13 06:18:46') - 2023-07-13 06:18:46
{"nDistPrevWork":"0","nWorkHistoryId":"8301","nOfficeId":"0","isReachedOffice":"1"} - 2023-07-13 06:19:10
UPDATE workhistory SET nOfficeId = '0', tEndTime = '2023-07-13 06:19:10', nTotalDistance = '0', isReachedOffice = '1' WHERE id = '8301' - 2023-07-13 06:19:10
UPDATE usermst SET dLat = '', dLng = '', dTripDistance = '0' WHERE id = '434' - 2023-07-13 06:19:10
INSERT INTO teamhdr (nFranchiseeId, nUserId, isLeader, isActive, dModifiedDate) VALUES ('2', '434', '1', '1', '2023-07-13 06:33:47') - 2023-07-13 06:33:47
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, dModifiedDate) VALUES ('2', '8435', '80', '1', '2023-07-13 06:33:47') - 2023-07-13 06:33:47
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, dModifiedDate) VALUES ('2', '8435', '77', '1', '2023-07-13 06:33:47') - 2023-07-13 06:33:47
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, dModifiedDate) VALUES ('2', '8435', '62', '1', '2023-07-13 06:33:47') - 2023-07-13 06:33:47
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, dModifiedDate) VALUES ('2', '8435', '63', '1', '2023-07-13 06:33:47') - 2023-07-13 06:33:47
INSERT INTO teamdtl (nFranchiseeId, nTeamhdrId, nUserId, isActive, dModifiedDate) VALUES ('2', '8435', '434', '1', '2023-07-13 06:33:47') - 2023-07-13 06:33:47
{"nTeamId":"8435","isReachedOffice":"2"} - 2023-07-13 06:33:47
INSERT INTO workhistory (nFranchiseeId, nUserId, nTeamId, tStartTime, nTotalDistance, dModifiedDate, dCreatedDate) VALUES ('2', '434', '8435', '2023-07-13 06:33:47', '0', '2023-07-13 06:33:47', '2023-07-13 06:33:47') - 2023-07-13 06:33:47
UPDATE usermst SET dTripDistance = '0' WHERE id = '434' - 2023-07-13 06:33:47
UPDATE usermst SET dLat = '37.422', dLng = '-122.084', dTripDistance = '0.0' WHERE id = '434' - 2023-07-13 06:33:53
UPDATE usermst SET dLat = '37.422', dLng = '-122.084', dTripDistance = '0.0' WHERE id = '434' - 2023-07-13 06:34:22
{"nCustId":"15","dLat":"37.422","dLng":"-122.084","nDistPrevWork":"0","nTeamId":"8435","nWorkHistoryId":"8302","vAddEmpId":"","vDeleteEmpId":"","isUpdateTeamForOngoingWork":"0","TeamEmpStr":"80,77,62,63,434","Distancestr":"0,0,0,0,0","vDeleteEmpOutTimestr":"","vAddEmpInTimestr":"","vAddEmpDistancestr":""} - 2023-07-13 06:34:24
INSERT INTO alertmst (nFranchiseeId, nUserId, nCustId, vMessage, isActive, isNotified, dModifiedDate, dCreatedDate) VALUES ('2', '434', '15', 'Tried to start work away from customer home', '1', '0', '2023-07-13 06:34:24', '2023-07-13 06:34:24') - 2023-07-13 06:34:24
{"nDistPrevWork":"0","nWorkHistoryId":"8302","nOfficeId":"0","isReachedOffice":"1"} - 2023-07-13 06:36:49
UPDATE workhistory SET nOfficeId = '0', tEndTime = '2023-07-13 06:36:49', nTotalDistance = '0', isReachedOffice = '1' WHERE id = '8302' - 2023-07-13 06:36:49
UPDATE usermst SET dLat = '', dLng = '', dTripDistance = '0' WHERE id = '434' - 2023-07-13 06:36:49
