XML 19 R7.htm IDEA: XBRL DOCUMENT v3.23.4
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
6 Months Ended
Dec. 31, 2023
Dec. 31, 2022
CASH FLOWS FROM OPERATING ACTIVITIES    
Net income $ 49,432 $ 27,589
Adjustments to reconcile net income to net cash provided by (used in) operating activities, net of effects from acquisitions:    
Depreciation and amortization 19,856 19,143
Stock-based compensation expense 14,417 14,416
Provision for (recovery of) losses on accounts receivable 2,352 (1,353)
Deferred income taxes (805) 1,205
Amortization of debt discount and issuance costs   196
Other 99 (64)
Changes in operating assets and liabilities-net of business acquisitions:    
Accounts receivable 11,458 (13,348)
Inventories (103,309) (27,317)
Prepaid expenses and other assets (30,458) (10,076)
Accounts payable 24,365 4,429
Accrued payroll and related expenses (870) (16,526)
Advances from customers 18,227 2,828
Deferred revenue (8,312) 12,714
Other (2,836) (5,672)
Net cash provided by (used in) operating activities (6,384) 8,164
CASH FLOWS FROM INVESTING ACTIVITIES    
Acquisition of property and equipment (8,689) (6,982)
Proceeds from sale of property and equipment 167 235
Purchases of certificates of deposit   (674)
Proceeds from maturities of certificates of deposit 4,137  
Acquisition of businesses, net of cash acquired (9,046) (3,477)
Payments for intangible and other assets (8,376) (8,002)
Net cash used in investing activities (21,807) (18,900)
CASH FLOWS FROM FINANCING ACTIVITIES    
Net borrowings on bank lines of credit 101,000 175,000
Proceeds from long-term debt 516 100,502
Payments on long-term debt (4,172) (245,777)
Proceeds from exercise of stock options and employee stock purchase plan 3,215 2,408
Payments of contingent consideration (464) (2,466)
Repurchases of common stock   (21,784)
Taxes paid related to net share settlement of equity awards (23,040) (11,614)
Net cash (used in) provided by financing activities 77,055 (3,731)
Effect of exchange rate changes on cash 1,644 (4,135)
Net change in cash and cash equivalents 50,508 (18,602)
Cash and cash equivalents-beginning of period 76,750 64,202
Cash and cash equivalents-end of period 127,258 45,600
Supplemental disclosure of cash flow information:    
Interest 11,567 8,978
Income taxes $ 21,761 $ 11,935