XML 16 R5.htm IDEA: XBRL DOCUMENT v3.22.4
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
6 Months Ended
Jan. 31, 2023
Jan. 31, 2022
Cash flows from operating activities:    
Net income $ 163,229 $ 510,438
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation 64,257 64,285
Amortization of intangible assets 70,418 76,563
Amortization of debt issuance costs 5,697 5,568
Deferred income tax benefit (6,149) (13,317)
(Gain) loss on disposition of property, plant and equipment (371) 701
Stock-based compensation expense 16,935 12,986
Changes in assets and liabilities:    
Accounts receivable 301,269 (165,085)
Inventories, net (83,564) (236,002)
Prepaid income taxes, expenses and other (14,572) 15,014
Accounts payable (209,557) 32,848
Accrued liabilities (125,590) 8,204
Long-term liabilities and other 3,319 (14,151)
Net cash provided by operating activities 185,321 298,052
Cash flows from investing activities:    
Purchases of property, plant and equipment (100,985) (117,804)
Proceeds from dispositions of property, plant and equipment 3,832 652
Business acquisitions, net of cash acquired (6,184) (781,818)
Other (10,411) 0
Net cash used in investing activities (113,748) (898,970)
Cash flows from financing activities:    
Borrowings on revolving asset-based credit facilities 0 660,088
Payments on revolving asset-based credit facilities (15,000) (534,035)
Proceeds from issuance of senior unsecured notes 0 500,000
Payments on term-loan credit facilities (12,355) 0
Payments on other debt (6,383) (5,965)
Payments of debt issuance costs 0 (8,445)
Regular cash dividends paid (48,165) (47,833)
Payments on finance lease obligations (604) (529)
Purchases of treasury shares (25,407) (58,331)
Payments related to vesting of stock-based awards (6,765) (18,011)
Short-term financial obligations and other, net 12,937 3,821
Net cash provided by (used in) financing activities (101,742) 490,760
Effect of exchange rate changes on cash and cash equivalents and restricted cash 172 (8,225)
Net decrease in cash and cash equivalents and restricted cash (29,997) (118,383)
Cash and cash equivalents and restricted cash, beginning of period 311,553 448,706
Cash and cash equivalents and restricted cash, end of period 281,556 330,323
Cash and cash equivalents and restricted cash, total 281,556 330,323
Less: restricted cash 0 25,080
Cash and cash equivalents 281,556 305,243
Supplemental cash flow information:    
Income taxes paid 110,662 151,307
Interest paid 44,981 33,529
Non-cash investing and financing transactions:    
Capital expenditures in accounts payable $ 5,183 $ 5,147