Allocate Cancelled Documents

After cancelling a payment, to stop the transaction displaying on the bank reconciliation, the cancelled document must be allocated to the original document.