how to apply entries in different currencies?

Hi all, When entering a payment and trying to apply the entries, I’ve got the message that the currency must be the same, but the payement and the invoice is in different currencies, how can i apply the entries then, is there any parameters i can check?

You can set “Appln. between Currencies” to EMU or All (“Sales & Receivables Setup”/“Purchases & Payables Setup”)