Quantity cannot be updated with inventory reference Prod. reported as finished journal because inventory transactions with status Ordered, Arrived or Registered are insufficient.

Hello I am getting this error:

Quantity 19520 cannot be updated with inventory reference Prod. reported as finished journal because inventory transactions with status Ordered, Arrived or Registered are insufficient.

When do you get that error?

Mr.Adam,

now error I receive is :error executing code: division by zero:

Remove your customizations.