v3.26.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Cash flows from operating activities:    
Net income $ 133,348 $ 129,966
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation 113,320 111,158
Amortization of intangible assets 83,543 88,670
Amortization of debt issuance costs 3,113 4,847
Deferred income tax expense (benefit) 10,087 (5,830)
Gain on disposition of property, plant and equipment (36,606) (1,797)
Stock-based compensation expense 25,599 26,798
Changes in assets and liabilities:    
Accounts receivable (165,833) (144,989)
Inventories (172,203) 21,950
Prepaid income taxes, expenses and other (25,505) (19,827)
Accounts payable 113,456 146,050
Accrued liabilities and other (16,859) (43,989)
Long-term liabilities and other 11,586 6,242
Net cash provided by operating activities 77,046 319,249
Cash flows from investing activities:    
Purchases of property, plant and equipment (98,136) (85,050)
Proceeds from dispositions of property, plant and equipment 65,875 22,093
Business acquisitions, net of cash acquired (9,250) 0
Other (19,726) (4,385)
Net cash used in investing activities (61,237) (67,342)
Cash flows from financing activities:    
Payments on term-loan credit facilities (56,264) (110,000)
Borrowings on revolving asset-based credit facilities 23,216 0
Payments on revolving asset-based credit facilities (23,174) 0
Payments on other debt (2,719) (29,167)
Cash dividends paid (81,896) (79,755)
Payments on finance lease obligations (713) (629)
Purchases of treasury shares (80,780) (1,725)
Payments related to vesting of stock-based awards (12,643) (14,300)
Short-term financial obligations and other, net 5,900 (8,514)
Net cash used in financing activities (229,073) (244,090)
Effect of exchange rate changes on cash and cash equivalents (1,386) (812)
Net increase (decrease) in cash and cash equivalents (214,650) 7,005
Cash and cash equivalents, beginning of period 586,596 501,316
Cash and cash equivalents, end of period 371,946 508,321
Supplemental cash flow information:    
Income taxes paid 62,013 84,768
Interest paid 38,003 50,679
Non-cash investing transactions:    
Capital expenditures in accounts payable $ 6,393 $ 4,898