XML 115 R101.htm IDEA: XBRL DOCUMENT v3.5.0.2
Valuation And Qualifying Accounts (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2016
Aug. 31, 2015
Aug. 31, 2014
Allowance For Doubtful Accounts [Member]      
Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance at beginning of period $ 9,706 $ 4,857 $ 2,853
Charges to costs and expenses 800 5,840 2,225
Deductions 2,194 991 221
Balance at end of period 8,312 9,706 4,857
Allowance For Inventory Obsolescence [Member]      
Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance at beginning of period 4,405 2,858 3,089
Charges to costs and expenses 1,262 3,302 698
Charged to other accounts (30) (147) 11
Deductions 980 1,608 940
Balance at end of period 4,656 4,405 $ 2,858
Deferred Tax Asset Valuation Allowance [Member]      
Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance at beginning of period 2,949    
Charges to costs and expenses   2,949  
Deductions 124    
Balance at end of period $ 2,825 $ 2,949