1 -- @tag: inventory_fix_shippingdate_assemblies
 
   2 -- @description: Shippingdate für assemblies und assembly_items nachträglich wie itime setzen.
 
   3 -- @depends: release_3_4_0 warehouse transfer_type_assembled
 
   4 update inventory set shippingdate = itime where comment ilike 'Verbraucht %' and shippingdate is null;
 
   5 update inventory set shippingdate = itime where shippingdate is null and parts_id in (select id from parts where assembly);