I have a field with the "Barcode" class where a barcode reader will be used to fill it, at the end of the reading with the reader it will generate a \ n, I could already capture it and treat it, however, when that happens , I need to focus to the next field on the screen that is enabled.
In the photo, when you finish entering the SPI, which is the number that will be read by the reader, you must go to the CNPJ because the DATA and SITUATION fields are disabled for editing.