XML 22 R8.htm IDEA: XBRL DOCUMENT v3.22.2.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Cash flows from operating activities:      
Net income $ 1,138,243 $ 660,870 $ 221,384
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation 127,507 113,398 98,933
Amortization of intangibles 156,946 117,183 97,234
Amortization of debt issuance costs 11,322 15,407 10,743
Impairment charges 0 0 10,057
Deferred income tax benefit (51,885) (9,026) (11,212)
(Gain) loss on disposition of property, plant and equipment (7,564) 1,136 3,990
Stock-based compensation expense 31,421 30,514 19,889
Changes in assets and liabilities:      
Accounts receivable 39,247 (234,693) (115,232)
Inventories (381,543) (538,756) 133,290
Prepaid income taxes, expenses and other (13,747) (32,717) 18,427
Accounts payable (116,608) 229,173 60,469
Accrued liabilities and other 78,385 123,078 (14,059)
Long-term liabilities and other (21,471) 50,915 7,028
Net cash provided by operating activities 990,253 526,482 540,941
Cash flows from investing activities:      
Purchases of property, plant and equipment (242,357) (128,835) (106,697)
Proceeds from dispositions of property, plant and equipment 16,067 1,950 27,677
Business acquisitions, net of cash acquired (781,967) (310,938) 0
Other (41,000) 9,330 (5,229)
Net cash used in investing activities (1,049,257) (428,493) (84,249)
Cash flows from financing activities:      
Borrowings on revolving asset-based credit facilities 660,088 225,676 379,222
Payments on revolving asset-based credit facilities (559,035) (224,836) (379,986)
Proceeds from issuance of senior unsecured notes 500,000 0 0
Payments on term-loan credit facilities (332,907) (59,700) (274,963)
Payments on other debt (11,535) (13,950) (14,493)
Payments of debt issuance costs (8,445) 0 0
Cash dividends paid (94,944) (90,801) (88,318)
Payments on finance lease obligations (1,084) (749) (442)
Purchase of treasury shares (165,107) 0 0
Payments related to vesting of stock-based awards (18,011) (8,317) (3,763)
Other (16,861) (15,761) (10,173)
Net cash used in financing activities (47,841) (188,438) (392,916)
Effect of exchange rate changes on cash and cash equivalents and restricted cash (30,171) (2,208) 26,325
Net increase (decrease) in cash and cash equivalents and restricted cash (137,016) (92,657) 90,101
Cash and cash equivalents and restricted cash, beginning of period 448,706 541,363 451,262
Cash and cash equivalents and restricted cash, end of period 311,690 448,706 541,363
Cash and cash equivalents and restricted cash, total 311,690 448,706 541,363
Less: restricted cash 137 2,854 2,844
Cash and cash equivalents, end of period 311,553 445,852 538,519
Supplemental cash flow information:      
Income taxes paid 380,874 226,527 56,803
Interest paid 74,455 78,865 101,784
Non-cash investing and financing transactions:      
Capital expenditures in accounts payable $ 4,733 $ 6,304 $ 3,458