XML 18 R7.htm IDEA: XBRL DOCUMENT v3.19.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Cash flows from operating activities    
Net income $ 46,217 $ 74,153
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation 15,455 12,816
Amortization 15,508 12,892
Stock-based compensation expense 11,885 7,033
Deferred income taxes (2,671) (7,499)
Other non-cash items, net 263 586
Changes in assets and liabilities, net of effects of acquisitions/dispositions:    
Accounts receivable (18,642) 892
Inventories (24,671) (9,791)
Prepaid expenses and other assets (4,929) (7,256)
Accounts payable and other liabilities 13,608 13,859
Income taxes (3,537) (7,682)
Net cash provided by operating activities 48,486 90,003
Cash flows from investing activities    
Capital expenditures (75,387) (23,772)
Proceeds from sale of business 3,053 0
Acquisitions, net of cash acquired (40,644) (84,595)
Net cash used in investing activities (112,978) (108,367)
Cash flows from financing activities    
Repayments of long-term debt (12,707) 0
Borrowings under revolving credit facility 50,000 82,300
Repayments under revolving credit facility (7,000) (39,300)
Dividends paid (4,173) (3,546)
Purchases of treasury stock (4,628) (6,216)
Net cash provided by financing activities 21,492 33,238
Effect of exchange rate changes on cash and cash equivalents 251 458
(Decrease) increase in cash and cash equivalents (42,749) 15,332
Cash and cash equivalents at beginning of period 94,097 36,584
Cash and cash equivalents at end of period $ 51,348 $ 51,916