XML 21 R7.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2016
CASH FLOWS FROM OPERATING ACTIVITIES      
Net income (loss) $ (29,127) $ 21,076 $ 26,157
Adjustments to reconcile net income (loss) to net cash provided by operating activities, net of effects from acquisitions:      
Depreciation and amortization 69,754 68,235 57,922
Stock based compensation 23,846 26,132 20,759
Provision for losses on accounts receivable 3,270 2,086 2,079
Deferred income taxes 26,113 (24,222) (13,224)
Amortization of debt discount and issuance costs 8,632 2,844  
Impairment charges 7,795 27,047 9,674
Gain on sale of business   (2,110)  
Other 1,668 (1,346) 434
Changes in operating assets and liabilities-net of business acquisitions:      
Accounts receivable 11,340 (44,462) 36,881
Inventories (59,221) 30,808 (37,696)
Prepaid expenses and other assets (836) 5,609 (1,701)
Accounts payable 25,145 2,657 6,831
Advances from customers 17,183 (33,552) (10,955)
Other 27,547 (18,023) (37,943)
Net cash provided by operating activities 133,109 62,779 59,218
CASH FLOWS FROM INVESTING ACTIVITIES      
Acquisition of property and equipment (43,198) (17,096) (17,688)
Acquisition of businesses, net of cash acquired (103,793) (191,238) (19,921)
Net proceeds from sale of business   12,793  
Acquisition of intangible and other assets (2,453) (5,147) (5,870)
Net cash used in investing activities (149,444) (200,688) (43,479)
CASH FLOWS FROM FINANCING ACTIVITIES      
Net borrowings (payments) on bank lines of credit 10,000 (22,000) 125,000
Proceeds from long-term debt 1,044 280,541 691
Payments on long-term debt (2,592) (4,077) (2,917)
Proceeds from exercise of stock options and employee stock purchase plan 6,896 7,657 6,137
Repurchase of common stock (62,932) (48,453) (73,368)
Taxes paid related to net share settlement of equity awards (20,864) (10,084) (13,715)
Net cash provided by (used in) financing activities (68,448) 203,584 41,828
Effect of exchange rate changes on cash (53) (395) (790)
Net increase (decrease) in cash and cash equivalents (84,836) 65,280 56,777
Cash and cash equivalents-beginning of year 169,650 104,370 47,593
Cash and cash equivalents-end of year 84,814 169,650 104,370
Supplemental disclosure of cash flow information:      
Interest 9,249 5,185 2,378
Income taxes $ 29,445 $ 25,066 $ 26,671