XML 17 R6.htm IDEA: XBRL DOCUMENT v3.20.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2020
Jul. 31, 2019
Cash flows from operating activities:    
Net income $ 27,219 $ 24,820
Adjustments to reconcile net income to net cash used in operating activities:    
Depreciation and amortization 27,097 29,275
Amortization of debt discount and debt issuance costs 753 835
Provision for expected credit losses 138 657
Provision for obsolescence of inventory 109 119
Effects of fair value adjustments to inventory   151
Increase in fair value of contingent consideration   228
Equity-based compensation 2,619 2,071
Loss (gain) on disposal and impairment of assets 394 (156)
Deferred income taxes (5,241) (1,440)
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable (23,013) (23,230)
Inventories 14,008 18
Prepaid expenses and other assets (3,782) (1,359)
Accounts payable (33,887) (9,526)
Accrued compensation and employee benefits (36,062) (26,347)
Other accrued expenses and liabilities 13,937 (8,556)
Cash used in operating activities (15,711) (12,440)
Cash flows from investing activities:    
Purchases of property and equipment (4,745) (5,891)
Proceeds from sale of assets 342 232
Acquisition of businesses, net of cash acquired (210) (10,633)
Cash used in investing activities (4,613) (16,292)
Cash flows from financing activities:    
Repayments on revolving credit facilities (58,083) (262,107)
Borrowings from revolving credit facilities 14,421 274,810
Payments of principal on long-term debt (2,492) (2,492)
Payments of principal on finance lease obligations (7,521) (6,021)
Proceeds from exercises of stock options 691 133
Payments for taxes related to net share settlement of equity awards (105)  
Other financing activities 1,270 1,022
Cash (used in) provided by financing activities (51,819) 5,345
Effect of exchange rates on cash and cash equivalents 943 172
Decrease in cash and cash equivalents (71,200) (23,215)
Cash and cash equivalents, beginning of period 210,909 47,338
Cash and cash equivalents, end of period 139,709 24,123
Supplemental cash flow disclosures:    
Cash paid for income taxes 3,478 18,776
Cash paid for interest $ 13,115 $ 17,011