XML 18 R5.htm IDEA: XBRL DOCUMENT v3.21.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2021
Apr. 30, 2020
Cash flows from operating activities:    
Net income $ 429,548 $ 101,655
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation 82,533 71,966
Amortization of intangible assets 87,110 72,645
Amortization of debt issuance costs 12,825 8,050
Impairment charges 0 10,057
Deferred income tax (benefit) provision (4,499) 19,312
(Gain) loss on disposition of property, plant and equipment (296) 1,524
Stock-based compensation expense 21,424 14,425
Changes in assets and liabilities:    
Accounts receivable (175,635) 219,750
Inventories, net (632,506) (62,475)
Prepaid income taxes, expenses and other (28,280) (8,963)
Accounts payable 341,535 (137,668)
Accrued liabilities 32,581 (73,621)
Long-term liabilities and other 8,733 612
Net cash provided by operating activities 175,073 237,269
Cash flows from investing activities:    
Purchases of property, plant and equipment (81,162) (77,302)
Proceeds from dispositions of property, plant and equipment 1,742 26,854
Business acquisitions, net of cash acquired (310,938) 0
Other 9,330 (5,239)
Net cash used in investing activities (381,028) (55,687)
Cash flows from financing activities:    
Borrowings on revolving asset-based credit facilities 225,676 379,222
Payments on revolving asset-based credit facilities (114,836) (74,776)
Payments on term-loan credit facilities (59,700) (199,301)
Payments on other debt (9,711) (10,358)
Regular cash dividends paid (68,100) (66,239)
Payments on finance lease obligations (492) (324)
Payments related to vesting of stock-based awards (8,317) (3,763)
Short-term financial obligations and other, net (7,323) 532
Net cash provided by (used in) financing activities (42,803) 24,993
Effect of exchange rate changes on cash and cash equivalents and restricted cash 4,857 (2,872)
Net increase (decrease) in cash and cash equivalents and restricted cash (243,901) 203,703
Cash and cash equivalents and restricted cash, beginning of period 541,363 451,262
Cash and cash equivalents and restricted cash, end of period 297,462 654,965
Cash and cash equivalents and restricted cash, total 297,462 654,965
Supplemental cash flow information:    
Income taxes paid 172,397 51,281
Interest paid 62,048 75,709
Non-cash investing and financing transactions:    
Capital expenditures in accounts payable $ 3,497 $ 2,057