Synchronizing purchases and sales with varied currencies

How do I set multi different currencies in purchases and sales so that they are synchronized, for example, purchasing using dollars and selling using another currency?

Thanks For your attention.

You can’t

yes i don’t know