XML 92 R63.htm IDEA: XBRL DOCUMENT v3.22.2.2
FINANCIAL INSTRUMENTS - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2022
Aug. 31, 2021
Aug. 31, 2020
Derivative Instruments and Hedging Activities Disclosure [Abstract]      
Fair value of derivative assets $ 167,733 $ 211,988  
Fair value of derivative instruments with credit-risk-related contingent features in a liability position 187,485    
Reclassification adjustments into Cost of services 92,275 102,676 $ 48,545
Gain (loss) recognized in income on derivatives $ (168,625) $ (15,370) $ 111,623