Comment 0 for bug 1197467

Revision history for this message
Numérigraphe (numerigraphe) wrote :

When you enter an inventory with several lines containing the same (product,location,prodlot) tuple, the posted inventory is not consistent : all lines are processes independently of each others, but they all relate to the same initial quantity.
As a consequence, differences are found even when the total of all the "duplicate" lines is right. Please see the attached for an illustration of the problem, where I can make the stock wrong twice even though I entered correct quantities, split in 2 lines.

The simplest solution would be to forbid "duplicate" inventory lines with the same (product,location,prodlot) tuple.

Another possible solution would be to let users insert duplicates, but sum them up before computing the difference with the initial stock. This would be interesting as it would allow users to enter products one by one (possibly with a barcode scanner).

Lionel Sausin.