Frequently Asked Question

How to disable Ctrl-G for LPN or Lot field
Last Updated 5 years ago

Input Processor captures control key event before Special Key Pressed event is triggered. So we can use the following script in Input Processor property to stop Ctrl-G. The script needs to match by field name, so please change INV.LPN accordingly.

if ("INV.LPN".equals(page.getCurrentFieldBean().getName())) {
  if ("INV_GENERATE".equals($ACTION_STRING) && $ACTION_CODE == -1) {
    session.setStatusMessage("Ctrl-G is disabled.");

Please Wait!

Please wait... it will take a second!