Good afternoon,
I have created a batchjob to create automatic deliveries. One delivery should always be created, even if the stock is too low.

However, when the stock for a material is too low, the batchjob keeps creating multiple deliveries with only the material that does not have sufficient stock. The quantity in those deliveries is always 0.

What is happening here and how can I prevent it?
Kind regards,
Floyd