v3.25.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2025
Apr. 30, 2024
Cash flows from operating activities:    
Net income $ 129,966 $ 173,936
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation 111,158 106,424
Amortization of intangible assets 88,670 97,124
Amortization of debt issuance costs 4,847 14,900
Deferred income tax benefit (5,830) (18,722)
Gain on disposition of property, plant and equipment (1,797) (9,927)
Stock-based compensation expense 26,798 29,049
Changes in assets and liabilities:    
Accounts receivable (144,989) (191,483)
Inventories 21,950 26,103
Prepaid income taxes, expenses and other (19,827) (29,237)
Accounts payable 146,050 79,752
Accrued liabilities and other (43,989) (81,339)
Long-term liabilities and other 6,242 10,952
Net cash provided by operating activities 319,249 207,532
Cash flows from investing activities:    
Purchases of property, plant and equipment (85,050) (106,069)
Proceeds from dispositions of property, plant and equipment 22,093 24,682
Business acquisitions, net of cash acquired 0 (3,814)
Other (4,385) (17,688)
Net cash used in investing activities (67,342) (102,889)
Cash flows from financing activities:    
Borrowings on term-loan credit facilities 0 186,723
Payments on term-loan credit facilities (110,000) (227,626)
Borrowings on revolving asset-based credit facilities 0 113,502
Payments on revolving asset-based credit facilities 0 (111,555)
Payments on other debt (29,167) (7,361)
Payments of debt issuance costs 0 (10,480)
Cash dividends paid (79,755) (76,730)
Payments on finance lease obligations (629) (557)
Purchases of treasury shares (1,725) (43,034)
Payments related to vesting of stock-based awards (14,300) (16,245)
Short-term financial obligations and other, net (8,514) 20,036
Net cash used in financing activities (244,090) (173,327)
Effect of exchange rate changes on cash and cash equivalents (812) (729)
Net increase (decrease) in cash and cash equivalents 7,005 (69,413)
Cash and cash equivalents, beginning of period 501,316 441,232
Cash and cash equivalents, end of period 508,321 371,819
Supplemental cash flow information:    
Income taxes paid 84,768 111,269
Interest paid 50,679 70,198
Non-cash investing and financing transactions:    
Capital expenditures in accounts payable $ 4,898 $ 2,273