XML 18 R7.htm IDEA: XBRL DOCUMENT v3.22.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED) - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2022
Mar. 31, 2021
CASH FLOWS FROM OPERATING ACTIVITIES    
Net income $ 81,584 $ 48,155
Adjustments to reconcile net income to net cash provided by operating activities, net of effects from acquisitions:    
Depreciation and amortization 28,980 31,433
Stock-based compensation expense 20,986 19,386
Provision for (recovery of) losses on accounts receivable (3,836) 6,176
Deferred income taxes 1,448 (1,364)
Amortization of debt discount and issuance costs 1,045 7,277
Impairment charges   552
Gain on sale of property and equipment (27,373)  
Other (1,074) (217)
Changes in operating assets and liabilities-net of business acquisitions:    
Accounts receivable 10,613 6,714
Inventories (53,766) (43,162)
Prepaid expenses and other assets 8,010 (4,263)
Accounts payable (11,000) 37,113
Accrued payroll and related expenses (9,837) 363
Advances from customers 7,523 19,468
Other (11,490) 3,422
Net cash provided by operating activities 41,813 131,053
CASH FLOWS FROM INVESTING ACTIVITIES    
Acquisition of property and equipment (10,293) (12,149)
Proceeds from sale of property and equipment 32,304 994
Purchases of certificates of deposit (2,201) (4,820)
Proceeds from certificates of deposit 55 2,690
Acquisition of businesses, net of cash acquired (14,132) (3,000)
Payments for intangible and other assets (12,320) (9,878)
Net cash used in investing activities (6,587) (26,163)
CASH FLOWS FROM FINANCING ACTIVITIES    
Net borrowings (repayments) on bank lines of credit 73,000 (59,000)
Proceeds from long-term debt 50,285 413
Payments on long-term debt (40,893) (778)
Proceeds from exercise of stock options and employee stock purchase plan 4,608 5,402
Payments of contingent consideration (1,671) (854)
Repurchases of common stock (96,832) (25,051)
Taxes paid related to net share settlement of equity awards (19,354) (11,546)
Net cash used in financing activities (30,857) (91,414)
Effect of exchange rate changes on cash (1,703) 2,887
Net change in cash and cash equivalents 2,666 16,363
Cash and cash equivalents-beginning of period 80,613 76,102
Cash and cash equivalents-end of period 83,279 92,465
Cash paid, net during the period for:    
Interest 5,851 5,721
Income taxes $ 9,964 $ 8,074