GOODWILL AND INTANGIBLE ASSETS - Schedule of Intangible Assets by Major Class (Details) - USD ($) $ in Thousands |
Aug. 31, 2026 |
Aug. 31, 2025 |
|---|---|---|
| Intangible Asset, Finite-Lived [Line Items] | ||
| Gross Carrying Amount | $ 4,885,307 | $ 4,269,992 |
| Accumulated Amortization | (1,978,625) | (1,859,237) |
| Total | 2,906,682 | 2,410,755 |
| Customer-related | ||
| Intangible Asset, Finite-Lived [Line Items] | ||
| Gross Carrying Amount | 4,313,307 | 3,735,706 |
| Accumulated Amortization | (1,763,219) | (1,572,270) |
| Total | 2,550,088 | 2,163,436 |
| Technology | ||
| Intangible Asset, Finite-Lived [Line Items] | ||
| Gross Carrying Amount | 327,949 | 294,292 |
| Accumulated Amortization | (93,428) | (173,864) |
| Total | 234,521 | 120,428 |
| Patents | ||
| Intangible Asset, Finite-Lived [Line Items] | ||
| Gross Carrying Amount | 106,544 | 114,739 |
| Accumulated Amortization | (71,177) | (72,430) |
| Total | 35,367 | 42,309 |
| Other | ||
| Intangible Asset, Finite-Lived [Line Items] | ||
| Gross Carrying Amount | 137,507 | 125,255 |
| Accumulated Amortization | (50,801) | (40,673) |
| Total | $ 86,706 | $ 84,582 |
| X | ||||||||||
- Definition Amount of accumulated amortization of finite-lived intangible asset. Excludes goodwill and capitalized cost for software to be sold, leased, or marketed. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before accumulated amortization, of finite-lived intangible asset. Excludes goodwill and capitalized cost for software to be sold, leased, or marketed. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, after accumulated amortization, of finite-lived intangible asset. Excludes goodwill and capitalized cost for software to be sold, leased, or marketed. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|