XML 108 R91.htm IDEA: XBRL DOCUMENT v3.7.0.1
Valuation and Qualiying Accounts (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2015
Allowance for Doubtful Accounts, Current [Member]      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balance at beginning of period $ 38,111 $ 35,493 $ 42,749
Charged to costs and expenses 27,660 18,626 15,554
Charged to other accounts [1] 1,692 (265) (1,862)
Deductions [2] (17,901) (15,743) (20,948)
Balance at end of period 49,561 38,111 35,493
Allowance for Doubtful Accounts, Noncurrent [Member]      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balance at beginning of period 547 634 8,349
Charged to costs and expenses 260 216 746
Charged to other accounts [1] 89 93 (39)
Deductions [2] (93) (395) (8,422)
Balance at end of period 803 547 634
Valuation Allowance of Deferred Tax Assets [Member]      
Movement in Valuation Allowances and Reserves [Roll Forward]      
Balance at beginning of period 15,369 23,707 35,542
Charged to costs and expenses 892 1,364 1,551
Charged to other accounts [1] (1,754) (1,022) (3,801)
Deductions (5,101) (8,680) (9,584)
Balance at end of period $ 9,406 $ 15,369 $ 23,707
[1] Includes amounts related to foreign exchange fluctuation.
[2] Doubtful accounts written off, less recoveries on accounts previously written off