When dragging a document into a payment line, the reference remained empty

When dragging a document into a payment line, the reference remained empty.

 

Please note!
When dragging a document into a payment line of a payment that has not been saved yet, the Reference field displays "(0)". This is because the payment does not yet exist. The reference will only be added after saving the payment.