XML 23 R7.htm IDEA: XBRL DOCUMENT v3.21.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2019
CASH FLOWS FROM OPERATING ACTIVITIES      
Net income $ 74,049 $ 75,252 $ 64,796
Adjustments to reconcile net income to net cash provided by operating activities, net of effects from acquisitions:      
Depreciation and amortization 43,855 49,758 56,234
Stock-based compensation 26,771 23,817 25,251
Provision for losses on accounts receivable 9,823 4,741 2,741
Deferred income taxes 432 (431) (8,536)
Amortization of debt discount and issuance costs 9,756 9,383 9,026
Impairment charges 552 5,458  
Other (109) 178 292
Changes in operating assets and liabilities-net of business acquisitions:      
Accounts receivable (28,955) (37,071) (27,206)
Inventories (47,768) 30,752 39,447
Prepaid expenses and other assets (34,430) (10,566) (6,175)
Accounts payable 55,601 (8,893) (16,623)
Accrued payroll and related expenses 10,486 4,205 3,355
Advances from customers 9,796 (15,188) (12,489)
Other 9,207 (2,215) (11,001)
Net cash provided by operating activities 139,066 129,180 119,112
CASH FLOWS FROM INVESTING ACTIVITIES      
Acquisition of property and equipment (15,760) (20,388) (27,412)
Purchases of certificates of deposit (4,892)    
Proceeds from maturities of certificates of deposit 2,710    
Acquisition of businesses, net of cash acquired (3,000) (8,940) (18,271)
Acquisition of intangible and other assets (13,751) (13,359) (2,803)
Net cash used in investing activities (34,693) (42,687) (48,486)
CASH FLOWS FROM FINANCING ACTIVITIES      
Net payments on bank lines of credit (59,000) (29,000) (25,006)
Proceeds from long-term debt 739 770 1,409
Payments on long-term debt (1,057) (970) (3,122)
Proceeds from exercise of stock options and employee stock purchase plan 5,517 6,103 9,152
Payment of contingent consideration (1,007) (5,353) (5,782)
Repurchase of common stock (37,468) (51,775) (21,029)
Taxes paid related to net share settlement of equity awards (11,649) (24,505) (13,936)
Net cash used in financing activities (103,925) (104,730) (58,314)
Effect of exchange rate changes on cash 4,063 (1,977) (810)
Net increase (decrease) in cash and cash equivalents 4,511 (20,214) 11,502
Cash and cash equivalents-beginning of year 76,102 96,316 84,814
Cash and cash equivalents-end of year 80,613 76,102 96,316
Supplemental disclosure of cash flow information:      
Interest 5,979 7,713 11,862
Income taxes $ 12,778 $ 19,077 $ 34,794