GOODWILL AND INTANGIBLE ASSETS - Amortization (Details) - USD ($) $ in Thousands |
3 Months Ended | ||
|---|---|---|---|
Nov. 30, 2016 |
Nov. 30, 2015 |
Aug. 31, 2016 |
|
| Goodwill and Intangible Assets Disclosure [Abstract] | |||
| Amortization of Intangible Assets | $ 33,128 | $ 27,724 | |
| Finite-Lived Intangible Assets, Amortization Expense, Maturity Schedule [Abstract] | |||
| Finite-Lived Intangible Assets, Amortization Expense, Remainder of Fiscal Year | 97,060 | ||
| Finite-Lived Intangible Assets, Amortization Expense, Year Two | 102,146 | ||
| Finite-Lived Intangible Assets, Amortization Expense, Year Three | 82,201 | ||
| Finite-Lived Intangible Assets, Amortization Expense, Year Four | 72,253 | ||
| Finite-Lived Intangible Assets, Amortization Expense, Year Five | 62,938 | ||
| Finite-Lived Intangible Assets, Amortization Expense, after Year Five | 134,694 | ||
| Net Carrying Amount | $ 551,292 | $ 510,151 | |