If your IDs don’t have a known pattern other than the number of characters in the ID, you can use the ? wildcard for every position to save the barcode value to the associated database. If you don’t have a known pattern and not all barcode values are the same length, leave the Code Pattern field empty. Then, anything you scan will be added to the database.
Why would you use Scan Mask’s pattern validation without a pattern or even without an original validation database? Because it enables you to add barcode values to a database when you check the box ‘Add scanned value and response to the database when a match is made’. Thus, you can catch duplicate scans for both online and on-device database services.