I try to reverse Customer ledger entries and get an error message "You cannot reverse Cust. Ledger Entry No. 871 because the entry has an associated Realized Gain/Loss entry". How to solve this issue? Is there any way to reverse the payment if it is in foreign currency?