{"id":11938,"date":"2018-03-03T08:05:13","date_gmt":"2018-03-03T08:05:13","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=11938"},"modified":"2020-08-26T09:38:49","modified_gmt":"2020-08-26T09:38:49","slug":"2-4-14-a-how-to-add-customer-sequence-number-print","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/2-4-14-a-how-to-add-customer-sequence-number-print\/","title":{"rendered":"2.4.14.a. How to Add Customer Sequence Number Print?"},"content":{"rendered":"<p><strong>Usage Area:<\/strong>\u00a0It is used in the restaurants which has Fast Food Sale (Pre Paid Sale), in case of it is desired to make possible for customers to track their orders from &#8220;Customer Sequence Number&#8221;.<\/p>\n<ul>\n<li>You can run\u00a0the action that was created for sequence number by relating to other rules according to need. In this example it has been shown how to print <strong>Customer Sequence Number<\/strong> to the ticket in order to make possible to track their orders for the customers. Increase the number when receive the payment, increase the number when receive the order\u00a0etc.<\/li>\n<li>Don&#8217;t be confused because of ticket numerator.<strong> This is not the Ticket Number.<\/strong><\/li>\n<li>Customer Sequence Number will be cleared at the End Work Period.<\/li>\n<\/ul>\n<hr \/>\n<h2>1- Editing Ticket Template<\/h2>\n<p style=\"padding-left: 60px;\">Go to<strong> Manage &gt; Printing &gt; Printer Templates <\/strong>from here double click on<strong> Ticket Template.<\/strong><\/p>\n<p style=\"padding-left: 60px;\">Copy and paste to the field that Sequence Number desired to be displayed on Ticket Template.<br \/>\n&lt;C11&gt;SEQUENCE NO:{TICKET TAG:Order No}<\/p>\n<p>[LAYOUT]<\/p>\n<p><code>-- General layout<\/code><br \/>\n<code>&lt;T&gt; Ticket<\/code><br \/>\n<code>&lt;C00&gt;{TICKET TYPE}<\/code><br \/>\n<code>&lt;J00&gt;Date:{TICKET DATE}| Time:{TIME}<\/code><br \/>\n<code>{ENTITIES}<\/code><br \/>\n<code>&lt;C00&gt;TicketNo:{TICKET NO}<\/code><br \/>\n<code>&lt;C11&gt;SEQUENCE NO:{TICKET TAG:Order No}<\/code><br \/>\n<code>&lt;F&gt;-<\/code><\/p>\n<hr \/>\n<h2>2- Adding Actions<\/h2>\n<p><strong>2.1. Adding Increase Order Sequence No Action<\/strong><\/p>\n<p>Go to <strong>Main Menu &gt; Manage &gt; Automation &gt; Actions<\/strong> from here click on <strong>Add Action<\/strong> link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-24994 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-01-1-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-01-1-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-01-1-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-01-1-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-01-1.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Action Name:<\/strong> SN-Increase Order Sequence No<\/li>\n<li><strong>Action Type:<\/strong> Update Program Setting<\/li>\n<li><strong>Setting Name:<\/strong> ORDERNO<\/li>\n<li><strong>Setting Value:<\/strong> 1<\/li>\n<li><strong>Update Type:<\/strong> Increase<\/li>\n<li><strong>Is Local:<\/strong> False<\/li>\n<\/ul>\n<p>After completing necessary fields, click on <strong>Save<\/strong> button.<\/p>\n<p><strong>2.2. Adding Reset Counter End Work Period Action<\/strong><\/p>\n<p>Go to <strong>Main Menu &gt; Manage &gt; Automation &gt; Actions<\/strong> from here click on <strong>Add Action<\/strong> link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-24996 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-02-1-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-02-1-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-02-1-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-02-1-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-02-1.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Action Name:<\/strong> SN-Reset Counter End Work Period<\/li>\n<li><strong>Action Type:<\/strong> Update Program Setting<\/li>\n<li><strong>Setting Name:<\/strong> ORDERNO<\/li>\n<li><strong>Setting Value:<\/strong> 0<\/li>\n<li><strong>Update Type:<\/strong> Update<\/li>\n<li><strong>Is Local:<\/strong> False<\/li>\n<\/ul>\n<p>After completing necessary fields, click on <strong>Save<\/strong> button.<\/p>\n<p><strong>2.3. Adding SequenceNo Tag Ticket Action<\/strong><\/p>\n<p>Go to <strong>Main Menu &gt; Manage &gt; Automation &gt; Actions<\/strong> from here click on <strong>Add Action<\/strong> link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-24998 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-03-1-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-03-1-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-03-1-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-03-1-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-03-1.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Action Name:<\/strong> SN-SequenceNo Tag Ticket<\/li>\n<li><strong>Action Type:<\/strong> Update Ticket Tag<\/li>\n<li><strong>Tag Name:\u00a0<\/strong>Order No<\/li>\n<li><strong>Tag Value:\u00a0<\/strong>{:ORDERNO}<\/li>\n<\/ul>\n<p>After completing necessary fields, click on <strong>Save<\/strong> button.<\/p>\n<hr \/>\n<h2>3- Adding Rules<\/h2>\n<p><strong>3.1. Adding Increase Sequence No Rule<\/strong><\/p>\n<p>Go to <strong>Main Menu &gt; Manage &gt; Automation &gt; Rules<\/strong> from here click on <strong>Add Rule<\/strong> link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-25000 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-04-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-04-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-04-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-04-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-04.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Rule Name:<\/strong> SN- Increase Sequence No<\/li>\n<li><strong>Event Name:<\/strong> Ticket Created<\/li>\n<li><strong>Execute Rule if :\u00a0<\/strong>Matches<\/li>\n<li><strong>Actions &gt; Select Actions:<\/strong>\n<ul>\n<li><strong>Action-1:<\/strong> SN-Increase Order Sequence No<\/li>\n<li><strong>Action-2:<\/strong> SN-SequenceNo Tag Ticket<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>After completing necessary fields, click on <strong>Save<\/strong> button.<\/p>\n<p><strong>3.2. Adding Reset Counter End Work Period Rule<\/strong><\/p>\n<p>Go to <strong>Main Menu &gt; Manage &gt; Automation &gt; Rules<\/strong> from here click on <strong>Add Rule<\/strong> link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-25002 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-05-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-05-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-05-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-05-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/SequenceNo-05.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Rule Name:<\/strong> SN- Reset Counter End Work Period<\/li>\n<li><strong>Event Name:<\/strong> Work Period Ended<\/li>\n<li><strong>Execute Rule if :\u00a0<\/strong>Matches<\/li>\n<li><strong>Actions &gt; Select Actions:<\/strong>\n<ul>\n<li><strong>Action-1:<\/strong> SN-Reset Counter End Work Period<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>After completing necessary fields, click on <strong>Save<\/strong> button.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Usage Area:\u00a0It is used in the restaurants which has Fast Food Sale (Pre Paid Sale), in case of it is desired to make possible for customers to track their orders from &#8220;Customer Sequence Number&#8221;. You can run\u00a0the action that was created for sequence number by relating to other rules according to need. In this example [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,16],"tags":[],"class_list":["post-11938","post","type-post","status-publish","format-standard","hentry","category-installation","category-2-4-sambapos-advanced-setup"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/11938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/comments?post=11938"}],"version-history":[{"count":4,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/11938\/revisions"}],"predecessor-version":[{"id":25004,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/11938\/revisions\/25004"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=11938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=11938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=11938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}