XML 68 R54.htm IDEA: XBRL DOCUMENT v3.25.2
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, 2025
Jul. 31, 2024
Jul. 31, 2023
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax $ 0 $ 0 $ (675)
Sales      
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax $ (559) $ (962) $ 455
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Net sales Net sales Net sales
Other income, net      
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax $ 5,843    
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Other income, net    
Interest Expense      
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax $ (5) $ (160) $ 1,544
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 $ 0
Foreign currency forward contracts | Sales      
Derivative [Line Items]      
Amount of gain (loss) recognized in income, net of tax (559) (962) 2,742
Gain (Loss) Reclassified from AOCI, Net of Tax     (58)
Foreign currency forward contracts | Other income, net      
Derivative [Line Items]      
Amount of gain (loss) recognized in income, net of tax 0    
Foreign currency forward contracts | Interest Expense      
Derivative [Line Items]      
Amount of gain (loss) recognized in income, net of tax 0 0 0
Gain (Loss) Reclassified from AOCI, Net of Tax     0
Warrants to purchase shares | Sales      
Derivative [Line Items]      
Amount of gain (loss) recognized in income, net of tax 0    
Warrants to purchase shares | Other income, net      
Derivative [Line Items]      
Amount of gain (loss) recognized in income, net of tax 5,843    
Warrants to purchase shares | Interest Expense      
Derivative [Line Items]      
Amount of gain (loss) recognized in income, net of tax 0    
Commodities swap agreements | Sales      
Derivative [Line Items]      
Amount of gain (loss) recognized in income, net of tax     (2,229)
Commodities swap agreements | Interest Expense      
Derivative [Line Items]      
Amount of gain (loss) recognized in income, net of tax     0
Interest rate swap agreements      
Derivative [Line Items]      
Gain (loss) recognized in Other comprehensive income (loss), net of tax 0 0 (675)
Other comprehensive income, net of tax, before reclassification 0 0 702
Interest rate swap agreements | Sales      
Derivative [Line Items]      
Amount of gain (loss) recognized in income, net of tax 0 0 0
Gain (Loss) Reclassified from AOCI, Net of Tax     0
Interest rate swap agreements | Other income, net      
Derivative [Line Items]      
Amount of gain (loss) recognized in income, net of tax 0    
Interest rate swap agreements | Interest Expense      
Derivative [Line Items]      
Amount of gain (loss) recognized in income, net of tax $ (5) $ (160) 167
Gain (Loss) Reclassified from AOCI, Net of Tax     $ 1,377