# Automatically (end and start) Work Period

**URL:** <https://forum.sambapos.com/t/automatically-end-and-start-work-period/1626>\
**Category:** V4 Question\
**Created:** [June 25, 2014, 3:29pm UTC](https://forum.sambapos.com/t/automatically-end-and-start-work-period/1626 "2014-06-25T15:29:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adidibau](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/a/e0b2c6/32.png) [@Adidibau](https://forum.sambapos.com/u/Adidibau)\
**Post date:** [June 25, 2014, 3:29pm UTC](https://forum.sambapos.com/t/automatically-end-and-start-work-period/1626/1 "2014-06-25T15:29:56Z")

</div>

Hi

Is it possible to make Work period automatically end at a specific time and a new Work period start at a specific time.

This is because we use it a place with about 15 different waitors and sometime somebody forget to end work period and then reports is not ok for accounting.

Since this place also is a Hotel we can have some rooms with still open bills so we made some buttons like this [Work period - 2 or 3 shifts in a cafe/restaurant](http://forum.sambapos.com/t/work-period-2-or-3-shifts-in-a-cafe-restaurant/1147/3)  
This is helping us to close work period but when we print report for work period the things that we put on “hold” will show up as PREORDER and will not figure down in Item sales.

So we would like if possible make a automation command that will take “open” tables and put them on “hold” until next work period. and then close work period and open a new one.

Is this possible.

Best regards

Jesper Jørgensen

---

<div class="post-metadata">

**Author:** ![Adidibau](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/a/e0b2c6/32.png) [@Adidibau](https://forum.sambapos.com/u/Adidibau)\
**Post date:** [June 30, 2014, 5:28am UTC](https://forum.sambapos.com/t/automatically-end-and-start-work-period/1626/2 "2014-06-30T05:28:16Z")

</div>

Can someone please help with this .

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [June 30, 2014, 3:40pm UTC](https://forum.sambapos.com/t/automatically-end-and-start-work-period/1626/3 "2014-06-30T15:40:03Z")

</div>

Hello Jesper.

SambaPOS specifically designed for Restaurant’s use. We’re planning to improve features for small hotels but currently we don’t have automatic work period ending (or automatic shifting) feature.

Preorder tickets implemented to solve creating draft ticket needs such as reservations or food orders. Since your tickets are real tickets you shouldn’t mark them as pre-order.

Every night you should close open tickets by transferring them to room accounts (night audit). Room’s account balance will display amount due to be paid. This is how we’re planning to make it work for hotels but probably some needed functions are still missing.

---

<div class="post-metadata">

**Author:** ![Adidibau](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/a/e0b2c6/32.png) [@Adidibau](https://forum.sambapos.com/u/Adidibau)\
**Post date:** [July 5, 2014, 9:09am UTC](https://forum.sambapos.com/t/automatically-end-and-start-work-period/1626/4 "2014-07-05T09:09:50Z")

</div>

Hello Emre

We will figure out a way to handle the Work Periods :o)

is there some hint or a guide for Night audit

/Jesper

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [July 5, 2014, 11:47pm UTC](https://forum.sambapos.com/t/automatically-end-and-start-work-period/1626/5 "2014-07-05T23:47:02Z")

</div>

I’m not sure if it will solve your need but creating accounts for room entities and closing tickets with room accounts as if we do with customer accounts might work.

---

<div class="post-metadata">

**Author:** ![mishatrach](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/m/7bcc69/32.png) [@mishatrach](https://forum.sambapos.com/u/mishatrach)\
**Post date:** [July 7, 2014, 9:16am UTC](https://forum.sambapos.com/t/automatically-end-and-start-work-period/1626/6 "2014-07-07T09:16:44Z")

</div>

can i using scripts on server machine starts or ends work period thru sql server managment, if yes - how?
