pellus
14th February 2007, 13:27
Hello all. We developed a customisation to scan barcode into Baan that behaves in a way that is not good.
The barcode scanner is programmed to do
Ctl-S (save) - Ctl-N (add) - <the barcode> - Tab.
A form with many lines is filled by the scannings. In the lines appears also baan data which is a result of the barcode data, e.g. Order and Item.
The idea is that the previous barcode is saved into the db when the subsequent is scanned.
The program contains after.field section on the barcode field, which gets baan data and does some updates. And check.input section on the barcode, which is applied after the input plus when the save is done.
The problem is that, intermittently, the second barcode comes not in right. The leading characters are cut off. As if the inputing itself starts with a delay, like Baan is not ready to take input when it comes from the scanner. It can look like this after the second scan (the barcode is ABCDEF plus some digits):
barcode-------order---item
ABCDEF12345 Order1 Item1
EF12346 (error message: baan data not found)
We have experimented with delays in the scanner, also maximum delays in the scanner, but the problem still arrives.
The environment is
Worktop on SSA LN FP2 on MS-SQL on Windows.
The barcode scanner is programmed to do
Ctl-S (save) - Ctl-N (add) - <the barcode> - Tab.
A form with many lines is filled by the scannings. In the lines appears also baan data which is a result of the barcode data, e.g. Order and Item.
The idea is that the previous barcode is saved into the db when the subsequent is scanned.
The program contains after.field section on the barcode field, which gets baan data and does some updates. And check.input section on the barcode, which is applied after the input plus when the save is done.
The problem is that, intermittently, the second barcode comes not in right. The leading characters are cut off. As if the inputing itself starts with a delay, like Baan is not ready to take input when it comes from the scanner. It can look like this after the second scan (the barcode is ABCDEF plus some digits):
barcode-------order---item
ABCDEF12345 Order1 Item1
EF12346 (error message: baan data not found)
We have experimented with delays in the scanner, also maximum delays in the scanner, but the problem still arrives.
The environment is
Worktop on SSA LN FP2 on MS-SQL on Windows.