If part of the quantity on the line has already been  returned (or sold, or otherwise consumed), the program creates the new  line with only the remaining quantity.
Če je bil del količine v vrstici že vrnjen (ali prodan ali kako drugače porabljen), program ustvari novo vrstico samo s preostalo količino.