XML 119 R102.htm IDEA: XBRL DOCUMENT v3.5.0.2
Schedule of Valuation and Qualifying Accounts (Details 1) - Allowance for uncollectible accounts receivable - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2016
Aug. 31, 2015
Aug. 31, 2014
Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance at beginning of period $ 11,663 $ 1,994 $ 2,574
Additions and adjustments charged to costs and expenses 292 11,837 17,056
Write-offs (861) (2,168) (17,636)
Balance at end of period $ 11,094 $ 11,663 $ 1,994