# Time Clock - Basic Time Tracking

**URL:** <https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149>\
**Category:** V5 Tutorial\
**Created:** [September 17, 2015, 7:25pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149 "2015-09-17T19:25:02Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [February 4, 2017, 2:44pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/83 "2017-02-04T14:44:37Z")

</div>

There is no Config Task for this Tutorial Topic. Please post in the other Topic:

> [@Time Clock & Punch Editor - Custom Navigation Flow: Uses Employee Entities not Users](https://forum.sambapos.com/t/time-clock-punch-editor-custom-navigation-flow-uses-employee-entities-not-users/7114):
>
> exclamation I have included only the configuration task as it is easy to update and it helps me keep this tutorial current Configuration Task Configuration Tasks: Time Clock + Punch Editor https://gist.github.com/kendash/35688644368ef581dc2d/raw/ Standalone Punch Editor https://gist.github.com/kendash/9a887f61097f1690b285/raw/arrow_right_hook Copy the URL and navigate to Settings \> Local Settings \> Online Services and paste that URL in the box then go to Settings \> Configuratio…

---

<div class="post-metadata">

**Author:** ![Chipwagon](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/c/51bf81/32.png) [@Chipwagon](https://forum.sambapos.com/u/Chipwagon)\
**Post date:** [March 23, 2017, 5:28pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/84 "2017-03-23T17:28:12Z")

</div>

I made this on my test computer first and it works perfectly (thank you very much for that!!) but when I put it together on my live system the states and reports on my time clock entity screen don’t update unless I leave the screen and go back. I copied and pasted almost everything from the test to the live computers so I can’t see it being a typo but I checked all my automation to be sure and it looks good. Any ideas what may cause this??

---

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [March 24, 2017, 12:15am UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/85 "2017-03-24T00:15:03Z")

</div>

Maybe double check the refresh rate/auto update option on entity screen?  
Also double check message server settings etc as these are involved in triggering refreshes.

---

<div class="post-metadata">

**Author:** ![Chipwagon](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/c/51bf81/32.png) [@Chipwagon](https://forum.sambapos.com/u/Chipwagon)\
**Post date:** [March 24, 2017, 1:21pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/86 "2017-03-24T13:21:15Z")

</div>

Tried changing the port number for my message server but no change. My kitchen display works fine and updates instantly which makes me think it must be a setting somewhere I’ve missed but I can’t find anything different in setups!! Auto refresh is checked and interval is set to 0 (same as test computer). Only difference between my test computer and my live system is that the test is running on sql 2014 and live is on sql 2012, possible this could be the issue??

---

<div class="post-metadata">

**Author:** ![EDER](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/e/a698b9/32.png) [@EDER](https://forum.sambapos.com/u/EDER)\
**Post date:** [May 7, 2017, 8:54pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/87 "2017-05-07T20:54:34Z")

</div>

> [@QMcKay](#):
>
> ManualPunch~{SETTING:HolidayFlag}

Hello QMcKay  
I was following your tutorial but I got stucked here:

 ![](https://forum.sambapos.com/uploads/default/original/3X/a/6/a68dc6a686e89ccf4a57d311f48703dc04291bb6.png)  
Dont know how to solve this  
hope you can give me a hand

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [May 7, 2017, 9:09pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/88 "2017-05-07T21:09:58Z")

</div>

Rename that parameter in the action you can’t use the same name. Also you have a mistake at SDateEnd you have open brackets

---

<div class="post-metadata">

**Author:** ![EDER](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/e/a698b9/32.png) [@EDER](https://forum.sambapos.com/u/EDER)\
**Post date:** [May 7, 2017, 9:33pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/89 "2017-05-07T21:33:50Z")

</div>

yes I did it but still the same result

 ![](https://forum.sambapos.com/uploads/default/original/3X/a/d/adb762ae4f56238d911db6125ee07982148eb1f5.png)

---

<div class="post-metadata">

**Author:** ![JTRTech](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jtrtech/32/21270_2.png) [@JTRTech](https://forum.sambapos.com/u/JTRTech)\
**Post date:** [May 7, 2017, 9:54pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/90 "2017-05-07T21:54:01Z")

</div>

You need to remove the action, save the rule then re add the action if you change the fields in the action…

---

<div class="post-metadata">

**Author:** ![EDER](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/e/a698b9/32.png) [@EDER](https://forum.sambapos.com/u/EDER)\
**Post date:** [May 7, 2017, 10:08pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/91 "2017-05-07T22:08:16Z")

</div>

I removed this action TC\_Login EntityState but same result sorry for this newbie question

---

<div class="post-metadata">

**Author:** ![EDER](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/e/a698b9/32.png) [@EDER](https://forum.sambapos.com/u/EDER)\
**Post date:** [May 7, 2017, 10:14pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/92 "2017-05-07T22:14:03Z")

</div>

I think people here should sell this kind of configuration  
like a download file = )

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [May 8, 2017, 8:14pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/93 "2017-05-08T20:14:59Z")

</div>

Remove Action **`TC_Login EntityState`** from the Rule and Save the Rule.

Find the Action **`TC_Login EntityState`** in Automation \> Actions and change the parameter that contains `[:EntityId]` so that it uses `[:entId]` instead, and Save the Action

Open the Rule and add the Action back in to the Rule.

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [May 8, 2017, 9:56pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/94 "2017-05-08T21:56:23Z")

</div>

> [@EDER](#):
>
> like a download file

> [@Time Clock - Basic Time Tracking](http://forum.sambapos.com/t/time-clock-basic/7149/11):
>
> ##DB Tools Import Files Automation (Rules/Actions): [!TimeClock\_Automation.zip](https://forum.sambapos.com/uploads/default/original/3X/c/0/c0c814b30574ebfc28334e4649a493230a5c724d.zip) (2.5 KB)

---

<div class="post-metadata">

**Author:** ![EDER](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/e/a698b9/32.png) [@EDER](https://forum.sambapos.com/u/EDER)\
**Post date:** [May 8, 2017, 10:17pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/95 "2017-05-08T22:17:46Z")

</div>

wow I did not expect that where should I paste that

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [May 8, 2017, 11:12pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/96 "2017-05-08T23:12:49Z")

</div>

> [@How to use DB Tools (Database Tools Export/Import)](https://forum.sambapos.com/t/how-to-use-db-tools/14793):
>
> A Database Tools (DB Tools) file is a simple TXT file containing JSON-formatted data which describes different configuration elements in the SambaPOS System. For example, DB Tools files can contain Screens, Tasks, Printer Templates, Automation (Rules/Actions/Automation Commands), Accounts, etc. You can Export configuration elements (create a TXT file), or you can Import configuration elements (by selecting a TXT file) using the functions in: Manage \> Settings \> Database Tools \> Tools DB Too…

---

<div class="post-metadata">

**Author:** ![EDER](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/e/a698b9/32.png) [@EDER](https://forum.sambapos.com/u/EDER)\
**Post date:** [May 8, 2017, 11:41pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/97 "2017-05-08T23:41:23Z")

</div>

ok I was able to import the file but i got this:😅

 ![](https://forum.sambapos.com/uploads/default/original/3X/f/1/f1f0c4ac625493eedee5089dc075a722a4ec9a67.png)

---

<div class="post-metadata">

**Author:** ![QMcKay](https://forum.sambapos.com/user_avatar/forum.sambapos.com/qmckay/32/27925_2.png) [@QMcKay](https://forum.sambapos.com/u/QMcKay)\
**Post date:** [May 9, 2017, 12:01am UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/98 "2017-05-09T00:01:59Z")

</div>

The file only contains Automation (Rules/Actions). It does not include anything else such as that Entity Screen or Reports or SQL scripts, etc.

---

<div class="post-metadata">

**Author:** ![WingoLED](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/w/6bbea6/32.png) [@WingoLED](https://forum.sambapos.com/u/WingoLED)\
**Post date:** [July 23, 2017, 2:46pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/99 "2017-07-23T14:46:54Z")

</div>

Thanks for the in depth detailed tutorial. I followed by most typing it in and/or copy and paste so that I can learn along the way. However, It did not work! So I cheated (LOL) and use you zip file and it works so far(still need to work out how to manage the navigation screen. LOL

---

<div class="post-metadata">

**Author:** ![Faisal](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/f/fbc32d/32.png) [@Faisal](https://forum.sambapos.com/u/Faisal)\
**Post date:** [August 18, 2017, 5:30am UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/100 "2017-08-18T05:30:02Z")

</div>

Hello  
I was reading your and kendash tutorials and what i realized that you don’t have user linked to entities but kendash have it. And kendash have only db tools not tutorial.  
@Jesse can i get a db tool for v5? Or a tutorial for basic time clock?  
And can i import db tools in sql express?  
Actually the thing m looking for is to link users with entities, so when a cashier log in to samba the entity will come to the tickets automatically and cashier don’t have to select entity on each ticket.  
If I get this working I could be able to add all users which are also entities such as cashier 1,cashier 2 into the account screens.  
In account screens I would be able to make tree for each cashier according to their payments, which is not possible right now in accounts to categories payments according to the users. As well as their pay roll.

---

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [August 18, 2017, 11:15am UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/101 "2017-08-18T11:15:55Z")

</div>

I will not be writing a tutorial for this however you can create a test database and import the setup for testing. Once imported study it and export the parts you want to your production system.

PS. the DB tools file will work fine for v5.

---

<div class="post-metadata">

**Author:** ![Laura\_Viviana\_Guille](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/l/58956e/32.png) [@Laura\_Viviana\_Guille](https://forum.sambapos.com/u/Laura_Viviana_Guille)\
**Post date:** [September 6, 2017, 10:32pm UTC](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149/102 "2017-09-06T22:32:17Z")

</div>

would it read finger print data?

[Previous page](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149.md?page=4)

[Next page](https://forum.sambapos.com/t/time-clock-basic-time-tracking/7149.md?page=6)
