Windows application / pilot stage
Inventory Application.
From scanning a barcode to a finished stock sheet

How it works
Catalogue snapshot
Before counting, the application downloads the current product catalogue.
When counting stock, I want the previous item saved before someone scans the next one. That is how I designed the scanning flow in the Windows app. It saves locally and reads the catalogue from Comarch Optima. The operator gets the history and export files and decides whether to import the result.
History and scope of the work
Two tasks, two flows
Stocktaking uses a shared product catalogue of the configured companies. Goods receipt assigns every operation to a chosen company and warehouse. Separate flows reduce the risk of goods being counted or recorded in the wrong place.
When does the app need Optima?
Before counting I fetch the products, EANs and stock levels from Comarch Optima. Scanning uses the local copy, so staff do not need a connection for every item. At this stage the app only reads from Optima. If a stock level is missing, I preserve that distinction rather than recording zero.
Save first, then “done”
Every scan creates an operation in the local SQLite database. The operator sees confirmation only once the save has succeeded. The quantity can come from a code multiplier, for example for a carton. Undoing adds a reverse operation and keeps the history instead of erasing the trace of a mistake.
An unknown or ambiguous EAN
A code that cannot be matched unambiguously stops the operation and does not increase the quantity. The application shows the problem to the operator. An optional hint from the internet is clearly marked as a suggestion: the operator compares it with the packaging, and the application does not write it to Optima.
From counting to a document
At the end come a summary, naming the person who did the count and a full set of exports. A multi-page PDF and data files contain the product, code, source, counted quantity and the information needed to reconcile the result. I also checked that the report is complete at page boundaries.
Development and checking
Work began in August 2026 and covered successive fixes to the screen, data durability, the scan queue, resuming and exports. I tested large series of scans and behaviour after a restart. The pilot still needs acceptance on the target Windows computer, with a physical scanner and a real import.
What this work makes possible
If a barcode is unknown or matches several entries, the app pauses that item. The operator can resolve it before a wrong count makes it into the report.
The app is still in pilot testing. The remaining check is on the intended Windows workstation, with the physical scanner and an actual import into Optima.