<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Pubudu Lakshitha Perera</title>
    <description>The latest articles on DEV Community by Pubudu Lakshitha Perera (@pubudu_lakshitha_94f98b5d).</description>
    <link>https://dev.to/pubudu_lakshitha_94f98b5d</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F99mvlsfu5tfj9m7ku25d.png</url>
      <title>DEV Community: Pubudu Lakshitha Perera</title>
      <link>https://dev.to/pubudu_lakshitha_94f98b5d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pubudu_lakshitha_94f98b5d"/>
    <language>en</language>
    <item>
      <title>Building Self-Checkout at Keells: Challenges Beyond the Checkout Screen</title>
      <dc:creator>Pubudu Lakshitha Perera</dc:creator>
      <pubDate>Wed, 25 Nov 2026 13:52:05 +0000</pubDate>
      <link>https://dev.to/pubudu_lakshitha_94f98b5d/building-self-checkout-at-keells-challenges-beyond-the-checkout-screen-lkd</link>
      <guid>https://dev.to/pubudu_lakshitha_94f98b5d/building-self-checkout-at-keells-challenges-beyond-the-checkout-screen-lkd</guid>
      <description>&lt;p&gt;During my time at Keells, one of Sri Lanka’s leading supermarket chains, I had the opportunity to work on the company’s early self-checkout implementation.&lt;/p&gt;

&lt;p&gt;Having worked extensively with our existing Point-of-Sale (POS) system, I was familiar with many of the requirements of supermarket operations. However, moving from a cashier-operated checkout to a self-service environment brought a different set of challenges.&lt;/p&gt;

&lt;p&gt;We already had an established POS system that supported a wide range of business functions. Introducing self-checkout meant finding ways to retain those functions while making the shopping experience simpler for customers.&lt;/p&gt;

&lt;p&gt;I wanted to share a few of the challenges we faced during this project, particularly those that required us to look beyond the technical implementation.&lt;/p&gt;

&lt;h2&gt;
  
  
  The same barcode, but different prices
&lt;/h2&gt;

&lt;p&gt;One of the more interesting problems I worked on was product pricing.&lt;/p&gt;

&lt;p&gt;In Sri Lanka, it is possible to have two batches of the same product on a supermarket shelf with different marked prices, even though both have the same barcode.&lt;/p&gt;

&lt;p&gt;At a traditional checkout, the cashier can check the price marked on the product and handle the situation accordingly. With self-checkout, the system cannot determine which marked price is printed on the individual item simply by scanning its barcode.&lt;/p&gt;

&lt;p&gt;We needed a way to handle this without making the checkout process difficult for customers.&lt;/p&gt;

&lt;p&gt;Introducing another screen or asking customers to request assistance was an option, but it would have defeated part of the purpose of introducing self-checkout in the first place.&lt;/p&gt;

&lt;p&gt;I looked at the problem from a business perspective as well as a technical one. Building a complicated solution would involve additional development, testing and ongoing maintenance. I wanted to understand whether that level of complexity was actually necessary.&lt;/p&gt;

&lt;p&gt;The approach I proposed was to automate the handling of these pricing situations and avoid unnecessary customer intervention.&lt;/p&gt;

&lt;p&gt;There were commercial considerations behind that decision, but the main objective was to keep the checkout process straightforward.&lt;/p&gt;

&lt;p&gt;It was a good example of a problem where understanding retail operations helped me make a better engineering decision.&lt;/p&gt;

&lt;h2&gt;
  
  
  Supporting existing promotions
&lt;/h2&gt;

&lt;p&gt;Promotions were another area that required considerable attention.&lt;/p&gt;

&lt;p&gt;Our existing POS system supported various promotional campaigns. Some required customers to provide their mobile numbers for raffle entries, while others involved free items or additional interactions during a transaction.&lt;/p&gt;

&lt;p&gt;These were already familiar processes for our cashiers, but supporting them through self-checkout was not as straightforward.&lt;/p&gt;

&lt;p&gt;We were working with an externally managed checkout interface, which meant our development team had limited control over certain customer-facing interactions.&lt;/p&gt;

&lt;p&gt;We couldn’t simply reproduce everything from our existing POS application.&lt;/p&gt;

&lt;p&gt;One of our internal developers came up with a clever solution using the integration capabilities available to us. This allowed us to support certain promotional requirements without directly modifying the externally managed interface.&lt;/p&gt;

&lt;p&gt;My involvement was mainly in understanding the existing POS behaviour, identifying what needed to be supported, discussing the integration options and coordinating with the relevant technical teams.&lt;/p&gt;

&lt;p&gt;Knowing our existing POS system was particularly useful here. I could explain not only what a particular function did, but also why the business needed it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keeping the checkout running during network interruptions
&lt;/h2&gt;

&lt;p&gt;One of my responsibilities across both POS and self-checkout was to help keep supermarket checkout operations running smoothly.&lt;/p&gt;

&lt;p&gt;Network interruptions were something we had to consider. We couldn’t assume that connectivity would always be available during trading hours.&lt;/p&gt;

&lt;p&gt;As part of the implementation, we supported offline operation so that temporary connectivity issues would not necessarily bring checkout operations to a complete stop.&lt;/p&gt;

&lt;p&gt;However, I always preferred the systems to operate online whenever possible, particularly because of price changes.&lt;/p&gt;

&lt;p&gt;Retail prices can change, and a system operating offline may not have the most recent information. The longer it remains offline, the greater the possibility of working with outdated data.&lt;/p&gt;

&lt;p&gt;The purpose of offline operation was to help the store continue operating while the connectivity issue was being resolved. It was never intended to replace normal online operation.&lt;/p&gt;

&lt;p&gt;From my perspective, the priority was to minimise disruption to the business without overlooking the importance of accurate retail information.&lt;/p&gt;

&lt;h2&gt;
  
  
  Working with Finance
&lt;/h2&gt;

&lt;p&gt;The project also involved working with people outside the IT department.&lt;/p&gt;

&lt;p&gt;In particular, I worked with the Finance team because they needed sales information from the self-checkout system for their reporting requirements.&lt;/p&gt;

&lt;p&gt;Introducing another checkout channel meant considering what happened to the transaction information after the customer had completed their purchase.&lt;/p&gt;

&lt;p&gt;We had to understand the reports and sales information required by Finance and take those requirements into account during the integration.&lt;/p&gt;

&lt;p&gt;This was an important part of the project, even though it was not something customers would ever see.&lt;/p&gt;

&lt;p&gt;A customer might have a perfectly good experience using a self-checkout machine, but if the business cannot properly account for the sale afterwards, there is still a problem that needs to be addressed.&lt;/p&gt;

&lt;p&gt;My previous experience working with POS and business reporting helped me understand these requirements and communicate them to the technical teams involved.&lt;/p&gt;

&lt;h2&gt;
  
  
  Working with different teams
&lt;/h2&gt;

&lt;p&gt;What I enjoyed about this project was that it involved much more than application development.&lt;/p&gt;

&lt;p&gt;There were discussions with internal developers, external technology partners, Finance and other business stakeholders. Each team had different requirements and priorities.&lt;/p&gt;

&lt;p&gt;Having worked on the existing POS system gave me a useful understanding of how these requirements were connected.&lt;/p&gt;

&lt;p&gt;It also helped me identify areas where we could reuse existing functionality instead of developing everything again for self-checkout.&lt;/p&gt;

&lt;p&gt;Not every solution came from me. Some came from our developers, while others came from discussions with the people responsible for different areas of the business.&lt;/p&gt;

&lt;p&gt;My role was to contribute my knowledge of the existing systems, work through the technical challenges and help bring those requirements together.&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking back at the project
&lt;/h2&gt;

&lt;p&gt;By the time I left Keells in 2022, self-checkout had already been introduced across several supermarket locations.&lt;/p&gt;

&lt;p&gt;Looking back, the pricing challenge remains one of my favourite examples from the project. It showed me how a relatively simple engineering decision could address a problem that might otherwise have required a much more complicated implementation.&lt;/p&gt;

&lt;p&gt;The project also changed the way I looked at enterprise software development. A decision made within an application can affect store employees, customers, Finance and several other areas of the business.&lt;/p&gt;

&lt;p&gt;Understanding those dependencies is something I continue to value in my work as a software engineer.&lt;/p&gt;

&lt;p&gt;There were several other technical challenges during the implementation, including an interesting issue involving a third-party payment integration. I hope to share that experience in a separate article.&lt;/p&gt;

&lt;p&gt;⸻&lt;/p&gt;

&lt;h3&gt;
  
  
  Reference
&lt;/h3&gt;

&lt;p&gt;Keells’ early self-checkout and Scan &amp;amp; Go initiatives are documented in the Ceylon Cold Stores PLC Annual Report 2021/22.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://keells.lk/resource/reports/group-annual-reports/Ceylon-Cold-Stores-PLC-21-22.pdf" rel="noopener noreferrer"&gt;https://keells.lk/resource/reports/group-annual-reports/Ceylon-Cold-Stores-PLC-21-22.pdf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This article is based on my personal professional experience. The views expressed are my own. Internal architecture, proprietary implementation details and confidential business information have intentionally been omitted.&lt;/p&gt;

</description>
      <category>softwareengineering</category>
      <category>architecture</category>
      <category>systemdesign</category>
      <category>retailtech</category>
    </item>
  </channel>
</rss>
