LEASES - Supplemental Cash Flow Information (Details) - USD ($) $ in Thousands |
9 Months Ended | |
|---|---|---|
Mar. 31, 2024 |
Mar. 31, 2023 |
|
| Cash paid for amounts included in the measurement of lease liabilities: | ||
| Operating leases | $ 82,449 | $ 62,282 |
| Finance leases | 4,427 | 989 |
| Right of use assets obtained in exchange for new lease liabilities: | ||
| Operating leases | $ 19,360 | 28,579 |
| Micro Focus | ||
| Right of use assets obtained in exchange for new lease liabilities: | ||
| ROU assets acquired | $ 129,300 | |