       WHERE referenced_relation = 'specimen_parts'
         AND record_id = part_id;
       RAISE NOTICE '+++ Insurances before transfert: %', recInsurances;
+      SELECT array_agg(people_ref)
+      INTO recProperties
+      FROM collection_maintenance
+      WHERE referenced_relation = 'specimen_parts'
+        AND record_id = part_id;
+      RAISE NOTICE '+++ Maintenance before transfert: %', recProperties;
       IF moveOrCreateProp(part_id, new_part_id, recPartsDetails, recFirstPart) < 0 THEN
         return false;
       END IF;

            ) as x;
        IF code_count > 0 THEN
          RAISE NOTICE '+ Need of new part creation';
          SELECT createNewPart(part_id, recPartsDetails, recFirstPart) INTO new_part_id;
          IF new_part_id < 0 THEN
            return false;
          END IF;

        select array_agg(property_value_unified)
        into recProperties
        from catalogue_properties inner join properties_values on catalogue_properties.id = properties_values.property_ref
        where referenced_relation = 'specimen_parts' and record_id = part_id;
        RAISE NOTICE '+++ Properties before creation: %', recProperties;
        SELECT array_agg(insurance_value), array_agg(insurance_year)
        INTO recInsurances
