XML 76 R59.htm IDEA: XBRL DOCUMENT v3.24.3
DERIVATIVES AND HEDGING - Schedule of Consolidated Statements of Income and Comprehensive Income Due to Changes in Fair Value of Derivative Instruments (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2024
Jul. 31, 2023
Jul. 31, 2022
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax $ 0 $ (675) $ 9,330
Sales      
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax $ (962) $ 455 $ (723)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Net sales Net sales Net sales
Interest Expense      
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax $ (160) $ 1,544 $ (5,270)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Interest Income (Expense), Nonoperating Interest Income (Expense), Nonoperating Interest Income (Expense), Nonoperating
Foreign currency forward contracts      
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax $ 0 $ 0 $ 6
Foreign currency forward contracts | Sales      
Derivative [Line Items]      
Gain (Loss) Reclassified from AOCI, Net of Tax   (58) (723)
Amount of (loss) recognized in income, net of tax (962) 2,742  
Foreign currency forward contracts | Interest Expense      
Derivative [Line Items]      
Gain (Loss) Reclassified from AOCI, Net of Tax   0 0
Amount of (loss) recognized in income, net of tax 0 0  
Interest rate swap agreements      
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax 0 (675) 9,324
Other comprehensive income, net of tax, before reclassification 0 702 3,626
Interest rate swap agreements | Sales      
Derivative [Line Items]      
Gain (Loss) Reclassified from AOCI, Net of Tax   0 0
Amount of (loss) recognized in income, net of tax 0 0 0
Interest rate swap agreements | Interest Expense      
Derivative [Line Items]      
Gain (Loss) Reclassified from AOCI, Net of Tax   1,377 (5,698)
Amount of (loss) recognized in income, net of tax $ (160) 167 $ 428
Commodities swap agreements | Sales      
Derivative [Line Items]      
Amount of (loss) recognized in income, net of tax   (2,229)  
Commodities swap agreements | Interest Expense      
Derivative [Line Items]      
Amount of (loss) recognized in income, net of tax   $ 0