XML 72 R56.htm IDEA: XBRL DOCUMENT v3.23.3
DERIVATIVE INSTRUMENTS - Derivative Recognition (Details) - Cash Flow Hedging - Designated as Hedging Instrument - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2023
Aug. 31, 2022
Aug. 31, 2021
Derivative [Line Items]      
Gain (Loss) Recognized in AOCL on Derivatives $ 10,151 $ 889 $ 2,405
Gain (Loss) Reclassified from AOCL into Income 10,481 (6,013) 3,071
Foreign currency forward contracts      
Derivative [Line Items]      
Gain (Loss) Recognized in AOCL on Derivatives 5,783 (16,356) 1,660
Foreign currency forward contracts | SG&A      
Derivative [Line Items]      
Gain (Loss) Reclassified from AOCL into Income (3,176) (7,867) 5,027
Interest rate swap agreement      
Derivative [Line Items]      
Gain (Loss) Recognized in AOCL on Derivatives 4,368 17,245 745
Interest rate swap agreement | Interest expense      
Derivative [Line Items]      
Gain (Loss) Reclassified from AOCL into Income $ 13,657 $ 1,854 $ (1,956)