GOODWILL AND INTANGIBLE ASSETS - Intangible Table by Major Class (Details) - USD ($) $ in Thousands |
Feb. 28, 2021 |
Aug. 31, 2020 |
|---|---|---|
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | $ 1,944,476 | $ 1,682,068 |
| Accumulated Amortization | (735,930) | (652,850) |
| Net Carrying Amount | 1,208,546 | 1,029,218 |
| Customer-related | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 1,558,933 | 1,319,332 |
| Accumulated Amortization | (569,634) | (495,367) |
| Net Carrying Amount | 989,299 | 823,965 |
| Technology | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 178,902 | 150,765 |
| Accumulated Amortization | (61,564) | (55,543) |
| Net Carrying Amount | 117,338 | 95,222 |
| Patents | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 128,464 | 129,295 |
| Accumulated Amortization | (69,173) | (66,954) |
| Net Carrying Amount | 59,291 | 62,341 |
| Other | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 78,177 | 82,676 |
| Accumulated Amortization | (35,559) | (34,986) |
| Net Carrying Amount | $ 42,618 | $ 47,690 |