Barcodes case-insensitive

I am using Product Codes as barcodes to make searching my items faster but the system is case-sensitive.
Some of the product codes contain upper case and some lower case.
Eg. BSR4528 & mtb1146a

Is it possible to have the barcode search case-insensitive?

When you say barcode search you really mean product code search?

Are those the name of your actual products?

I am using the product codes as barcodes
Eg. BSR4528 & mtb1146a
These are entered under barcodes, The product names are just normal Text descriptions

I need to be able to type in BSR4528 or bsr4528 and have it bring up the product.

I have created a custom entity screen where I can search items by name, group or barcode.
Its not ideal but it works

I cant navigate to the entity screen from the POS screen
Here is my action and rule I can’t see why its not working

Upper case and lowercase barcodes are not same so removing case sensivity may break some people’s flow.

Also you can’t navigate out of an open ticket with navigate action.

Are you manually typing barcodes? When there is no barcode found “Numberpad value Entered” rule will fire. Maybe you can try handling that rule to implement your custom search logic with JScript and use Add Order action to add the order.

2 Likes

Yes that makes sense.
I had thought of using the "Numberpad value entered event but I thought it would slow down the system executing a query every time something is entered into the number pad.

Is it possible to show the report in some sort of popup within the POS screen?

That executes when user submits value by clicking enter and if it is not an existing barcode.

If you try this I’ll strongly suggest SQL but for testing you can try using this tag to resolve product name from barcode by lowcase and partial matching.

{REPORT MENU ITEM DETAILS:M.Name:MenuItem.Barcode != null && MenuItem.Barcode.ToLower().Contains("123456")}

Displaying reports in a popup is not possible and also it will be a lot slower. You may try to implement a HTML + GraphQL based solution though.

1 Like

Humm there is syntax you don’t se everyday…