{"id":15308,"date":"2018-07-13T08:26:20","date_gmt":"2018-07-13T08:26:20","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=15308"},"modified":"2019-02-26T10:51:02","modified_gmt":"2019-02-26T10:51:02","slug":"4-17-how-to-print-customers-previous-transactions","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/4-17-how-to-print-customers-previous-transactions\/","title":{"rendered":"4.17. How to Print Customer&#8217;s Previous Transactions?"},"content":{"rendered":"<p>In this document, it will be explained how to print a customer&#8217;s previous transactions.<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>1. Adding Automation Command<\/strong><\/span><\/p>\n<p>Go to <strong>Main Menu &gt; Manage &gt; Automation &gt; Automation Commands &gt;<\/strong> in here click on <strong>Add Automation Command<\/strong> link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15309 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-01-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-01-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-01-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-01-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-01.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Name:<\/strong> PCB-Print Customer Balance<\/p>\n<p><strong>Category:<\/strong> Customers<\/p>\n<p><strong>Button Header:<\/strong> Print\\rCustomer Balance\u00a0 &#8212;<strong>\\r<\/strong>&#8212; this phrase is used to write the words to down row after itself.<\/p>\n<p><strong>Color:<\/strong> Select color according to your wish.<\/p>\n<p><strong>Confirmation:<\/strong> None<\/p>\n<p><strong>Clear Selection:<\/strong> Select this box.<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>2. Adding Customer Accounts Screen<\/strong><\/span><\/p>\n<p>Go to <strong>Main Menu &gt; Manage &gt; Accounts &gt; Account Screens &gt;<\/strong> in here click on <strong>Add Account Screen<\/strong> link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15311 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-02-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-02-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-02-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-02-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-02.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Name:<\/strong> Customer Accounts<\/p>\n<p><strong>Filter Type:<\/strong> All<\/p>\n<p><strong>Display As Tree:<\/strong> Select this box.<\/p>\n<p><strong>Account Type:<\/strong> Select Customer Accounts by clicking on<strong> Select<\/strong> button and configure settings according to image above.<\/p>\n<p><strong>Automation Command:<\/strong> Select PCB-Print Customer Balance automation command by clicking on <strong>Select<\/strong> button.<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>3. Adding Action<\/strong><\/span><\/p>\n<p>Go to <strong>Main Menu &gt; Manage &gt; Automation &gt; Actions &gt;<\/strong> in here click on <strong>Add Action<\/strong> link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15313 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-03-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-03-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-03-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-03-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-03.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Action Name:<\/strong> PCB-Print customer Balance<\/p>\n<p><strong>Action Type:<\/strong> Print Account Transactions (Detailed)<\/p>\n<p><strong>Parameters:<\/strong><\/p>\n<p><strong>Accound Id:<\/strong> [:Customer ID]<\/p>\n<p><strong>Account Name:<\/strong> Blank<\/p>\n<p><strong>Account Transactions Filter:<\/strong> Default<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>4. Adding Rule<\/strong><\/span><\/p>\n<p>Go to <strong>Main Menu &gt; Manage &gt; Automation &gt; Rules &gt; <\/strong>in here click on<strong> Add Rule <\/strong>link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15315 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-04-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-04-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-04-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-04-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-04.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Rule Name:<\/strong> PCB-Print Balance When Pressed Button<\/p>\n<p><strong>Event Name:<\/strong> Automation Command Executed<\/p>\n<p><strong>Execute Rule If:<\/strong> Matches<\/p>\n<p><strong>Add Custom Constraint:<\/strong><\/p>\n<p>Automation Command Name | Equals | PCB-Print Customer Balance<\/p>\n<p><strong>Select Actions:<\/strong><\/p>\n<p>PCB-Print Customer Balance<\/p>\n<p><strong>Constraint:<\/strong> Blank<\/p>\n<p><strong>Customer ID:<\/strong> [:CommandValue]<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>5. Adding Report Template<\/strong><\/span><\/p>\n<p>Go to <strong>Main Menu &gt; Manage &gt; Reports &gt; Reports &gt;<\/strong> in here click on <strong>Add Report<\/strong> link.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15320 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-05-1-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-05-1-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-05-1-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-05-1-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-05-1.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>Name<\/strong>: Customer Accounts Balance<\/p>\n<p><strong>Display in Report Explorer:<\/strong> Select this box.<\/p>\n<p><strong>Template:<\/strong> Copy below code group and paste into template field;<\/p>\n<table style=\"height: 125px; border-color: #dedede; background-color: #dedede; width: 972px;\">\n<tbody>\n<tr>\n<td style=\"width: 962px;\"><code>[Debit and Credit Accounts:5,3,4,2]<br \/>\n&gt;Name|Phone|Address|Balance<br \/>\n{REPORT ENTITY DETAILS:E.Name,EC.Phone,EC.Address,E.Balance.sum.desc:(ET=Customers) &amp;&amp; E.ACcountId&gt;0:::$4!=0}<br \/>\n&gt;Total|||{REPORT ENTITY DETAILS:E.Balance.sum:(ET=Customers)}<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p>After completing necessary editings, click on <strong>Save<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>View of Customer Accounts Screen<\/strong><\/span><\/p>\n<p>Go to <strong>Main Menu &gt; Accounts &gt; Customer Accounts Screen &gt;<\/strong> in here, select the customer that you want to print previous transactions and click on <strong>Print Customer Balance<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-15326 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-06-1-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-06-1-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-06-1-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-06-1-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/07\/PrintCustomerBalance-06-1.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this document, it will be explained how to print a customer&#8217;s previous transactions. 1. Adding Automation Command Go to Main Menu &gt; Manage &gt; Automation &gt; Automation Commands &gt; in here click on Add Automation Command link. Name: PCB-Print Customer Balance Category: Customers Button Header: Print\\rCustomer Balance\u00a0 &#8212;\\r&#8212; this phrase is used to write [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-15308","post","type-post","status-publish","format-standard","hentry","category-customization"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/15308","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=15308"}],"version-history":[{"count":7,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/15308\/revisions"}],"predecessor-version":[{"id":15350,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/15308\/revisions\/15350"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=15308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=15308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=15308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}