XML 16 R5.htm IDEA: XBRL DOCUMENT v3.22.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Cash flows from operating activities:    
Net income $ 856,456 $ 429,548
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation 95,206 82,533
Amortization of intangible assets 117,288 87,110
Amortization of debt issuance costs 8,457 12,825
Deferred income tax benefit (18,830) (4,499)
(Gain) loss on disposition of property, plant and equipment 833 (296)
Stock-based compensation expense 22,736 21,424
Changes in assets and liabilities:    
Accounts receivable (256,180) (175,635)
Inventories, net (338,852) (632,506)
Prepaid income taxes, expenses and other (4,578) (28,280)
Accounts payable 78,897 341,535
Accrued liabilities 92,693 32,581
Long-term liabilities and other (16,577) 8,733
Net cash provided by operating activities 637,549 175,073
Cash flows from investing activities:    
Purchases of property, plant and equipment (170,702) (81,162)
Proceeds from dispositions of property, plant and equipment 823 1,742
Business acquisitions, net of cash acquired (781,967) (310,938)
Other (20,000) 9,330
Net cash used in investing activities (971,846) (381,028)
Cash flows from financing activities:    
Borrowings on revolving asset-based credit facilities 660,088 225,676
Payments on revolving asset-based credit facilities (559,035) (114,836)
Proceeds from issuance of senior unsecured notes 500,000 0
Payments on term-loan credit facilities (124,565) (59,700)
Payments on other debt (7,842) (9,711)
Payments of debt issuance costs (8,445) 0
Regular cash dividends paid (71,496) (68,100)
Payments on finance lease obligations (801) (492)
Purchases of treasury shares (98,321) 0
Payments related to vesting of stock-based awards (18,011) (8,317)
Short-term financial obligations and other, net (21,120) (7,323)
Net cash provided by (used in) financing activities 250,452 (42,803)
Effect of exchange rate changes on cash and cash equivalents and restricted cash (32,882) 4,857
Net decrease in cash and cash equivalents and restricted cash (116,727) (243,901)
Cash and cash equivalents and restricted cash, beginning of period 448,706 541,363
Cash and cash equivalents and restricted cash, end of period 331,979 297,462
Cash and cash equivalents and restricted cash, total 331,979 297,462
Less: restricted cash 2,682 2,900
Cash and cash equivalents 329,297 294,562
Supplemental cash flow information:    
Income taxes paid 270,063 172,397
Interest paid 59,454 62,048
Non-cash investing and financing transactions:    
Capital expenditures in accounts payable $ 7,914 $ 3,497