when we need to import barcode in npos packet ,it ask for csv text file format.
so it make normal computer operator difficult to import excel or notepad file
as qty of barcode is need to be summed up.
i.e
nomally use scan barcodein notepad like
p10112
p11778
p10112
p35543
p35544
this file is not importable as p10112 is repeted 2 time.
so user jas to change the format to
p10112,2
p11778,1
p10112,1
which is not possible for normal computer operator.
pls make text file import easy and simple
The existing logic has been created to make the process faster from performance point of view. Imagine that a same barcode with 1000 pcs will get import instantly in the existing logic whereas the logic suggested by you will wait until all the line items are imported.