XML 25 R7.htm IDEA: XBRL DOCUMENT v3.20.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2018
CASH FLOWS FROM OPERATING ACTIVITIES      
Net income (loss) $ 75,252 $ 64,796 $ (29,127)
Adjustments to reconcile net income to net cash provided by operating activities, net of effects from acquisitions:      
Depreciation and amortization 49,758 56,234 69,754
Stock-based compensation expense 23,817 25,251 23,846
Provision for losses on accounts receivable 4,741 2,741 3,270
Deferred income taxes (431) (8,536) 26,113
Amortization of debt discount and issuance costs 9,383 9,026 8,632
Impairment charges 5,458   7,795
Other 178 292 1,668
Changes in operating assets and liabilities-net of business acquisitions:      
Accounts receivable (37,071) (27,206) 11,340
Inventories 30,752 39,447 (59,221)
Prepaid expenses and other assets (10,566) (6,175) (836)
Accounts payable (8,893) (16,623) 25,145
Accrued payroll and related expenses 4,205 3,355 3,412
Advances from customers (15,188) (12,489) 17,183
Other (2,215) (11,001) 24,135
Net cash provided by operating activities 129,180 119,112 133,109
CASH FLOWS FROM INVESTING ACTIVITIES      
Acquisition of property and equipment (20,388) (27,412) (43,198)
Acquisition of businesses, net of cash acquired (8,940) (18,271) (100,159)
Acquisition of intangible and other assets (13,359) (2,803) (2,453)
Net cash used in investing activities (42,687) (48,486) (145,810)
CASH FLOWS FROM FINANCING ACTIVITIES      
Net borrowings (payments) on bank lines of credit (29,000) (25,006) 10,000
Proceeds from long-term debt 770 1,409 1,044
Payments on long-term debt (970) (3,122) (2,592)
Proceeds from exercise of stock options and employee stock purchase plan 6,103 9,152 6,896
Payments of contingent consideration (5,353) (5,782) (3,634)
Repurchases of common stock (51,775) (21,029) (62,932)
Taxes paid related to net share settlement of equity awards (24,505) (13,936) (20,864)
Net cash used in financing activities (104,730) (58,314) (72,082)
Effect of exchange rate changes on cash (1,977) (810) (53)
Net change in cash and cash equivalents (20,214) 11,502 (84,836)
Cash and cash equivalents-beginning of period 96,316 84,814 169,650
Cash and cash equivalents-end of period 76,102 96,316 84,814
Cash paid, net during the period for:      
Interest 7,713 11,862 9,249
Income taxes $ 19,077 $ 34,794 $ 29,445