XML 74 R59.htm IDEA: XBRL DOCUMENT v3.8.0.1
Income Taxes (Reconciliations of Unrecognized Tax Benefits) (Details 7) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2017
Aug. 31, 2016
Aug. 31, 2015
Income Taxes [Abstract]      
Beginning balance $ 149,898 $ 154,648 $ 229,684
Additions for tax positions of prior years 2,155 7,974 4,189
Reductions for tax positions of prior years (12,233) (20,045) (7,919)
Additions for tax positions related to current year 77,807 25,892 21,541
Adjustments for tax positions related to acquired entities     1,687
Cash settlements (2,298) (6,553) (11,806)
Reductions from lapses in statutes of limitations (10,446) (7,099) (1,843)
Reductions from settlements with taxing authorities (6,061) (1,787) (72,812)
Foreign exchange rate adjustment 2,533 (3,132) (8,073)
Ending balance 201,355 149,898 154,648
Unrecognized tax benefits that would affect the effective tax rate (if recognized) $ 75,223 $ 72,152 $ 80,094