XML 71 R55.htm IDEA: XBRL DOCUMENT v3.23.3
DERIVATIVE INSTRUMENTS - Fair Value Amounts of Derivative Instruments (Details) - USD ($)
$ in Thousands
Aug. 31, 2023
Aug. 31, 2022
Derivative [Line Items]    
Derivative Assets $ 4,383 $ 12,412
Derivative Liabilities 608 8,307
Cash Flow Hedging | Designated as Hedging Instrument    
Derivative [Line Items]    
Derivative Assets 4,383 12,412
Derivative Liabilities $ 608 $ 8,307
Cash Flow Hedging | Designated as Hedging Instrument | Foreign currency forward contracts    
Derivative [Line Items]    
Derivative Assets, location Prepaid expenses and other current assets Prepaid expenses and other current assets
Derivative Assets $ 1,260 $ 0
Derivative liabilities, location Accounts payable and accrued expenses Accounts payable and accrued expenses
Derivative Liabilities $ 608 $ 8,307
Cash Flow Hedging | Designated as Hedging Instrument | Interest rate swap agreement | Prepaid expenses and other current assets    
Derivative [Line Items]    
Derivative Assets, location Prepaid expenses and other current assets Prepaid expenses and other current assets
Derivative Assets $ 3,123 $ 10,621
Cash Flow Hedging | Designated as Hedging Instrument | Interest rate swap agreement | Other assets    
Derivative [Line Items]    
Derivative Assets, location Other assets Other assets
Derivative Assets $ 0 $ 1,791
Cash Flow Hedging | Designated as Hedging Instrument | Interest rate swap agreement | Accounts payable and accrued expenses    
Derivative [Line Items]    
Derivative liabilities, location Accounts payable and accrued expenses Accounts payable and accrued expenses
Derivative Liabilities $ 0 $ 0
Cash Flow Hedging | Designated as Hedging Instrument | Interest rate swap agreement | Other liabilities    
Derivative [Line Items]    
Derivative liabilities, location Other liabilities Other liabilities
Derivative Liabilities $ 0 $ 0