XML 18 R7.htm IDEA: XBRL DOCUMENT v3.23.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2023
Mar. 31, 2022
CASH FLOWS FROM OPERATING ACTIVITIES    
Net income $ 49,397 $ 81,584
Adjustments to reconcile net income to net cash provided by operating activities, net of effects from acquisitions:    
Depreciation and amortization 28,819 28,980
Stock-based compensation expense 21,528 20,986
Recovery of losses on accounts receivable (4,890) (3,836)
Deferred income taxes 942 1,448
Amortization of debt discount and issuance costs 196 1,045
Gain on sale of property and equipment   (27,373)
Other (46) (1,074)
Changes in operating assets and liabilities-net of business acquisitions:    
Accounts receivable 13,248 10,613
Inventories (37,860) (53,766)
Prepaid expenses and other assets (4,924) 8,010
Accounts payable 2,134 (11,000)
Accrued payroll and related expenses 2,151 (9,837)
Advances from customers 13,963 7,523
Other (11,980) (11,490)
Net cash provided by operating activities 72,678 41,813
CASH FLOWS FROM INVESTING ACTIVITIES    
Acquisition of property and equipment (12,691) (10,293)
Proceeds from sale of property and equipment 309 32,304
Purchases of certificates of deposit (4,940) (2,201)
Proceeds from certificates of deposit 3,827 55
Acquisition of businesses, net of cash acquired (4,616) (14,132)
Payments for intangible and other assets (12,275) (12,320)
Net cash used in investing activities (30,386) (6,587)
CASH FLOWS FROM FINANCING ACTIVITIES    
Net borrowings on bank lines of credit 155,000 73,000
Proceeds from long-term debt 100,654 50,285
Payments on long-term debt (247,818) (40,893)
Proceeds from exercise of stock options and employee stock purchase plan 5,371 4,608
Payments of contingent consideration (3,668) (1,671)
Repurchases of common stock (34,749) (96,832)
Taxes paid related to net share settlement of equity awards (11,840) (19,354)
Net cash used in financing activities (37,050) (30,857)
Effect of exchange rate changes on cash (3,822) (1,703)
Net change in cash and cash equivalents 1,420 2,666
Cash and cash equivalents-beginning of period 64,202 80,613
Cash and cash equivalents-end of period 65,622 83,279
Supplemental disclosure of cash flow information:    
Interest 14,648 5,851
Income taxes $ 15,769 $ 9,964