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 6 Months Ended
Feb. 28, 2018
Feb. 28, 2017
Feb. 28, 2018
Feb. 28, 2017
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges $ 5,427 $ 44,927 $ 16,815 $ 80,829
Employee severance and benefit costs        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 2,012 9,097 5,989 28,483
Lease costs        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 7 1,158 7 4,449
Asset write-off costs        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 2,451 34,135 9,263 46,775
Other related costs        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 957 537 1,556 1,122
EMS        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 2,100 4,000 8,000 11,300
DMS        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 3,300 36,600 7,900 48,100
Non-allocated charges        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges $ 0 $ 4,400 $ 900 $ 21,400