v3.26.3
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2023
Cash flows from operating activities:        
Net income $ 174,654 $ 256,591 $ 265,400  
Adjustments to reconcile net income to net cash provided by operating activities:        
Depreciation 154,196 152,180 144,601  
Amortization of intangibles 112,159 119,027 132,544  
Amortization of debt issuance costs and extinguishment charges 3,835 7,342 18,274  
Asset impairment charges 13,232 3,534 0  
Unrealized (gain) loss on fair-value investments (22,235) (4,674) 2,937  
Deferred income tax expense (benefit) 27,427 (29,502) (24,970)  
Gain on disposition of property, plant and equipment (36,696) (24,464) (9,597)  
Stock-based compensation expense 26,578 30,872 37,901  
Changes in assets and liabilities:        
Accounts receivable 4,272 6,690 (60,153)  
Inventories (73,282) 29,122 236,916  
Prepaid income taxes, expenses and other (27,028) 5,276 (12,569)  
Accounts payable (817) 90,409 (101,910)  
Accrued liabilities and other (27,164) (63,535) (85,081)  
Long-term liabilities and other (7,908) (945) 1,255  
Net cash provided by operating activities 321,223 577,923 545,548  
Cash flows from investing activities:        
Purchases of property, plant and equipment (152,387) (122,987) (139,635)  
Proceeds from dispositions of property, plant and equipment 67,875 63,305 24,927  
Business acquisitions, net of cash acquired (9,555) 0 (7,314)  
Other (31,376) (4,783) (24,790)  
Net cash used in investing activities (125,443) (64,465) (146,812)  
Cash flows from financing activities:        
Borrowings on term-loan credit facilities 0 0 186,723  
Payments on term-loan credit facilities (56,264) (205,000) (340,619)  
Borrowings on revolving asset-based credit facilities 23,216 0 113,502  
Payments on revolving asset-based credit facilities (23,174) 0 (111,555)  
Payments on other debt (3,425) (31,993) (11,152)  
Payments of debt issuance costs 0 0 (10,480)  
Cash dividends paid (108,765) (106,130) (102,137)  
Payments on finance lease obligations (968) (855) (755)  
Purchase of treasury shares (115,126) (52,647) (68,387)  
Payments related to vesting of stock-based awards (12,770) (14,318) (16,245)  
Short-term financial obligations and other, net 657 (15,363) 23,428  
Net cash used in financing activities (296,619) (426,306) (337,677)  
Effect of exchange rate changes on cash and cash equivalents (3,769) (1,872) (975)  
Net increase (decrease) in cash and cash equivalents (104,608) 85,280 60,084  
Cash and cash equivalents, beginning of period 481,988 586,596 501,316 $ 441,232
Cash and cash equivalents, end of period 481,988 586,596 501,316 $ 441,232
Supplemental cash flow information:        
Income taxes paid [1] 61,802 108,822 147,126  
Interest paid 43,633 58,626 86,421  
Non-cash investing and financing transactions:        
Capital expenditures in accounts payable $ 6,303 $ 4,058 $ 5,429  
[1] Refer to Note 13 to the Consolidated Financial Statements for current-year details.