XML 121 R106.htm IDEA: XBRL DOCUMENT v3.8.0.1
Schedule of Valuation and Qualifying Accounts (Details 1) - Allowance for uncollectible accounts receivable - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2017
Aug. 31, 2016
Aug. 31, 2015
Valuation and Qualifying Accounts Disclosure [Line Items]      
Balance at beginning of period $ 11,094 $ 11,663 $ 1,994
Additions and adjustments charged to costs and expenses 6,255 292 11,837
Write-offs (3,215) (861) (2,168)
Balance at end of period $ 14,134 $ 11,094 $ 11,663