XML 41 R30.htm IDEA: XBRL DOCUMENT v3.21.1
Derivatives and Hedging Activities (Tables)
9 Months Ended
Apr. 30, 2021
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, 2021July 31, 2020
Designated as cash flow hedges$6,150 $24,600 
Non-designated hedges3,495 3,107 
Total foreign exchange contracts$9,645 $27,707 
Schedule of Derivative Instruments, Effect on Other Comprehensive Income (Loss)
The following table summarizes the amount of pre-tax gains and losses related to foreign exchange contracts designated as cash flow hedging instruments:
 Three months ended April 30,Nine months ended April 30,
  2021202020212020
Gains (losses) recognized in OCI$118 $(1,751)$1,266 $(1,192)
Gains reclassified from OCI into cost of goods sold292 293 21 779 
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, 2021July 31, 2020
  Prepaid expenses and other current assetsOther current liabilitiesPrepaid expenses and other current assetsOther current liabilities
Derivatives designated as hedging instruments:
Foreign exchange contracts (cash flow hedges)$724 $242 $588 $761 
Derivatives not designated as hedging instruments:
Foreign exchange contracts (non-designated hedges)— 10 16 
Total derivative instruments$724 $252 $594 $777