XML 196 R74.htm IDEA: XBRL DOCUMENT v3.23.2
ALLOWANCE FOR CREDIT LOSSES - Schedule of Activity for Allowance for Credit Losses (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Accounts Receivable, Allowance for Credit Loss [Roll Forward]      
Balance at beginning of period $ 16,473 $ 22,151 $ 20,906
Credit loss expense (recovery) (2,007) (1,913) 7,132
Write-off / adjustments (638) (3,765) (8,912)
Balance at end of period $ 13,828 $ 16,473 22,151
Adjustment      
Accounts Receivable, Allowance for Credit Loss [Roll Forward]      
Balance at beginning of period     $ 3,025