DERIVATIVE FINANCIAL INSTRUMENTS - Gains and Losses Related to Instruments Not Designated as Hedging Instruments (Details) - USD ($) $ in Millions |
12 Months Ended | |
|---|---|---|
Jun. 30, 2024 |
Jun. 30, 2023 |
|
| Foreign currency forward contracts | Derivatives Not Designated as Hedging Instruments | Selling, general and administrative | ||
| Derivative instruments | ||
| Amount of Gain (Loss) Recognized in Earnings on Derivatives | $ 62 | $ (10) |