Skip to main content
Solved

How do I allow a null value to be entered in the barcode scan field on the Scan Move screen?

  • September 14, 2022
  • 2 replies
  • 157 views

I currently have the scan move screen customized to flow into the Qty State automatically to allow for a qty to be scanned in.

However I would like the user to have the option to hit enter and skip the step, which would ideally pass a default qty of 1.

The issue I’m running into is that the barcode field won’t allow the user just hit enter to pass a null value.

Is there a way I can have null values passed through on that field?

Thank you.

Best answer by slesin

Hi @kevint30,

WMS engine is designed to avoid empty inputs, so I’m afraid if you try to bypass this limitation, you may face unexpected problems.

However, I would recommend adding a hidden action that would push the right input to the engine (just call Basis.scanBarcode(PXAdapter adapter, string barcode) inside the action), and doing playing with the action’s shortcut (see PXButtonAttribute’s ShortcutChar, ShortcutShift and ShortcutCtrl properties).

View original
Did this topic help you find an answer to your question?

2 replies

michellehesketh58
Jr Varsity II

We have a customer with a similar request - interested to see if this is possible with or without customization.

Thanks!

Michelle


slesin
Acumatica Employee
Forum|alt.badge.img
  • Acumatica Employee
  • 9 replies
  • Answer
  • April 19, 2023

Hi @kevint30,

WMS engine is designed to avoid empty inputs, so I’m afraid if you try to bypass this limitation, you may face unexpected problems.

However, I would recommend adding a hidden action that would push the right input to the engine (just call Basis.scanBarcode(PXAdapter adapter, string barcode) inside the action), and doing playing with the action’s shortcut (see PXButtonAttribute’s ShortcutChar, ShortcutShift and ShortcutCtrl properties).


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings