v3.25.1
Derivatives and Hedging - Schedule of Derivative Instruments Gain (Loss) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2025
Apr. 30, 2024
Apr. 30, 2025
Apr. 30, 2024
Sales        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Total gain (loss) $ (74) $ (278) $ (488) $ (353)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Net sales Net sales Net sales Net sales
Sales | Foreign currency forward contracts        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Gain (loss) recognized in income, net of tax $ (74) $ (278) $ (488) $ (353)
Sales | Interest rate swap agreements        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Gain (loss) recognized in income, net of tax 0 0 0 0
Interest Expense        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Total gain (loss) $ (49) $ 45 $ (46) $ (94)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Interest Income (Expense), Nonoperating Interest Income (Expense), Nonoperating Interest Income (Expense), Nonoperating Interest Income (Expense), Nonoperating
Interest Expense | Foreign currency forward contracts        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Gain (loss) recognized in income, net of tax $ 0 $ 0 $ 0 $ 0
Interest Expense | Interest rate swap agreements        
Gain (Loss) on Derivatives Not Designated as Hedging Instruments        
Gain (loss) recognized in income, net of tax $ (49) $ 45 $ (46) $ (94)