---
title: "Task: Let an imported correction keep the punches between"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:task-1793228003@main"
source: "Changelog/1.0.0/Task-1793228003-LetAnImportedCorrectionKeepThePunchesBetween.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Task: Let an imported correction keep the punches between {#task-1793228003}

## Description {#description}

The message `ImportAttendanceCorrection` has the option `keepPunches`. Without it the corrected clock-in and
clock-out replace all active punches of the day, as before. With it only the first clock-in and the last clock-out of
the day are replaced, and only when they differ from the corrected ones by a minute or more; the punches between them
stay. When the correction replaces an earlier import of the same correction, the day is taken as it stood before that
import: the punches it voided are recorded again and the ones it recorded give way.

## Impact {#impact}

Only the import of a previous system sends the message, so nothing changes for users. The migration from Horilla uses
the option to keep the breaks of a day when it imports an approved attendance request.
