XML 23 R8.htm IDEA: XBRL DOCUMENT v3.22.2.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities:      
Net income (loss) $ 88,798 $ 10,795 $ (192,654)
Net income (loss) from discontinued operations 100 (34,594) (113,427)
Net income (loss) from continuing operations 88,698 45,389 (79,227)
Adjustments to reconcile net income to net cash (used in) provided by operating activities of continuing operations:      
Depreciation and amortization 29,884 33,507 35,328
Amortization of debt issue costs 417 417 417
Provision for doubtful accounts 1,514 338 1,621
Share-based compensation 11,663 8,039 5,478
Impairment charges 0 0 120,470
Deferred income taxes 5,737 2,916 (12,193)
Change in fair value of contingent consideration 0 516 6,941
Contingent consideration payments excess 0 (5,457) (3,050)
Finance lease interest 34 119 85
Changes in operating assets and liabilities, net of acquisitions:      
Accounts receivable (165,939) (118,859) 57,477
Inventories (145,962) (12,301) 86,177
Prepaid expenses and other assets (27,371) (18,753) (13,880)
Other non-current assets 1,123 9,948 (13,563)
Accounts payable 82,969 175,120 (20,846)
Accrued expenses and other liabilities (4,869) (493) 11,239
Income taxes payable (2,252) (3,679) (441)
Net cash (used in) provided by operating activities of continuing operations (124,354) 116,767 182,033
Cash flows from investing activities of continuing operations:      
Capital expenditures (6,849) (2,363) (6,387)
Cash paid for business acquisitions, net of cash acquired 0 0 (48,921)
Cash received for business disposal 3,125 34,356 0
Net cash (used in) provided by investing activities of continuing operations (3,724) 31,993 (55,308)
Cash flows from financing activities of continuing operations:      
Borrowings on revolving credit, net of expenses 2,166,409 1,881,679 2,085,918
Repayments on revolving credit, net of expenses (2,030,569) (1,949,392) (2,190,595)
Repayments on long-term debt, net (7,843) (7,839) (4,085)
Repayments of finance lease obligations (1,238) (1,294) (1,765)
Contingent consideration payments 0 (41,393) (35,482)
Exercise of stock options 2,304 451 754
Taxes paid on settlement of equity awards (2,754) (1,036) (1,353)
Repurchase of common stock (18,203) 0 (6,078)
Net cash provided by (used in) financing activities of continuing operations 108,106 (118,824) (152,686)
Cash flows from discontinued operations:      
Net cash flows provided by operating activities of discontinued operations 0 24,173 44,238
Net cash flows used in investing activities of discontinued operations 0 (58) (77)
Net cash flows (used in) financing activities of discontinued operations 0 (29,494) (3,921)
Net cash flows (used in) provided by discontinued operations 0 (5,379) 40,240
Effect of exchange rate changes on cash and cash equivalents (4,759) 3,706 (3,642)
(Decrease) increase in cash and cash equivalents (24,731) 28,263 10,637
Cash and cash equivalents at beginning of period 62,718 34,455 23,818
Cash and cash equivalents at end of period 37,987 62,718 34,455
Cash and cash equivalents of discontinued operations 0 0 4,970
Cash and cash equivalents of continuing operations 37,987 62,718 29,485
Supplemental disclosure of consolidated cash flow information:      
Interest paid during the year 6,066 6,412 11,959
Income taxes paid during the year $ 29,418 $ 12,002 $ 16,869