XML 16 R5.htm IDEA: XBRL DOCUMENT v3.23.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Cash flows from operating activities:    
Net income $ 282,958 $ 856,456
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation 97,295 95,206
Amortization of intangible assets 105,531 117,288
Amortization of debt issuance costs 8,569 8,457
Deferred income tax benefit (9,052) (18,830)
(Gain) loss on disposition of property, plant and equipment (374) 833
Stock-based compensation expense 26,607 22,736
Changes in assets and liabilities:    
Accounts receivable 143,591 (256,180)
Inventories, net (87,841) (338,852)
Prepaid income taxes, expenses and other 2,119 (4,578)
Accounts payable (63,642) 78,897
Accrued liabilities (35,388) 92,693
Long-term liabilities and other 3,747 (16,577)
Net cash provided by operating activities 474,120 637,549
Cash flows from investing activities:    
Purchases of property, plant and equipment (150,466) (170,702)
Proceeds from dispositions of property, plant and equipment 4,179 823
Business acquisitions, net of cash acquired (6,184) (781,967)
Other (19,091) (20,000)
Net cash used in investing activities (171,562) (971,846)
Cash flows from financing activities:    
Borrowings on revolving asset-based credit facilities 0 660,088
Payments on revolving asset-based credit facilities (50,000) (559,035)
Proceeds from issuance of senior unsecured notes 0 500,000
Payments on term-loan credit facilities (102,355) (124,565)
Payments on other debt (8,155) (7,842)
Payments of debt issuance costs 0 (8,445)
Cash dividends paid (71,978) (71,496)
Payments on finance lease obligations (905) (801)
Purchases of treasury shares (42,007) (98,321)
Payments related to vesting of stock-based awards (6,765) (18,011)
Short-term financial obligations and other, net 16,097 (21,120)
Net cash provided by (used in) financing activities (266,068) 250,452
Effect of exchange rate changes on cash and cash equivalents and restricted cash 5,183 (32,882)
Net increase (decrease) in cash and cash equivalents and restricted cash 41,673 (116,727)
Cash and cash equivalents and restricted cash, beginning of period 311,553 448,706
Cash and cash equivalents and restricted cash, end of period 353,226 331,979
Cash and cash equivalents and restricted cash, total 353,226 331,979
Less: restricted cash 0 2,682
Cash and cash equivalents 353,226 329,297
Supplemental cash flow information:    
Income taxes paid 118,602 270,063
Interest paid 75,877 59,454
Non-cash investing and financing transactions:    
Capital expenditures in accounts payable $ 4,874 $ 7,914