XML 23 R7.htm IDEA: XBRL DOCUMENT v3.20.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2018
Cash flows from operating activities:      
Net (loss) income $ (192,654) $ 57,597 $ 33,153
Net loss from discontinued operations (113,427) (7,262) (2,303)
Net (loss) income from continuing operations (79,227) 64,859 35,456
Adjustments to reconcile net income to net cash provided by operating activities of continuing operations:      
Depreciation and amortization 35,328 33,652 34,493
Amortization of debt issue costs 417 350 326
Provision for doubtful accounts 1,621 1,712 6,127
Share-based compensation 5,478 6,045 6,379
Impairment charges 120,470 0 0
Deferred income taxes (12,193) (2,757) (20,908)
Change in fair value of contingent consideration 6,941 15,200 37,043
Contingent consideration payments excess (3,050) (10,190) (3,066)
Finance lease interest 85    
Changes in operating assets and liabilities, net of acquisitions:      
Accounts receivable 57,477 (5,490) (35,881)
Inventories 86,177 (85,862) (53,209)
Prepaid expenses and other assets (13,880) (10,091) (14,951)
Other non-current assets (13,563) (2,438) (6,818)
Accounts payable (20,846) 16,134 37,319
Accrued expenses and other liabilities 11,239 2,377 (4,733)
Income taxes payable (441) (7,469) 13,870
Net cash provided by operating activities of continuing operations 182,033 16,032 31,447
Cash flows from investing activities of continuing operations:      
Capital expenditures (6,387) (5,797) (6,998)
Cash paid for business acquisitions, net of cash acquired (48,921) (32,161) (143,768)
Net cash used in investing activities of continuing operations (55,308) (37,958) (150,766)
Cash flows from financing activities of continuing operations:      
Borrowings on revolving credit, net of expenses 2,085,918 2,061,090 2,301,443
Repayments on revolving credit, net of expenses (2,190,595) (2,132,702) (2,149,313)
Borrowings on long-term debt, net (4,085) 149,670 0
Repayments of finance lease obligations (1,765)    
Repayments of finance lease obligations   (662) (591)
Debt issuance costs 0 (1,096) (296)
Contingent consideration payments (35,482) (35,606) (50,959)
Exercise of stock options 754 1,509 2,273
Taxes paid on settlement of equity awards (1,353) (1,406) (1,637)
Repurchase of common stock (6,078) (9,483) 0
Net cash (used in) provided by financing activities of continuing operations (152,686) 31,314 100,920
Cash flows from discontinued operations:      
Net cash flows provided by (used in) operating activities of discontinued operations 44,238 (43,159) (6,641)
Net cash flows used in by investing activities of discontinued operations (77) (1,416) (1,161)
Net cash flows (used in) provided by financing activities of discontinued operations (3,921) 32,917 (347)
Net cash flows provided by (used in) discontinued operations 40,240 (11,658) (8,149)
Effect of exchange rate changes on cash and cash equivalents (3,642) 558 (4,016)
Increase (decrease) in cash and cash equivalents 10,637 (1,712) (30,564)
Cash and cash equivalents at beginning of period 23,818 25,530 56,094
Cash and cash equivalents at end of period 34,455 23,818 25,530
Cash and cash equivalents of discontinued operations 4,970 4,513 2,085
Cash and cash equivalents of continuing operations 29,485 19,305 23,445
Supplemental disclosure of consolidated cash flow information:      
Interest paid during the year 11,959 13,162 8,614
Income taxes paid during the year $ 16,869 $ 30,610 $ 36,021