Issue #23254:handle currencyExchangeSense and populate _gainLoss

Calling `currRate(:cashrcpt_curr_id, :cashrcpt_distdate)` would be simpler.