XML 19 R6.htm IDEA: XBRL DOCUMENT v3.5.0.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Cash flows from operating activities:    
Net income $ 677 $ 10,805
Adjustments to reconcile net income to cash flows from operating activities:    
Depreciation and amortization 15,426 14,063
Stock based compensation expense 5,830 4,465
Impairment charges 5,418  
Other 258 (295)
Changes in operating assets and liabilities-net of business acquisitions:    
Accounts receivable (11,412) 13,467
Inventories 10,901 (23,575)
Accounts payable (8,791) 23,933
Accrued payroll and related expenses (5,251) (3,448)
Advances from customers (10,469) (5,189)
Deferred revenue (4,827) (5,390)
Other 382 (4,024)
Net cash provided by (used in) operating activities (1,858) 24,812
Cash flows from investing activities:    
Acquisition of property and equipment (2,806) (2,503)
Acquisition of businesses, net of cash acquired (186,861) (782)
Acquisition of intangible and other assets (1,881) (958)
Net cash used in investing activities (191,548) (4,243)
Cash flows from financing activities:    
Net borrowings on bank lines of credit 214,000 45,000
Proceeds from long-term debt 233 34
Payments on long-term debt (707) (690)
Proceeds from exercise of stock options and employee stock purchase plan 2,099 3,067
Repurchase of common shares (2,712) (21,471)
Taxes paid related to net share settlement of equity awards (290) (13,049)
Net cash provided by financing activities 212,623 12,891
Effect of exchange rate changes on cash (621) (123)
Net increase in cash and cash equivalents 18,596 33,337
Cash and cash equivalents-beginning of period 104,370 47,593
Cash and cash equivalents-end of period 122,966 80,930
Supplemental disclosure of cash flow information:    
Interest 956 305
Income taxes $ 6,022 $ 5,221