XML 29 R7.htm IDEA: XBRL DOCUMENT v3.24.2.u1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2022
CASH FLOWS FROM OPERATING ACTIVITIES      
Net income $ 128,154 $ 91,778 $ 115,347
Adjustments to reconcile net income to net cash provided by (used in) operating activities, net of effects from acquisitions:      
Depreciation and amortization 42,209 38,513 38,679
Stock-based compensation 28,706 29,124 28,072
Provision for (recovery of) losses on accounts receivable 5,574 (3,899) (5,978)
Deferred income taxes (14,133) (3,978) 3,520
Amortization of debt discount and issuance costs 0 196 1,343
Impairment charges 0   1,006
Gain on sale of property and equipment 0   (27,373)
Other 94 250 (1,326)
Changes in operating assets and liabilities-net of business acquisitions:      
Accounts receivable (293,639) (66,088) (13,710)
Inventories (57,292) (115) (44,662)
Prepaid expenses and other assets (31,656) (5,422) 22,323
Accounts payable 52,454 10,756 (15,055)
Accrued payroll and related expenses (5,010) 4,716 (1,998)
Advances from customers 31,403 1,356 (18,423)
Other 25,635 (2,375) (17,957)
Net cash provided by (used in) operating activities (87,501) 94,812 63,808
CASH FLOWS FROM INVESTING ACTIVITIES      
Acquisition of property and equipment (22,102) (15,811) (14,921)
Proceeds from sale of property and equipment 510 347 34,132
Purchases of certificates of deposit 0 (5,280) (2,243)
Proceeds from maturities of certificates of deposit 10,329 3,827 56
Acquisition of businesses, net of cash acquired (9,046) (7,101) (14,132)
Payments for intangible and other assets (17,330) (16,443) (15,566)
Net cash used in investing activities (37,639) (40,461) (12,674)
CASH FLOWS FROM FINANCING ACTIVITIES      
Net borrowings on bank lines of credit 169,000 155,000 60,000
Proceeds from long-term debt 1,435 100,766 50,388
Payments on long-term debt (8,450) (249,842) (46,074)
Proceeds from exercise of stock options and employee stock purchase plan 6,178 7,707 4,796
Payment of contingent consideration (602) (4,103) (2,061)
Repurchase of common stock 0 (34,749) (111,627)
Taxes paid related to net share settlement of equity awards (23,311) (11,954) (19,430)
Net cash provided by (used in) financing activities 144,250 (37,175) (64,008)
Effect of exchange rate changes on cash (507) (4,628) (3,537)
Net increase (decrease) in cash and cash equivalents 18,603 12,548 (16,411)
Cash and cash equivalents-beginning of year 76,750 64,202 80,613
Cash and cash equivalents-end of year 95,353 76,750 64,202
Supplemental disclosure of cash flow information:      
Interest 26,761 20,277 6,979
Income taxes $ 42,100 $ 19,439 $ 16,658