XML 110 R94.htm IDEA: XBRL DOCUMENT v3.10.0.1
Valuation and Qualiying Accounts (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2016
Allowance for Doubtful Accounts, Current [Member]      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balance at beginning of period $ 49,561 $ 38,111 $ 35,493
Charged to costs and expenses 21,443 27,660 18,626
Charged to other accounts [1] 5,546 1,692 (265)
Deductions [2] (25,208) (17,901) (15,743)
Balance at end of period 51,342 49,561 38,111
Allowance for Doubtful Accounts, Noncurrent [Member]      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balance at beginning of period 803 547 634
Charged to costs and expenses 0 260 216
Charged to other accounts [1] (293) 89 93
Deductions [2] 0 (93) (395)
Balance at end of period 510 803 547
Valuation Allowance of Deferred Tax Assets [Member]      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balance at beginning of period 9,406 15,369 23,707
Charged to costs and expenses 38,937 892 1,364
Charged to other accounts [1] (325) (1,754) (1,022)
Deductions (2,013) (5,101) (8,680)
Balance at end of period $ 46,006 $ 9,406 $ 15,369
[1] Includes amounts related to foreign exchange fluctuation.
[2] Doubtful accounts written off, less recoveries on accounts previously written off