DEV Community

Cover image for Building Self-Checkout at Keells: Challenges Beyond the Checkout Screen
Pubudu Lakshitha Perera
Pubudu Lakshitha Perera

Posted on Edited on

Building Self-Checkout at Keells: Challenges Beyond the Checkout Screen

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.

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.

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.

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.

The same barcode, but different prices

One of the more interesting problems I worked on was product pricing.

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.

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.

We needed a way to handle this without making the checkout process difficult for customers.

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.

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.

The approach I proposed was to automate the handling of these pricing situations and avoid unnecessary customer intervention.

There were commercial considerations behind that decision, but the main objective was to keep the checkout process straightforward.

It was a good example of a problem where understanding retail operations helped me make a better engineering decision.

Supporting existing promotions

Promotions were another area that required considerable attention.

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.

These were already familiar processes for our cashiers, but supporting them through self-checkout was not as straightforward.

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

We couldn’t simply reproduce everything from our existing POS application.

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.

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.

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.

Keeping the checkout running during network interruptions

One of my responsibilities across both POS and self-checkout was to help keep supermarket checkout operations running smoothly.

Network interruptions were something we had to consider. We couldn’t assume that connectivity would always be available during trading hours.

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

However, I always preferred the systems to operate online whenever possible, particularly because of price changes.

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.

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.

From my perspective, the priority was to minimise disruption to the business without overlooking the importance of accurate retail information.

Working with Finance

The project also involved working with people outside the IT department.

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

Introducing another checkout channel meant considering what happened to the transaction information after the customer had completed their purchase.

We had to understand the reports and sales information required by Finance and take those requirements into account during the integration.

This was an important part of the project, even though it was not something customers would ever see.

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.

My previous experience working with POS and business reporting helped me understand these requirements and communicate them to the technical teams involved.

Working with different teams

What I enjoyed about this project was that it involved much more than application development.

There were discussions with internal developers, external technology partners, Finance and other business stakeholders. Each team had different requirements and priorities.

Having worked on the existing POS system gave me a useful understanding of how these requirements were connected.

It also helped me identify areas where we could reuse existing functionality instead of developing everything again for self-checkout.

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.

My role was to contribute my knowledge of the existing systems, work through the technical challenges and help bring those requirements together.

Looking back at the project

By the time I left Keells in 2022, self-checkout had already been introduced across several supermarket locations.

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.

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.

Understanding those dependencies is something I continue to value in my work as a software engineer.

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.

⸻

Reference

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

https://keells.lk/resource/reports/group-annual-reports/Ceylon-Cold-Stores-PLC-21-22.pdf

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.

Top comments (0)