One way to reset compensating records is to copy the compensators to the delivery note. The document to be copied to can be newly created or already existing, it can be of the same type as the document from which the records are copied, or of another type.
To copy compensators:

When copying to a receipt note — new or existing — an information window will appear:


To close it, click the OK or the button.