{"id":12354,"date":"2024-01-24T12:43:25","date_gmt":"2024-01-24T12:43:25","guid":{"rendered":"https:\/\/jaldi.store\/?p=8859"},"modified":"2026-08-07T05:57:34","modified_gmt":"2026-08-07T05:57:34","slug":"pos-logout-validation-when-bills-are-on-hold-in-adempiere-retail","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/idempiere\/pos-logout-validation-when-bills-are-on-hold-in-adempiere-retail\/","title":{"rendered":"POS Logout validation when Bills are on Hold in ADempiere Retail"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If there are any <strong>bills placed on hold<\/strong>, the POS system should <strong>restrict the user from logging out<\/strong> until those bills are either <strong>retrieved and billed<\/strong> or <strong>cancelled<\/strong>. This ensures that no transaction is left incomplete or unaccounted for.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>User Access<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Who Can Access<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Cashier<\/li>\n\n\n\n<li>Head Cashier<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What User Can Do<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Place a bill on <strong>hold<\/strong> temporarily (e.g., customer steps away).<\/li>\n\n\n\n<li>Resume (retrieve) the bill and complete payment.<\/li>\n\n\n\n<li>Cancel the held bill if not required.<\/li>\n\n\n\n<li>Only after <strong>no bills are in hold status<\/strong>, user can <strong>logout<\/strong> from POS.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Pre-Requisite Activities<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>POS should support:\n<ul class=\"wp-block-list\">\n<li>Bill Hold \/ Retrieve function<\/li>\n\n\n\n<li>Session-level tracking of held bills<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>User session management should be enforced<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Business Rules<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If any <strong>bill is in hold status<\/strong>, system must:\n<ul class=\"wp-block-list\">\n<li>Block logout with error message:<br><strong>&#8220;Logout not allowed. Clear all held bills first.&#8221;<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Bills on hold must be:\n<ul class=\"wp-block-list\">\n<li>Completed (converted to sale) OR<\/li>\n\n\n\n<li>Deleted\/cancelled (if invalid)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Hold bills should be user-specific (one cashier shouldn&#8217;t be blocked by another\u2019s hold).<\/li>\n\n\n\n<li>Optionally, allow <strong>admin override<\/strong> in emergencies.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>User Interface<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1 : <\/strong>Logout the POS screen<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"573\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-POS-POSLogoutValidation.png\" alt=\" TenthPlanet ADempiere POS POSLogoutValidation\" class=\"wp-image-23691\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-POS-POSLogoutValidation.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-POS-POSLogoutValidation-300x168.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-POS-POSLogoutValidation-768x430.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2 : <\/strong>System should not allow logout POS screen when hold bills<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1018\" height=\"564\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-POS-POSLogoutValidation-1.png\" alt=\" TenthPlanet ADempiere POS POSLogoutValidation 1\" class=\"wp-image-23692\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-POS-POSLogoutValidation-1.png 1018w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-POS-POSLogoutValidation-1-300x166.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2024\/01\/TenthPlanet-ADempiere-POS-POSLogoutValidation-1-768x425.png 768w\" sizes=\"auto, (max-width: 1018px) 100vw, 1018px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>If there are any bills placed on hold, the POS system should restrict the user from logging out until those [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,85,31],"tags":[],"class_list":["post-12354","post","type-post","status-publish","format-standard","hentry","category-jaldi-super-store","category-adempiere-pos","category-jaldi-life-style"],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/12354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/comments?post=12354"}],"version-history":[{"count":2,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/12354\/revisions"}],"predecessor-version":[{"id":23696,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/12354\/revisions\/23696"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/media?parent=12354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/categories?post=12354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/tags?post=12354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}