If you can't select the 'Unallocate' option, find out why you can't unallocate a transaction.
The supplier discount is unallocated and the transaction type changes to a supplier credit (PC).