XML 42 R31.htm IDEA: XBRL DOCUMENT v3.22.4
Derivatives and Hedging (Tables)
6 Months Ended
Jan. 31, 2023
Derivative Instruments and Hedging Activities Disclosure [Abstract]  
Schedule of derivative instruments
The fair value of our derivative instruments designated as cash flow hedges, and the associated notional amounts, presented on a pre-tax basis, were as follows:

January 31, 2023July 31, 2022
Fair Value inFair Value inFair Value inFair Value in
Other CurrentOther CurrentOther CurrentOther Current
Cash Flow HedgesNotionalAssetsLiabilitiesNotionalAssetsLiabilities
Foreign currency forward contracts$— $— $— $33,997 $— $80 
Interest rate swap agreements165,263 961 — 273,325 850 — 
Total derivative financial instruments$165,263 $961 $— $307,322 $850 $80 
Derivative instruments, gain (loss)
The total amounts presented in the Condensed Consolidated Statements of Income and Comprehensive Income due to changes in the fair value of the derivative instruments are as follows:

Three Months Ended January 31,
20232022
Gain (Loss) on Derivatives Designated as Cash Flow Hedges
Gain (Loss) recognized in Other Comprehensive Income, net of tax
Foreign currency forward contracts$— $(479)
Interest rate swap agreements (1)
(661)2,608 
Total gain (loss)$(661)$2,129 

(1) Other comprehensive income (loss), net of tax, before reclassification from AOCI was $(136) and $795 for the three months ended January 31, 2023 and 2022, respectively.

Six Months Ended January 31,
20232022
Gain (Loss) on Derivatives Designated as Cash Flow Hedges
Gain (Loss) recognized in Other Comprehensive Income, net of tax
Foreign currency forward contracts$— $(620)
Interest rate swap agreements (2)
85 5,104 
Total gain (loss)$85 $4,484 

(2) Other comprehensive income (loss), net of tax, before reclassification from AOCI was $718 and $1,402 for the six months ended January 31, 2023 and 2022, respectively.

Three Months Ended January 31,
20232022
 Interest Interest
SalesExpenseSalesExpense
Gain (Loss) Reclassified from AOCI, Net of Tax
Foreign currency forward contracts$— $— $(271)$— 
Interest rate swap agreements— 525 —  (1,813)
Gain (Loss) on Derivatives Not Designated as Hedging Instruments
Gain (loss) recognized in income, net of tax
Foreign currency forward contracts$1,118 $— $— $— 
Commodities swap agreements(1,567)— — — 
Interest rate swap agreements— (83)— 
Total gain (loss)$(449)$442 $(271)$(1,811)
Six Months Ended January 31,
20232022
 Interest Interest
SalesExpenseSalesExpense
Gain (Loss) Reclassified from AOCI, Net of Tax
Foreign currency forward contracts$(58)$— $(284)$— 
Interest rate swap agreements— 633 — (3,702)
Gain (Loss) on Derivatives Not Designated as Hedging Instruments
Gain (loss) recognized in income, net of tax
Foreign currency forward contracts$1,946 $— $— $— 
Commodities swap agreements(2,229)— — — 
Interest rate swap agreements— 171 — 89 
Total gain (loss)$(341)$804 $(284)$(3,613)