XML 67 R55.htm IDEA: XBRL DOCUMENT v3.8.0.1
Restructuring and Related Charges - Restructuring and Related Costs (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2018
May 31, 2017
May 31, 2018
May 31, 2017
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges $ 12,647 $ 32,700 $ 29,462 $ 113,529
Employee severance and benefit costs        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 5,058 18,171 11,048 46,654
Lease costs        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 1,589 1,151 1,596 5,600
Asset write-off costs        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 5,575 11,838 14,838 58,613
Other related costs        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 425 1,540 1,980 2,662
EMS        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 4,600 12,400 12,600 23,800
DMS        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 5,800 17,800 13,800 65,800
Non-allocated charges        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges $ 2,200 $ 2,500 $ 3,100 $ 23,900