XML 33 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities:      
Net income (loss) $ 10,795 $ (192,654) $ 57,597
Net loss from discontinued operations (34,594) (113,427) (7,262)
Net income (loss) from continuing operations 45,389 (79,227) 64,859
Adjustments to reconcile net income to net cash provided by operating activities of continuing operations:      
Depreciation and amortization 33,507 35,328 33,652
Amortization of debt issue costs 417 417 350
Provision for doubtful accounts 338 1,621 1,712
Share-based compensation 8,039 5,478 6,045
Impairment charges 0 120,470 0
Deferred income taxes 2,916 (12,193) (2,757)
Change in fair value of contingent consideration 516 6,941 15,200
Contingent consideration payments excess (5,457) (3,050) (10,190)
Finance lease interest 119 85 0
Changes in operating assets and liabilities, net of acquisitions:      
Accounts receivable (118,859) 57,477 (5,490)
Inventories (12,301) 86,177 (85,862)
Prepaid expenses and other assets (18,753) (13,880) (10,091)
Other non-current assets 9,948 (13,563) (2,438)
Accounts payable 175,120 (20,846) 16,134
Accrued expenses and other liabilities (493) 11,239 2,377
Income taxes payable (3,679) (441) (7,469)
Net cash provided by operating activities of continuing operations 116,767 182,033 16,032
Cash flows from investing activities of continuing operations:      
Capital expenditures (2,363) (6,387) (5,797)
Cash paid for business acquisitions, net of cash acquired 0 (48,921) (32,161)
Cash received for business disposal 34,356 0 0
Net cash provided by (used in) investing activities of continuing operations 31,993 (55,308) (37,958)
Cash flows from financing activities of continuing operations:      
Borrowings on revolving credit, net of expenses 1,881,679 2,085,918 2,061,090
Repayments on revolving credit, net of expenses (1,949,392) (2,190,595) (2,132,702)
Borrowings on long-term debt, net (7,839) (4,085) 149,670
Repayments of finance lease obligations (1,294) (1,765) (662)
Debt issuance costs 0 0 (1,096)
Contingent consideration payments (41,393) (35,482) (35,606)
Exercise of stock options 451 754 1,509
Taxes paid on settlement of equity awards (1,036) (1,353) (1,406)
Repurchase of common stock 0 (6,078) (9,483)
Net cash (used in) provided by financing activities of continuing operations (118,824) (152,686) 31,314
Cash flows from discontinued operations:      
Net cash flows provided by (used in) operating activities of discontinued operations 24,173 44,238 (43,159)
Net cash flows used in investing activities of discontinued operations (58) (77) (1,416)
Net cash flows (used in) provided by financing activities of discontinued operations (29,494) (3,921) 32,917
Net cash flows (used in) provided by discontinued operations (5,379) 40,240 (11,658)
Effect of exchange rate changes on cash and cash equivalents 3,706 (3,642) 558
Increase (decrease) in cash and cash equivalents 28,263 10,637 (1,712)
Cash and cash equivalents at beginning of period 34,455 23,818 25,530
Cash and cash equivalents at end of period 62,718 34,455 23,818
Cash and cash equivalents of discontinued operations 0 4,970 4,513
Cash and cash equivalents of continuing operations 62,718 29,485 19,305
Supplemental disclosure of consolidated cash flow information:      
Interest paid during the year 6,412 11,959 13,162
Income taxes paid during the year $ 12,002 $ 16,869 $ 30,610