KURAPRO

Scan patterns

Barcodes on the floor don’t always hold the product code on its own. One code often carries several pieces of information — a shelf number, a product code and a sequence number, all in one. Scanned as-is, no product matches. A scan pattern fixes that: it takes only the part you need out of the value that was read, and searches with that.

Example: A01_12345_000112345

Nothing about your barcodes or your product data is rewritten. A pattern only converts the value that was just read, on the spot.

When you need one

  • The shelf, lot or sequence number is packed into the same barcode as the product code
  • Codes on your in-house labels carry a fixed prefix such as ITEM-
  • The printed code is long and only the first few digits are the product code
  • A supplier’s label and your own label hold the same product at different lengths

Creating a pattern

Only an administrator can create, edit or delete patterns. Patterns are shared company-wide, so every member can pick them on the scan screen.

  1. Open “Other” and choose Scan patterns.
  2. Press Add pattern.
  3. Enter a pattern name (this is what the scan screen shows).
  4. Press Add step and choose the operation you want.
  5. Fill in the step’s value (delimiter, part numbers, character count and so on).
  6. Add as many steps as you need, then press Save.
  • Steps run from top to bottom. A pattern with no steps can’t be saved.
  • Each row in the list shows the pattern name and a summary of its steps (e.g. Split(_) → Pick(2)).
  • Drag the handle on the left to reorder the list. That order is the order the scan screen offers them in.
  • To delete one, tap the pattern to open it and press Delete at the top right.
  • You can register up to 20 patterns.

Step types

Step What it does Value you enter
Split Splits the value into parts with a delimiter Delimiter (e.g. _)
Pick Chooses which of the split parts to use, by number Part numbers (e.g. 2, 1,3)
Strip Prefix Removes the given text if the value starts with it Leading text (e.g. ITEM-)
Strip Suffix Removes the given text if the value ends with it Trailing text (e.g. -JP)
Drop Characters Removes the given number of characters from the start Characters (e.g. 3)
Take Characters Keeps the given number of characters from the start Characters (e.g. 13)
Join Joins the parts back into one value Joiner (e.g. -; may be empty)
  • Part numbers start at 1. A minus counts from the end (-1 is the last part).
  • Character counts take a minus too. Take Characters with -4 means the last 4 characters; Drop Characters with -1 drops the last character.
  • If several parts are still in play at the end, they are joined with nothing between them. Add a Join step at the end when you want a separator.
  • Leading and trailing spaces are trimmed from the converted value.

Worked examples

What you want Value that was read Steps Result
Use the second part only A01_12345_0001 Split _ → Pick 2 12345
Drop a fixed prefix ITEM-4901234567894 Strip Prefix ITEM- 4901234567894
Use the first 13 characters 4901234567894001 Take Characters 13 4901234567894
Use the last 4 characters LOT20260820_0007 Take Characters -4 0007
Drop a trailing check character 123456789X Drop Characters -1 123456789
Join the first and third parts A01_12345_0001 Split _ → Pick 1,3 → Join - A01-0001

Choosing one on the scan screen

Patterns are chosen from the button at the bottom of the scan screen. It shows the pattern currently in use, or “Do not convert” when there is none.

  1. Open any screen that reads a barcode.
  2. Press the button to open Select Pattern.
  3. Choose the pattern to use, or Do not convert to leave values untouched.
  • Only the one pattern you select is used. Patterns never run in combination.
  • Your choice is remembered on that device, so it’s still selected next time you open the scan screen. Each member and each device can select a different one.
  • When the value that was read doesn’t fit the pattern, it is used exactly as it was read. Ordinary barcodes keep working even with a pattern selected.

The selected pattern applies everywhere KURAPRO scans:

  • Add by barcode on a transaction (Scanning barcodes)
  • The scan button in the search box on the stock and transaction screens
  • The scan button on a barcode input field (registering a barcode on a product, or a barcode-type transaction field)

Use the same pattern when you register and when you search

Registering a product’s barcode by scanning converts the value in exactly the same way. Register the converted value, and a later scan produces the same value — so it always matches.

When something goes wrong

Symptom or message What to do
A pattern is selected but nothing is converted When the value that was read doesn’t fit the pattern, it is used as it was read. Check the delimiter, part numbers and character counts against a real barcode.
No items found The converted value doesn’t exactly match any barcode registered on a product. Check the product’s barcode, or adjust the pattern.
Add at least one step. A pattern needs at least one step. Add one from Add step.
Enter part numbers separated by commas, such as 1,2. Pick takes numbers like 2 or 1,3. 0 can’t be used.
Insufficient permission Only an administrator can add, edit or delete patterns. Ask your administrator.

The quickest way to check what a pattern produces is to scan from a search box: the converted value is dropped straight into it, so you can read exactly what came out.