REVENUES - Incremental Costs of Obtaining a Contract with a Customer (Details) - USD ($) |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2024 |
Mar. 31, 2023 |
Mar. 31, 2024 |
Mar. 31, 2023 |
|
| Capitalized Contract Cost [Roll Forward] | ||||
| Capitalized costs to obtain a contract, beginning balance | $ 97,207,000 | |||
| New capitalized costs incurred | 47,961,000 | |||
| Amortization of capitalized costs | (30,493,000) | |||
| Impact of foreign exchange rate changes | (233,000) | |||
| Reclassification to Assets held for sale | (4,143,000) | |||
| Capitalized costs to obtain a contract, ending balance | $ 110,299,000 | 110,299,000 | ||
| Impairment loss | $ 0 | $ 0 | $ 0 | $ 0 |