XML 19 R6.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Cash flows from operating activities:    
Net income $ 61,202 $ 27,219
Adjustments to reconcile net income to net cash used in operating activities:    
Depreciation and amortization 27,714 27,097
Amortization of debt discount and debt issuance costs 642 753
Equity-based compensation 3,160 2,619
(Gain) loss on disposal and impairment of assets (78) 394
Deferred income taxes (140) (5,241)
Other items, net 1,573 247
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable (73,479) (23,013)
Inventories (87,313) 14,008
Prepaid expenses and other assets (1,491) (3,782)
Accounts payable (4,265) (33,887)
Accrued compensation and employee benefits (24,219) (36,062)
Other accrued expenses and liabilities 21,617 13,937
Cash used in operating activities (75,077) (15,711)
Cash flows from investing activities:    
Purchases of property and equipment (6,814) (4,745)
Proceeds from sale of assets 287 342
Acquisition of businesses, net of cash acquired (123,049) (210)
Cash used in investing activities (129,576) (4,613)
Cash flows from financing activities:    
Repayments on revolving credit facilities (102,872) (58,083)
Borrowings from revolving credit facilities 195,049 14,421
Payments of principal on long-term debt (1,278) (2,492)
Payments of principal on finance lease obligations (7,397) (7,521)
Repurchases of common stock (3,855) 0
Proceeds from exercises of stock options 863 691
Payments for taxes related to net share settlement of equity awards (256) (105)
Other financing activities 1,140 1,270
Cash provided by (used in) financing activities 81,394 (51,819)
Effect of exchange rates on cash and cash equivalents (163) 943
Decrease in cash and cash equivalents (123,422) (71,200)
Cash and cash equivalents, beginning of period 167,012 210,909
Cash and cash equivalents, end of period 43,590 139,709
Supplemental cash flow disclosures:    
Cash paid for income taxes 1,007 3,478
Cash paid for interest $ 8,616 $ 13,115