v3.24.1.1.u2
Derivatives and Hedging Activities (Tables)
9 Months Ended
Apr. 30, 2024
Derivative Instruments and Hedging Activities Disclosure [Abstract]  
Schedule of Notional Amounts of Outstanding Derivative Positions
The U.S. dollar equivalent notional amounts of outstanding forward exchange contracts were as follows:
April 30, 2024July 31, 2023
Designated as cash flow hedges$13,284 $39,661 
Non-designated hedges4,793 4,803 
Total foreign exchange contracts$18,077 $44,464 
Schedule of Derivative Instruments, Effect on Other Comprehensive Income (Loss)
The following table summarizes the amount of pre-tax gains and losses related to derivatives designated as hedging instruments:
Three months ended April 30,Nine months ended April 30,
  2024202320242023
Gains (losses) recognized in OCI:
Forward exchange contracts (cash flow hedges)$447 $496 $1,236 $2,165 
Foreign currency denominated debt (net investment hedges)408 (661)947 (1,502)
Gains reclassified from OCI into cost of goods sold
Forward exchange contracts (cash flow hedges)173 463 1,712 1,261 
Schedule of Fair Values of Derivative Instruments in Consolidated Balance Sheets
Fair values of derivative instruments in the condensed consolidated balance sheets were as follows:
 April 30, 2024July 31, 2023
Prepaid expenses and other current assetsOther current liabilitiesLong-term obligationsPrepaid expenses and other current assetsOther current liabilitiesLong-term obligations
Derivatives designated as hedging instruments:
Foreign exchange contracts (cash flow hedges)$595 $— $— $485 $189 $— 
Foreign currency denominated debt (net investment hedges)— — 35,774 — — 36,716 
Derivatives not designated as hedging instruments:
Foreign exchange contracts (non-designated hedges)— — — — 
Total derivative instruments$602 $— $35,774 $492 $189 $36,716