Sure, I’ll send you a backup without Transaction data.
Or here is some sample data for September from one of my Employees that I injected.
P.S. I am very happy to report that my SQL Pay Reports are calculating exactly the same hours and pay as my Excel spreadsheet.
use [SambaPOS4]
-- set the Entity Id
declare @eid int = 172
-- (optional) delete all previous records
--delete from [EntityStateLogs] where [EntityId]=@eid
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-01 00:00:00'),'PunchOut',convert(datetime,'2014-09-01 00:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-02 07:00:00'),'PunchOut',convert(datetime,'2014-09-02 17:30:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-03 00:00:00'),'PunchOut',convert(datetime,'2014-09-03 00:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-04 07:00:00'),'PunchOut',convert(datetime,'2014-09-04 17:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-05 07:00:00'),'PunchOut',convert(datetime,'2014-09-05 14:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-06 07:30:00'),'PunchOut',convert(datetime,'2014-09-06 14:30:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-07 07:30:00'),'PunchOut',convert(datetime,'2014-09-07 14:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-08 00:00:00'),'PunchOut',convert(datetime,'2014-09-08 00:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-09 07:00:00'),'PunchOut',convert(datetime,'2014-09-09 17:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-10 00:00:00'),'PunchOut',convert(datetime,'2014-09-10 00:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-11 07:00:00'),'PunchOut',convert(datetime,'2014-09-11 17:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-12 07:00:00'),'PunchOut',convert(datetime,'2014-09-12 17:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-13 07:30:00'),'PunchOut',convert(datetime,'2014-09-13 15:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-14 07:30:00'),'PunchOut',convert(datetime,'2014-09-14 16:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-15 00:00:00'),'PunchOut',convert(datetime,'2014-09-15 00:00:00'),'ManualPunch~Holiday')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-16 07:00:00'),'PunchOut',convert(datetime,'2014-09-16 17:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-17 00:00:00'),'PunchOut',convert(datetime,'2014-09-17 00:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-18 07:00:00'),'PunchOut',convert(datetime,'2014-09-18 17:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-19 07:00:00'),'PunchOut',convert(datetime,'2014-09-19 14:00:00'),'ManualPunch~Holiday')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-20 07:30:00'),'PunchOut',convert(datetime,'2014-09-20 14:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-21 07:30:00'),'PunchOut',convert(datetime,'2014-09-21 15:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-22 00:00:00'),'PunchOut',convert(datetime,'2014-09-22 00:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-23 07:00:00'),'PunchOut',convert(datetime,'2014-09-23 17:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-24 00:00:00'),'PunchOut',convert(datetime,'2014-09-24 00:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-25 07:00:00'),'PunchOut',convert(datetime,'2014-09-25 17:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-26 07:00:00'),'PunchOut',convert(datetime,'2014-09-26 14:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-27 07:30:00'),'PunchOut',convert(datetime,'2014-09-27 15:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-28 07:30:00'),'PunchOut',convert(datetime,'2014-09-28 14:30:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-29 00:00:00'),'PunchOut',convert(datetime,'2014-09-29 00:00:00'),'ManualPunch~')
INSERT INTO [EntityStateLogs] VALUES ('TimeClock',@eid,'TCStatus','PunchIn',convert(datetime,'2014-09-30 07:00:00'),'PunchOut',convert(datetime,'2014-09-30 17:00:00'),'ManualPunch~')
SELECT
sl.[Id]
,sl.[Name]
,[EntityId]
,[StateName]
,[StartState]
,[StartStateDate]
,[EndState]
,[EndStateDate]
,sl.[CustomData]
FROM [EntityStateLogs] sl
left join [Entities] e on e.[Id]=sl.[EntityId]
where [EntityId]=@eid
order by [StartStateDate]