XML 23 R7.htm IDEA: XBRL DOCUMENT v3.23.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
CASH FLOWS FROM OPERATING ACTIVITIES      
Net income $ 91,778 $ 115,347 $ 74,049
Adjustments to reconcile net income to net cash provided by operating activities, net of effects from acquisitions:      
Depreciation and amortization 38,513 38,679 43,855
Stock-based compensation 29,124 28,072 26,771
Provision for (recovery of) losses on accounts receivable (3,899) (5,978) 9,823
Deferred income taxes (3,978) 3,520 432
Amortization of debt discount and issuance costs 196 1,343 9,756
Impairment charges 0 1,006 552
Gain on sale of property and equipment 0 (27,373)  
Other 250 (1,326) (109)
Changes in operating assets and liabilities-net of business acquisitions:      
Accounts receivable (66,088) (13,710) (28,955)
Inventories (115) (44,662) (47,768)
Prepaid expenses and other assets (5,422) 22,323 (34,430)
Accounts payable 10,756 (15,055) 55,601
Accrued payroll and related expenses 4,716 (1,998) 10,486
Advances from customers 1,356 (18,423) 9,796
Other (2,375) (17,957) 9,207
Net cash provided by operating activities 94,812 63,808 139,066
CASH FLOWS FROM INVESTING ACTIVITIES      
Acquisition of property and equipment (15,811) (14,921) (16,896)
Proceeds from sale of property and equipment 347 34,132 1,136
Purchases of certificates of deposit (5,280) (2,243) (4,892)
Proceeds from maturities of certificates of deposit 3,827 56 2,710
Acquisition of businesses, net of cash acquired (7,101) (14,132) (3,000)
Payments for intangible and other assets (16,443) (15,566) (13,751)
Net cash used in investing activities (40,461) (12,674) (34,693)
CASH FLOWS FROM FINANCING ACTIVITIES      
Net borrowings (repayments) on bank lines of credit 155,000 60,000 (59,000)
Proceeds from long-term debt 100,766 50,388 739
Payments on long-term debt (249,842) (46,074) (1,057)
Proceeds from exercise of stock options and employee stock purchase plan 7,707 4,796 5,517
Payment of contingent consideration (4,103) (2,061) (1,007)
Repurchase of common stock (34,749) (111,627) (37,468)
Taxes paid related to net share settlement of equity awards (11,954) (19,430) (11,649)
Net cash used in financing activities (37,175) (64,008) (103,925)
Effect of exchange rate changes on cash (4,628) (3,537) 4,063
Net increase (decrease) in cash and cash equivalents 12,548 (16,411) 4,511
Cash and cash equivalents-beginning of year 64,202 80,613 76,102
Cash and cash equivalents-end of year 76,750 64,202 80,613
Supplemental disclosure of cash flow information:      
Interest 20,277 6,979 5,979
Income taxes $ 19,439 $ 16,658 $ 12,778