XML 71 R59.htm IDEA: XBRL DOCUMENT v3.19.1
Restructuring and Related Charges - Restructuring and Related Costs (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Feb. 28, 2019
Feb. 28, 2018
Feb. 28, 2019
Feb. 28, 2018
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges $ 817 $ 5,427 $ 6,842 $ 16,815
Employee severance and benefit costs        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 3,768 2,012 8,947 5,989
Lease costs        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 0 7 9 7
Asset write-off costs        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges (3,396) 2,451 (3,212) 9,263
Other related costs        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 445 957 1,098 1,556
EMS        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges 300 2,100 4,700 8,000
DMS        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges $ 500 $ 3,300 2,100 7,900
Corporate and Other [Member]        
Restructuring Cost and Reserve [Line Items]        
Restructuring and related charges     $ 0 $ 900