# \[Solved\] Add remove service charge Button but continue to add it automatically on next sale?

**URL:** <https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840>\
**Category:** V4 Question\
**Created:** [April 1, 2015, 9:19am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840 "2015-04-01T09:19:08Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcossteele](https://forum.sambapos.com/user_avatar/forum.sambapos.com/marcossteele/32/10128_2.png) [@marcossteele](https://forum.sambapos.com/u/marcossteele)\
**Post date:** [April 1, 2015, 9:19am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/1 "2015-04-01T09:19:08Z")

</div>

Hi,

I followed this Tutorial from emre:

> [@How to add services charge?](http://forum.sambapos.com/t/how-to-add-services-charge/380):
>
> hi @emre i’ve been looking around how to add services charge ? i follow instruction same as make taxes, but the result is not as expected

My question is:

How can i add a "remove service charge button on Settle Screen, but continue to add it automatically on next sales?  
i tried the toggle method described in the tutorial, but it seems to remove the service charge from new sales unless i re-toggle  
Is it possible to automatically re-togle the service charge for new orders and just remove it on the order i say so?  
Let me show you:

 ![](https://forum.sambapos.com/uploads/default/original/3X/9/8/980c5849af50c938f3c3a1a7eb8d207e9f5381cf.jpeg)  
 ![](https://forum.sambapos.com/uploads/default/original/3X/b/4/b4cd9fdd87041ba197d87d59c85e958fab49effd.jpeg)  
 ![](https://forum.sambapos.com/uploads/default/original/3X/9/1/91c1380ffd958200fd95bb7b664b445ae40fdc59.jpeg)

Thanks!

---

<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:** [April 1, 2015, 9:52am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/2 "2015-04-01T09:52:49Z")

</div>

Add your service charge action to the ticket created rule, then every time a ticket is created the service charge should be added

---

<div class="post-metadata">

**Author:** ![marcossteele](https://forum.sambapos.com/user_avatar/forum.sambapos.com/marcossteele/32/10128_2.png) [@marcossteele](https://forum.sambapos.com/u/marcossteele)\
**Post date:** [April 1, 2015, 10:37am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/3 "2015-04-01T10:37:00Z")

</div>

Alright, so i created a action for service charge like this:

 ![](https://forum.sambapos.com/uploads/default/original/3X/e/b/eb0d4f2adaf0229ad643eb98acc62e46a596324a.jpeg)  
And added to the ticket created rule:  
 ![](https://forum.sambapos.com/uploads/default/original/3X/8/0/802ffbe51b80bc77cc07c0af6202a91c1542ff02.jpeg)

but didnt work, i still have to toggle button on settle screen. ☹

---

<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:** [April 1, 2015, 10:49am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/4 "2015-04-01T10:49:54Z")

</div>

thats because in the action you created you didnt tell it what the service charge was you left the AMOUNT field in the action empty so it wont apply anything

you need to put an expression in there for the amount you want to add

---

<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:** [April 1, 2015, 10:50am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/5 "2015-04-01T10:50:47Z")

</div>

for the amount in the action put `[:Service Charge]` you can then define the amount in the actual rule rather than in the action

---

<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:** [April 1, 2015, 11:08am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/6 "2015-04-01T11:08:25Z")

</div>

add this `[={TICKET TOTAL}*0.1]` in the action once added to the rule and it should add 10% tax based on ticket total amount

---

<div class="post-metadata">

**Author:** ![marcossteele](https://forum.sambapos.com/user_avatar/forum.sambapos.com/marcossteele/32/10128_2.png) [@marcossteele](https://forum.sambapos.com/u/marcossteele)\
**Post date:** [April 1, 2015, 11:26am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/7 "2015-04-01T11:26:31Z")

</div>

So i changed action as suggested:

 ![](https://forum.sambapos.com/uploads/default/original/3X/1/1/11aa2b1ceba25768c4d3b6372d1b9b71f68f156c.jpeg)  
and then changed rule to: ![](https://forum.sambapos.com/uploads/default/original/3X/5/5/55aae2d5c87b9d0ebec389c4443fb46c9e4adb47.jpeg)  
still, cant see it ☹ ![](https://forum.sambapos.com/uploads/default/original/3X/7/3/73b41e40d947f870b4af806bcca8db5cd95b1551.jpeg)

sorry for my ignorance, im still learning this great POS.

---

<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:** [April 1, 2015, 1:02pm UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/8 "2015-04-01T13:02:21Z")

</div>

Leave constraint empty put the expression in the box not TicketTypeName. Plus he did not say put TicketTypeName. Slow down and look at what you have.

You told it to put TicketTypeName for your calculation if it met 10%. Pretty sure that wont work😊

---

<div class="post-metadata">

**Author:** ![marcossteele](https://forum.sambapos.com/user_avatar/forum.sambapos.com/marcossteele/32/10128_2.png) [@marcossteele](https://forum.sambapos.com/u/marcossteele)\
**Post date:** [April 1, 2015, 10:11pm UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/9 "2015-04-01T22:11:04Z")

</div>

That [TicketTypeName] was automatically filled.  
changed it, still cant see the servicing charge after a create a new order unless i re-toggle in settle screen. o.O

 ![](https://forum.sambapos.com/uploads/default/original/3X/4/5/4590228f19094845da28be29daa9dedfdca178c4.jpeg)

---

<div class="post-metadata">

**Author:** ![marcossteele](https://forum.sambapos.com/user_avatar/forum.sambapos.com/marcossteele/32/10128_2.png) [@marcossteele](https://forum.sambapos.com/u/marcossteele)\
**Post date:** [April 1, 2015, 10:13pm UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/10 "2015-04-01T22:13:50Z")

</div>

To make sure the rule is mapped:

 ![](https://forum.sambapos.com/uploads/default/original/3X/3/d/3da3297d4724b7eeb67bcf91675c28e4d9a2efc8.jpeg)

---

<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:** [April 1, 2015, 10:39pm UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/11 "2015-04-01T22:39:40Z")

</div>

try changing the rule from ticket created to order added instead.

---

<div class="post-metadata">

**Author:** ![marcossteele](https://forum.sambapos.com/user_avatar/forum.sambapos.com/marcossteele/32/10128_2.png) [@marcossteele](https://forum.sambapos.com/u/marcossteele)\
**Post date:** [April 1, 2015, 11:35pm UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/12 "2015-04-01T23:35:24Z")

</div>

Changed rule to order created, still no result.

This is my current service charge config:  
calc type:

 ![](https://forum.sambapos.com/uploads/default/original/3X/9/2/9249469e9d053962f7592c0bb3034191ae28c110.jpeg)  
Calc Selec: ![](https://forum.sambapos.com/uploads/default/original/3X/0/1/01d7de9b5c65377e56b192b27c7423034ab69b12.jpeg)  
Action: ![](https://forum.sambapos.com/uploads/default/original/3X/0/8/084a9aafc719f8dd086fcdf21420664508898a34.jpeg)  
New Order rule: ![](https://forum.sambapos.com/uploads/default/original/3X/3/3/334d9d3ede9bbb24461620d487800ef7d6b2b7d1.jpeg)  
Adding Order: ![](https://forum.sambapos.com/uploads/default/original/3X/e/6/e6f5a1791d8cc0e8168719143281029429e1a22f.jpeg)  
After Clicking Servicing Charge Created Header, it adds the charge insted of remove it the way i need:  
 ![](https://forum.sambapos.com/uploads/default/original/3X/2/6/26d41bed16112cd21628e16ae4efebc255906cf5.jpeg)  
After closing Table, Opening a new one is just same as discribed above. 😕

---

<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:** [April 2, 2015, 2:08am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/13 "2015-04-02T02:08:08Z")

</div>

Take the 10 out of the service charge calculation it should be 0. Let the action set the amount. Change the expression to `[=TN('{TICKET TOTAL}')*10/100]`

---

<div class="post-metadata">

**Author:** ![marcossteele](https://forum.sambapos.com/user_avatar/forum.sambapos.com/marcossteele/32/10128_2.png) [@marcossteele](https://forum.sambapos.com/u/marcossteele)\
**Post date:** [April 2, 2015, 2:13am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/14 "2015-04-02T02:13:48Z")

</div>

wow its doing the trick!  
but service charge is now 1.9%

 ![](https://forum.sambapos.com/uploads/default/original/3X/4/b/4b27920344cd70516f612054878dff689d2398ec.jpeg)

---

<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:** [April 2, 2015, 2:20am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/15 "2015-04-02T02:20:47Z")

</div>

so try `[=TN('{TICKET TOTAL}')*.10]` But 10/100 should be the same thing.

---

<div class="post-metadata">

**Author:** ![marcossteele](https://forum.sambapos.com/user_avatar/forum.sambapos.com/marcossteele/32/10128_2.png) [@marcossteele](https://forum.sambapos.com/u/marcossteele)\
**Post date:** [April 2, 2015, 4:11am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/16 "2015-04-02T04:11:52Z")

</div>

Still not working ☹  
With [=TN(’{TICKET TOTAL}’)_10/100] on new order rule, each new order adds 1.9% to the servicing charge.  
with [=TN(’{TICKET TOTAL}’)_.10] on new order rule, no service charge is added  
with [=TN(’{TICKET TOTAL}’)\*10/100] on new ticket rule, no service charge is added to the ticket even clicking on remove service header on settle screen.

what i need is a fixed 10% service charge on each new table, and when needed, remove it on settle screen for that specific table.  
thanks for your help however 😊

---

<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:** [April 2, 2015, 6:12am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/17 "2015-04-02T06:12:55Z")

</div>

Try

[=TN(’{TICKET TOTAL}’)\*0.1]

---

<div class="post-metadata">

**Author:** ![marcossteele](https://forum.sambapos.com/user_avatar/forum.sambapos.com/marcossteele/32/10128_2.png) [@marcossteele](https://forum.sambapos.com/u/marcossteele)\
**Post date:** [April 2, 2015, 9:11am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/18 "2015-04-02T09:11:28Z")

</div>

Nothing.

tried on New order and new ticket

What a hard thing to archive, lol

---

<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:** [April 2, 2015, 9:51am UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/19 "2015-04-02T09:51:43Z")

</div>

Try

[=TN(’{TICKET TOTAL}’)]\*0.1

---

<div class="post-metadata">

**Author:** ![marcossteele](https://forum.sambapos.com/user_avatar/forum.sambapos.com/marcossteele/32/10128_2.png) [@marcossteele](https://forum.sambapos.com/u/marcossteele)\
**Post date:** [April 2, 2015, 12:07pm UTC](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840/20 "2015-04-02T12:07:18Z")

</div>

Didn’t worked. nothing is displayed.

[=TN(’{TICKET TOTAL}’)\*10/100] the only formula that give some results, but i cant use it, since it adds per product added and 1.9% ( i need a fixed 10%)  
[=TN(’{TICKET TOTAL}’)\*10/100] on new ticket rule does not display anything.

[Next page](https://forum.sambapos.com/t/solved-add-remove-service-charge-button-but-continue-to-add-it-automatically-on-next-sale/4840.md?page=2)
