# Cancell whole ticket

**URL:** <https://forum.sambapos.com/t/cancell-whole-ticket/9657>\
**Category:** V5 Question\
**Created:** [March 2, 2016, 3:06pm UTC](https://forum.sambapos.com/t/cancell-whole-ticket/9657 "2016-03-02T15:06:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shivan](https://forum.sambapos.com/user_avatar/forum.sambapos.com/shivan/32/27314_2.png) [@Shivan](https://forum.sambapos.com/u/Shivan)\
**Post date:** [March 2, 2016, 3:06pm UTC](https://forum.sambapos.com/t/cancell-whole-ticket/9657/1 "2016-03-02T15:06:02Z")

</div>

Alright, I know this has been done somewhere, and I could have sworn I once upon a time saw the method to do this but I’ve searched for ages to find it and I couldn’t. So here is hoping someone can either direct me to the link or could help me implement it.

Basically all I want to do, is when a person takes an order, multiple items on screen, customer then changes mind and no longer wants anything, then a simple cancel order button to be pressed, which removes all orders on screen, and starts a new ticket.

---

<div class="post-metadata">

**Author:** ![kasharif](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/k/f0a364/32.png) [@kasharif](https://forum.sambapos.com/u/kasharif)\
**Post date:** [March 2, 2016, 3:56pm UTC](https://forum.sambapos.com/t/cancell-whole-ticket/9657/2 "2016-03-02T15:56:28Z")

</div>

> [@Cancel ticket and erase all sales](https://forum.sambapos.com/t/cancel-ticket-and-erase-all-sales/381/10):
>
> Yes there was an action created for this a few versions ago. It is called Cancel Orders action. You would need to make an automation command button and a rule for Automation Command Executed and then insert the Cancel Orders action. You could use specific State for Enabled so it can only be used BEFORE Submitted. Let me show you in some screenshots… Create Cancel Orders Action: Create Cancel Orders Automation Command Button: Mapping for Command Button: C…

---

<div class="post-metadata">

**Author:** ![RickH](https://forum.sambapos.com/user_avatar/forum.sambapos.com/rickh/32/51960_2.png) [@RickH](https://forum.sambapos.com/u/RickH)\
**Post date:** [March 2, 2016, 4:10pm UTC](https://forum.sambapos.com/t/cancell-whole-ticket/9657/3 "2016-03-02T16:10:42Z")

</div>

Heres the abort transaction tutorial you need with the database tools file

> [@Abort Transaction Button: How to make an Abort Transaction button](https://forum.sambapos.com/t/abort-transaction-button-how-to-make-an-abort-transaction-button/2093):
>
> This tutorial will show you how to make a basic Abort Transaction button to put on your POS screen in the event you need to abort an entire transaction with a single button press before it is settled. Database Tools Module Import File: For those of you with the Database Tools module purchased and installed. You will still need to update Ticket Closing rule as described in the tutorial below. [Abort Transaction Button.zip](https://forum.sambapos.com/uploads/default/original/3X/1/1/1171208cbe9c1b5f370dca9b177d1bf430d6cdaf.zip) (901 Bytes) Operational Flow: Items are added to the ticket but before …

---

<div class="post-metadata">

**Author:** ![Shivan](https://forum.sambapos.com/user_avatar/forum.sambapos.com/shivan/32/27314_2.png) [@Shivan](https://forum.sambapos.com/u/Shivan)\
**Post date:** [March 2, 2016, 4:34pm UTC](https://forum.sambapos.com/t/cancell-whole-ticket/9657/4 "2016-03-02T16:34:54Z")

</div>

Thanks guys. I knew it was somewhere. Got it sorted 😃

I did like that Abort Button thing, I’m thinking of using that on my next setup. See how i go
