XML 62 R7.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2019
Oct. 31, 2018
Cash flows from operating activities    
Net income $ 5,767 $ 19,242
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation 6,338 4,691
Amortization 6,029 6,041
Stock-based compensation expense 2,404 2,576
Amortization of right-of-use assets 2,722  
Deferred income taxes 1,454 (674)
Inventory step-up amortization 4,772 0
Other non-cash items, net (548) 1,236
Changes in assets and liabilities, net of effects of acquisitions/dispositions:    
Accounts receivable (348) (4,087)
Inventories (6,254) (3,359)
Prepaid expenses and other assets 1,147 1,089
Accounts payable and other liabilities (13,664) 1,055
Income taxes 1,450 4,459
Operating lease liabilities (2,338)  
Net cash provided by operating activities 8,931 32,269
Cash flows from investing activities    
Capital expenditures (10,390) (38,834)
Acquisitions, net of cash acquired (658,932) (17,000)
Net cash used in investing activities (669,322) (55,834)
Cash flows from financing activities    
Borrowings of long-term debt 400,000 0
Repayments of long-term debt (2,375) (2,500)
Borrowings under revolving credit facility 291,400 0
Repayments under revolving credit facility (10,900) 0
Debt issuance costs (9,234) 0
Finance lease liabilities (127)  
Purchases of treasury stock (3,613) (4,288)
Net cash provided by (used in) financing activities 665,151 (6,788)
Effect of exchange rate changes on cash and cash equivalents (10) 286
Increase (decrease) in cash and cash equivalents 4,750 (30,067)
Cash and cash equivalents at beginning of period 44,535 94,097
Cash and cash equivalents at end of period $ 49,285 $ 64,030