XML 68 R54.htm IDEA: XBRL DOCUMENT
v3.25.2

DERIVATIVES AND HEDGING - Schedule of Consolidated Statements of Income and Comprehensive Income Due to Changes in Fair Value of Derivative Instruments (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jul. 31, 2025 | Jul. 31, 2024 | Jul. 31, 2023
Derivative [Line Items] |  |  |
Gain (loss) recognized in Other comprehensive income (loss), net of tax | $ 0 | $ 0 | $ (675)
Sales |  |  |
Derivative [Line Items] |  |  |
Gain (loss) recognized in Other comprehensive income (loss), net of tax | $ (559) | $ (962) | $ 455
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] | Net sales | Net sales | Net sales
Other income, net |  |  |
Derivative [Line Items] |  |  |
Gain (loss) recognized in Other comprehensive income (loss), net of tax | $ 5,843 |  |
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] | Other income, net |  |
Interest Expense |  |  |
Derivative [Line Items] |  |  |
Gain (loss) recognized in Other comprehensive income (loss), net of tax | $ (5) | $ (160) | $ 1,544
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] | Interest Income (Expense), Nonoperating | Interest Income (Expense), Nonoperating | Interest Income (Expense), Nonoperating
Foreign currency forward contracts |  |  |
Derivative [Line Items] |  |  |
Gain (loss) recognized in Other comprehensive income (loss), net of tax | $ 0 | $ 0 | $ 0
Foreign currency forward contracts | Sales |  |  |
Derivative [Line Items] |  |  |
Amount of gain (loss) recognized in income, net of tax | (559) | (962) | 2,742
Gain (Loss) Reclassified from AOCI, Net of Tax |  |  | (58)
Foreign currency forward contracts | Other income, net |  |  |
Derivative [Line Items] |  |  |
Amount of gain (loss) recognized in income, net of tax | 0 |  |
Foreign currency forward contracts | Interest Expense |  |  |
Derivative [Line Items] |  |  |
Amount of gain (loss) recognized in income, net of tax | 0 | 0 | 0
Gain (Loss) Reclassified from AOCI, Net of Tax |  |  | 0
Warrants to purchase shares | Sales |  |  |
Derivative [Line Items] |  |  |
Amount of gain (loss) recognized in income, net of tax | 0 |  |
Warrants to purchase shares | Other income, net |  |  |
Derivative [Line Items] |  |  |
Amount of gain (loss) recognized in income, net of tax | 5,843 |  |
Warrants to purchase shares | Interest Expense |  |  |
Derivative [Line Items] |  |  |
Amount of gain (loss) recognized in income, net of tax | 0 |  |
Commodities swap agreements | Sales |  |  |
Derivative [Line Items] |  |  |
Amount of gain (loss) recognized in income, net of tax |  |  | (2,229)
Commodities swap agreements | Interest Expense |  |  |
Derivative [Line Items] |  |  |
Amount of gain (loss) recognized in income, net of tax |  |  | 0
Interest rate swap agreements |  |  |
Derivative [Line Items] |  |  |
Gain (loss) recognized in Other comprehensive income (loss), net of tax | 0 | 0 | (675)
Other comprehensive income, net of tax, before reclassification | 0 | 0 | 702
Interest rate swap agreements | Sales |  |  |
Derivative [Line Items] |  |  |
Amount of gain (loss) recognized in income, net of tax | 0 | 0 | 0
Gain (Loss) Reclassified from AOCI, Net of Tax |  |  | 0
Interest rate swap agreements | Other income, net |  |  |
Derivative [Line Items] |  |  |
Amount of gain (loss) recognized in income, net of tax | 0 |  |
Interest rate swap agreements | Interest Expense |  |  |
Derivative [Line Items] |  |  |
Amount of gain (loss) recognized in income, net of tax | $ (5) | $ (160) | 167
Gain (Loss) Reclassified from AOCI, Net of Tax |  |  | $ 1,377

X
- Definition Amount of increase (decrease) in the fair value of derivatives recognized in the income statement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name Accounting Standards Codification -Section 55 -Paragraph 10 -SubTopic 10 -Topic 825 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482881/825-10-55-10 + Details
Name: | us-gaap_DerivativeGainLossOnDerivativeNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Indicates line item in statement of income or comprehensive income that includes gain (loss) from derivative. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4A -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4A + Details
Name: | us-gaap_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 182 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-182 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CC -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CC Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 21 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-21 + Details
Name: | us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 20 -Name Accounting Standards Codification -Section 25 -Paragraph 6A -Publisher FASB -URI https://asc.fasb.org/1943274/2147480682/815-20-25-6A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480237/815-40-50-5 + Details
Name: | us-gaap_DerivativeLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after tax and before reclassification, of gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-11 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10A -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-10A + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after tax, of reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-11 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482790/220-10-45-15 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_OtherNonoperatingIncomeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_InterestExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeForwardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_WarrantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |