{"id":10870,"date":"2018-02-08T09:01:14","date_gmt":"2018-02-08T09:01:14","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=10870"},"modified":"2019-02-27T11:01:18","modified_gmt":"2019-02-27T11:01:18","slug":"2-3-8-c-how-to-create-lost-automation-command","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/2-3-8-c-how-to-create-lost-automation-command\/","title":{"rendered":"2.3.8.c. How to Create Lost Automation Command?"},"content":{"rendered":"<p>Lost is used for products which will not be returned back to the warehouses.<\/p>\n<p>Lost products can be classified by using &#8220;Lost Reasons&#8221;. It is possible to add specific reasons from automation commands for each restaurant&#8217;s requirements.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10876 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-01-1-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-01-1-1024x546.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-01-1-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-01-1-768x409.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-01-1.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<ul>\n<li><strong>Wrong Order:<\/strong> Wrong product service situation.<\/li>\n<li><strong>Fault of Staff: <\/strong>Cases that might happen at production and service processes, such as breaking, pouring, service issues etc.<\/li>\n<li><strong>Fault of Kitchen: <\/strong>Cases that might happen at production and preparation processes, such as burning, dropping on the floor, Wrong production etc.<\/li>\n<li><strong>Customer Void: <\/strong>Cases that caused by customers.<\/li>\n<li><strong>Product Not Sold: <\/strong>Cases of unsold products during the day.<\/li>\n<li><strong>Void to Supplier: <\/strong>Cases of giving back the products to supplier.<\/li>\n<\/ul>\n<p>Status of lost products can be viewed among void and gift reports on the end of day reports. It is also possible to prepare it as a statement or a report.<\/p>\n<p><strong>Basic Codes That Can Be Used For Lost Statement<\/strong><\/p>\n<p><code>[Lost Details:1,3,2,3,3, 2, 2]<\/code><br \/>\n<code>&gt;No|User|Time|Status|Product|Quantity|Price<\/code><br \/>\n<code>{REPORT ORDER DETAILS:T.TicketNumber,OSU.GStatus,O.Time,OSV.GStatus,O.MenuItemName,O.Quantity,O.TotalPrice:(OS.GStatus=Lost)}<\/code><br \/>\n<code>&gt;Total|||||{REPORT ORDER DETAILS:O.Quantity.sum,O.TotalPrice.Sum:(OS.GStatus=Lost)}<\/code><\/p>\n<p><strong>Lost Statement View<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10895 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-02-1-1024x546.jpg\" alt=\"\" width=\"640\" height=\"341\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-02-1.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-02-1-300x160.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-02-1-768x410.jpg 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>To use Lost feature create those<strong> Automation Commands, Actions <\/strong>and<strong> Rules.<\/strong><\/p>\n<ol>\n<li>Creating Automation Command<\/li>\n<li>Creating Action<\/li>\n<li>Creating Rule<\/li>\n<\/ol>\n<h2><span style=\"color: #de3838;\">1. Automation Commands<\/span><\/h2>\n<h3 style=\"padding-left: 60px;\">1.1. Lost Automation Command<br \/>\n1.2. Cancel Lost Automation Command<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10879 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-03-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-03-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-03-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-03-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-03.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10881 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-04-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-04-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-04-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-04-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-04.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10883 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-05-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-05-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-05-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-05-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-05.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10885 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-06-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-06-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-06-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-06-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-3-8-c-How-to-Add-Lost-Automation-Command-06.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<h2><span style=\"color: #de3838;\">2. Creating Action<\/span><\/h2>\n<h3>2.1. Action Name: Update Lost Status of Order<\/h3>\n<ul>\n<li><strong>Action Type:\u00a0<\/strong>Update Order State<br \/>\n<em>Parameters<\/em><\/li>\n<li><strong>State Name:<\/strong> GStatus<\/li>\n<li><strong>Group Order:<\/strong> 1<\/li>\n<li><strong>Current State:<\/strong> [:Current Status]<\/li>\n<li><strong>State:<\/strong> [:Status]<\/li>\n<li><strong>State Order:<\/strong> 1<\/li>\n<li><strong>State Value:<\/strong> [:Value]<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17914 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/Lost-02-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/Lost-02.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/Lost-02-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/Lost-02-768x432.jpg 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<h2><span style=\"color: #de3838;\">3. Creating Rule<\/span><\/h2>\n<h3>3.1. Lost Rule<\/h3>\n<ul>\n<li><strong style=\"font-size: 16px;\">Event Name:<\/strong><span style=\"font-size: 16px;\">\u00a0Automation Command Executed\u00a0<\/span><\/li>\n<li><strong>Add Custom Constraint: <\/strong>Automation Command Name | Equals | Lost<\/li>\n<li><strong>Actions &gt; Select Actions<\/strong>\n<ul>\n<li>Update Order\n<ul>\n<li>Decrease: True<\/li>\n<li>Calculate Price: False<\/li>\n<\/ul>\n<\/li>\n<li>Update Lost Status of Order<strong><br \/>\n<\/strong><\/p>\n<ul>\n<li>Status: Lost<\/li>\n<li>Value: [:CommandValue]<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13659 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/sw-1-1024x574.jpg\" alt=\"\" width=\"640\" height=\"359\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/sw-1-1024x574.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/sw-1-300x168.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/sw-1-768x431.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/sw-1.jpg 1027w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<h3><strong>3.2. Cancel Lost Rule<\/strong><\/h3>\n<ul>\n<li><strong>Action Name: <\/strong>Automation Command Executed<strong>\u00a0<\/strong><\/li>\n<li><strong>Add Custom Constraint:<\/strong>\u00a0Automation Command Name | Equals | Cancel Lost<\/li>\n<li><strong>Actions &gt; Select Actions<\/strong>\n<ul>\n<li>Update Order\n<ul>\n<li>Decrase True<\/li>\n<li>Calculate Price: True<\/li>\n<\/ul>\n<\/li>\n<li>Update Lost Status of Order\n<ul>\n<li>Current Status: Lost<\/li>\n<\/ul>\n<\/li>\n<li>Update Order Status\n<ul>\n<li>Status: Submitted<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17916 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/Lost-01-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/Lost-01.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/Lost-01-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/Lost-01-768x432.jpg 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lost is used for products which will not be returned back to the warehouses. Lost products can be classified by using &#8220;Lost Reasons&#8221;. It is possible to add specific reasons from automation commands for each restaurant&#8217;s requirements. Wrong Order: Wrong product service situation. Fault of Staff: Cases that might happen at production and service processes, [&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,15],"tags":[],"class_list":["post-10870","post","type-post","status-publish","format-standard","hentry","category-installation","category-2-3-sambapos-detailed-setup"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/10870","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=10870"}],"version-history":[{"count":8,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/10870\/revisions"}],"predecessor-version":[{"id":17918,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/10870\/revisions\/17918"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=10870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=10870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=10870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}