XML 24 R7.htm IDEA: XBRL DOCUMENT v3.19.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2019
Sep. 30, 2018
CASH FLOWS FROM OPERATING ACTIVITIES    
Net income $ 20,743 $ 9,402
Adjustments to reconcile net income to net cash (used in) provided by operating activities, net of effects from acquisitions:    
Depreciation and amortization 13,539 14,147
Stock-based compensation expense 6,416 5,463
Deferred income taxes (3) (3,386)
Amortization of debt discount and issuance costs 2,308 2,220
Other (61) 49
Changes in operating assets and liabilities-net of business acquisitions:    
Accounts receivable (6,940) (8,701)
Inventories 4,167 (28,690)
Prepaid expenses and other assets (13,272) (9,913)
Accounts payable 7,594 9,177
Accrued payroll and related expenses (11,675) (9,585)
Advances from customers 6,673 18,409
Other (4,651) (1,413)
Net cash (used in) provided by operating activities 24,838 (2,821)
CASH FLOWS FROM INVESTING ACTIVITIES    
Acquisition of property and equipment (6,026) (7,875)
Acquisition of businesses, net of cash acquired   (18,259)
Acquisition of intangible and other assets (2,088) (4,176)
Net cash used in investing activities (8,114) (30,310)
CASH FLOWS FROM FINANCING ACTIVITIES    
Net borrowings on bank lines of credit 7,000 53,000
Proceeds from long-term debt 198 468
Payments on long-term debt (253) (649)
Proceeds from exercise of stock options and employee stock purchase plan 4,897 2,289
Payments of contingent consideration (144) (217)
Repurchases of common stock (13,262) (7,844)
Taxes paid related to net share settlement of equity awards (25,915) (12,625)
Net cash provided by (used in) financing activities (27,479) 34,422
Effect of exchange rate changes on cash (419) 306
Net change in cash and cash equivalents (11,174) 1,597
Cash and cash equivalents-beginning of period 96,316 84,814
Cash and cash equivalents-end of period 85,142 86,411
Cash paid, net during the period for:    
Interest 2,986 3,702
Income taxes $ 4,098 $ 13,998