Best Practice: Inter Company Group Buying / Selling in different currencies

Baseline: Three¹ companies with individual currencies buy stock internally from each other. They are under one management in ERPNext.
Q: What is the best practice for this issue in ERPNext?

¹Does the company count matter?

Unsolved similar issue:

dj12djdjs