Limit Number of Digits in Quantity Field

Limit Number of Digits in Quantity Field

Some clients would like to limit the quantities entered in Panatrack transactions, especially those entered via barcode scanning. Using the RegEx capabilities of PanatrackerGP, clients can prevent users from scanning an all-digit barcode like a UPC into the quantity field.

Configuration Steps

  1. Navigate to Configure menu on the left and select System Settings.
  2. Select the Barcode Control menu.
  3. Set Enable Regex Features to True.
  4. Scroll down to and tap Data Pattern Quantity Field.
  5. Clear out the existing ^.*$.
  6. Replace with: ^[0-9]{1,3}$

Notes

The setting ^[0-9]{1,3}$ will limit the entry to 3 digits. A quantity of 999 is the highest number that could be entered into the quantity field. Panatrack will not truncate a quantity or barcode entered, it will reject anything with more than 3 digits.

Changing the 3 in this string will impact the digits allowed:

  • ^[0-9]{1,4}$ allows 4 digits
  • ^[0-9]{1,5}$ allows 5 digits

Quantity Field setting: ^[0-9]{1,3}$ where 1,3 indicates no more than 3 digits can be entered (limit 999).

    • Related Articles

    • Scanning into Quantity Fields

      By default, scanners are disabled in quantity fields to prevent accidentally scanning item codes as quantities, which can result in incorrect large transactions. Enable Scanning in Quantity Fields To allow scanning in quantity fields: Navigate to ...
    • Order Fulfillment Error: Quantities cannot exceed total quantity plus quantity already transferred

      Symptom Order Fulfillment Error: Quantities cannot exceed total quantity plus quantity already transferred Cause This error may occur when the InvoicePartialPicks setting is set to true. This setting does not update the "To Invoice" quantity when the ...
    • GZip magic Number Error

      Symptom "The Magic number in GZip header is not correct" message is displayed. Cause This rare error indicates that the IIS process on the server may have become corrupted. Solution Restart IIS on the server where PanatrackerGP is hosted: From the ...
    • System Settings

      System Settings control global configuration options for PanatrackerGP. Access System Settings from the Panatracker portal under Configure > System Settings. General Settings The majority of these settings are legacy settings for WM environments. For ...
    • Order Fulfill Transaction

      The Order Fulfill transaction enables picking of GP sales orders with support for order, invoice, or fulfillment order/invoice document types. The transaction uses directed or ad-hoc pick workflows with optional zone filtering, lot/serial tracking, ...