ALLOWANCE FOR CREDIT LOSSES - Schedule of Activity for Allowance for Credit Losses (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Credit Loss [Abstract] | |||
| Balance at beginning of period | $ 14,258 | $ 12,108 | $ 13,828 |
| Credit loss expense (recovery) | 7,662 | 9,874 | 8,622 |
| Write-off/adjustments | (8,686) | (7,724) | (9,196) |
| Divestiture of business | (98) | (1,146) | |
| Balance at end of period | $ 13,136 | $ 14,258 | $ 12,108 |
| X | ||||||||||
- Definition Accounts Receivable, Allowance For Credit Loss, Divestiture Of Businesses No definition available.
|
| X | ||||||||||
- Definition Amount of allowance for credit loss on accounts receivable, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of direct write-downs of accounts receivable charged against the allowance. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of expense (reversal of expense) for expected credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|