XML 24 R8.htm IDEA: XBRL DOCUMENT v3.23.3
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2021
Cash flows from operating activities:      
Net income $ 374,240 $ 1,138,243 $ 660,870
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation 136,120 127,507 113,398
Amortization of intangibles 140,808 156,946 117,183
Amortization of debt issuance costs 11,455 11,322 15,407
Deferred income tax benefit (34,477) (51,885) (9,026)
(Gain) loss on disposition of property, plant and equipment (3,319) (7,564) 1,136
Stock-based compensation expense 39,512 31,421 30,514
Changes in assets and liabilities:      
Accounts receivable 313,410 39,247 (234,693)
Inventories 109,975 (381,543) (538,756)
Prepaid income taxes, expenses and other 1,052 (13,884) (32,717)
Accounts payable (120,684) (116,608) 229,173
Accrued liabilities and other 295 78,385 123,078
Long-term liabilities and other 13,246 (21,471) 50,915
Net cash provided by operating activities 981,633 990,116 526,482
Cash flows from investing activities:      
Purchases of property, plant and equipment (208,194) (242,357) (128,835)
Proceeds from dispositions of property, plant and equipment 13,655 16,067 1,950
Business acquisitions, net of cash acquired (6,184) (781,967) (310,938)
Other (21,760) (41,000) 9,330
Net cash used in investing activities (222,483) (1,049,257) (428,493)
Cash flows from financing activities:      
Borrowings on revolving asset-based credit facilities 0 660,088 225,676
Payments on revolving asset-based credit facilities (100,000) (559,035) (224,836)
Proceeds from issuance of senior unsecured notes 0 500,000 0
Payments on term-loan credit facilities (402,355) (332,907) (59,700)
Payments on other debt (11,968) (11,535) (13,950)
Payments of debt issuance costs 0 (8,445) 0
Cash dividends paid (95,969) (94,944) (90,801)
Payments on finance lease obligations (1,215) (1,084) (749)
Purchase of treasury shares (42,007) (165,107) 0
Payments related to vesting of stock-based awards (7,316) (18,011) (8,317)
Other 25,145 (16,861) (15,761)
Net cash used in financing activities (635,685) (47,841) (188,438)
Effect of exchange rate changes on cash and cash equivalents and restricted cash 6,214 (30,171) (2,208)
Net increase (decrease) in cash and cash equivalents and restricted cash 129,679 (137,153) (92,657)
Cash and cash equivalents and restricted cash, beginning of period 311,553 448,706 541,363
Cash and cash equivalents and restricted cash, end of period 441,232 311,553 448,706
Cash and cash equivalents and restricted cash, total 441,232 311,553 448,706
Less: restricted cash 0 0 2,854
Cash and cash equivalents, end of period 441,232 311,553 445,852
Supplemental cash flow information:      
Income taxes paid 143,077 380,874 226,527
Interest paid 95,383 74,455 78,865
Non-cash investing and financing transactions:      
Capital expenditures in accounts payable $ 5,447 $ 4,733 $ 6,304