v3.24.1.1.u2
Derivative Instruments and Hedging Activities Pre-Tax Gains and Losses related to Foreign Exchange Contracts (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2024
Apr. 30, 2023
Apr. 30, 2024
Apr. 30, 2023
Derivative Instruments and Hedging Activities Disclosure [Abstract]        
Net gain recognized in other comprehensive (loss) income $ 447 $ 496 $ 1,236 $ 2,165
Foreign currency denominated debt (net investment hedges) 408 (661) 947 (1,502)
Forward exchange contracts (cash flow hedges) $ 173 $ 463 $ 1,712 $ 1,261