XML 25 R8.htm IDEA: XBRL DOCUMENT v3.24.3
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2024
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2021
Cash flows from operating activities:        
Net income $ 265,400 $ 374,240 $ 1,138,243  
Adjustments to reconcile net income to net cash provided by operating activities:        
Depreciation 144,601 136,120 127,507  
Amortization of intangibles 132,544 140,808 156,946  
Amortization of debt issuance costs and extinguishment charges 18,274 11,455 11,322  
Deferred income tax benefit (24,970) (34,477) (51,885)  
Gain on disposition of property, plant and equipment (9,597) (3,319) (7,564)  
Stock-based compensation expense 37,901 39,512 31,421  
Changes in assets and liabilities:        
Accounts receivable (60,153) 313,410 39,247  
Inventories 236,916 109,975 (381,543)  
Prepaid income taxes, expenses and other (26,840) 1,052 (13,884)  
Accounts payable (101,910) (120,684) (116,608)  
Accrued liabilities and other (85,081) 295 78,385  
Long-term liabilities and other 18,463 13,246 (21,471)  
Net cash provided by operating activities 545,548 981,633 990,116  
Cash flows from investing activities:        
Purchases of property, plant and equipment (139,635) (208,194) (242,357)  
Proceeds from dispositions of property, plant and equipment 24,927 13,655 16,067  
Business acquisitions, net of cash acquired (7,314) (6,184) (781,967)  
Other (24,790) (21,760) (41,000)  
Net cash used in investing activities (146,812) (222,483) (1,049,257)  
Cash flows from financing activities:        
Borrowings on term-loan credit facilities 186,723 0 0  
Payments on term-loan credit facilities (340,619) (402,355) (332,907)  
Borrowings on revolving asset-based credit facilities 113,502 0 660,088  
Payments on revolving asset-based credit facilities (111,555) (100,000) (559,035)  
Proceeds from issuance of senior unsecured notes 0 0 500,000  
Payments on other debt (11,152) (11,968) (11,535)  
Payments of debt issuance costs (10,480) 0 (8,445)  
Cash dividends paid (102,137) (95,969) (94,944)  
Payments on finance lease obligations (755) (1,215) (1,084)  
Purchase of treasury shares (68,387) (42,007) (165,107)  
Payments related to vesting of stock-based awards (16,245) (7,316) (18,011)  
Other 23,428 25,145 (16,861)  
Net cash used in financing activities (337,677) (635,685) (47,841)  
Effect of exchange rate changes on cash and cash equivalents (975) 6,214 (30,171)  
Net increase (decrease) in cash and cash equivalents 60,084 129,679 (137,153)  
Cash and cash equivalents, beginning of period 501,316 441,232 311,553 $ 448,706
Cash and cash equivalents, end of period 501,316 441,232 311,553 $ 448,706
Supplemental cash flow information:        
Income taxes paid 147,126 143,077 380,874  
Interest paid 86,421 95,383 74,455  
Non-cash investing and financing transactions:        
Capital expenditures in accounts payable $ 5,429 $ 5,447 $ 4,733