XML 108 R78.htm IDEA: XBRL DOCUMENT v3.24.2.u1
ALLOWANCE FOR CREDIT LOSSES - Schedule of Activity for Allowance for Credit Losses (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2022
Credit Loss [Abstract]      
Balance at beginning of period $ 13,828 $ 16,473 $ 22,151
Credit loss expense (recovery) 8,622 (2,007) (1,913)
Write-off/adjustments (9,196) (638) (3,765)
Divestiture of AMC business (Note 19) (1,146)    
Balance at end of period $ 12,108 $ 13,828 $ 16,473