XML 19 R7.htm IDEA: XBRL DOCUMENT v3.21.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2021
Mar. 31, 2020
CASH FLOWS FROM OPERATING ACTIVITIES    
Net income $ 48,155 $ 61,287
Adjustments to reconcile net income to net cash provided by operating activities, net of effects from acquisitions:    
Depreciation and amortization 31,433 37,807
Stock-based compensation expense 19,386 18,097
Provision for losses on accounts receivable 6,176 2,641
Deferred income taxes (1,364) (50)
Amortization of debt discount and issuance costs 7,277 6,984
Impairment charges 552 3,258
Other (217) 137
Changes in operating assets and liabilities-net of business acquisitions:    
Accounts receivable 6,714 (23,945)
Inventories (43,162) 28,871
Prepaid expenses and other assets (4,263) (18,127)
Accounts payable 37,113 10,243
Accrued payroll and related expenses 363 (5,655)
Advances from customers 19,468 (9,846)
Other 3,422 (6,149)
Net cash provided by operating activities 131,053 105,553
CASH FLOWS FROM INVESTING ACTIVITIES    
Acquisition of property and equipment (11,155) (16,062)
Purchases of certificates of deposit (4,820)  
Proceeds from maturities of certificates of deposit 2,690  
Acquisition of business, net of cash acquired (3,000) (3,521)
Payments for intangible and other assets (9,878) (8,764)
Net cash used in investing activities (26,163) (28,347)
CASH FLOWS FROM FINANCING ACTIVITIES    
Net borrowings (repayments) on bank lines of credit (59,000) 7,000
Proceeds from long-term debt 413 592
Payments on long-term debt (778) (723)
Proceeds from exercise of stock options and employee stock purchase plan 5,402 8,398
Payments of contingent consideration (854) (5,265)
Repurchases of common stock (25,051) (51,775)
Taxes paid related to net share settlement of equity awards (11,546) (26,761)
Net cash used in financing activities (91,414) (68,534)
Effect of exchange rate changes on cash 2,887 (3,962)
Net change in cash and cash equivalents 16,363 4,710
Cash and cash equivalents-beginning of period 76,102 96,316
Cash and cash equivalents-end of period 92,465 101,026
Cash paid, net during the period for:    
Interest 5,721 6,773
Income taxes $ 8,074 $ 16,141