XML 16 R6.htm IDEA: XBRL DOCUMENT v3.22.2.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Cash flows from operating activities:    
Net income $ 89,470 $ 61,202
Adjustments to reconcile net income to net cash used in operating activities:    
Depreciation and amortization 32,440 27,714
Amortization of debt discount and debt issuance costs 425 642
Equity-based compensation 5,971 3,160
Gain on disposal of assets (284) (78)
Deferred income taxes (945) (140)
Other items, net 2,958 1,573
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable (69,635) (73,479)
Inventories (28,712) (87,313)
Prepaid expenses and other assets (3,709) (1,491)
Accounts payable (4,405) (4,265)
Accrued compensation and employee benefits (46,065) (24,219)
Other accrued expenses and liabilities 18,088 21,617
Cash used in operating activities (4,403) (75,077)
Cash flows from investing activities:    
Purchases of property and equipment (10,943) (6,814)
Proceeds from sale of assets 272 287
Acquisition of businesses, net of cash acquired (2,606) (123,049)
Cash used in investing activities (13,277) (129,576)
Cash flows from financing activities:    
Repayments on revolving credit facilities (141,247) (102,872)
Borrowings from revolving credit facilities 195,113 195,049
Payments of principal on long-term debt (1,278) (1,278)
Payments of principal on finance lease obligations (7,639) (7,397)
Repurchases of common stock (23,795) (3,855)
Proceeds from exercises of stock options 29 863
Payments for taxes related to net share settlement of equity awards (300) (256)
Other financing activities 1,329 1,140
Cash provided by financing activities 22,212 81,394
Effect of exchange rates on cash and cash equivalents 165 (163)
Increase (decrease) in cash and cash equivalents 4,697 (123,422)
Cash and cash equivalents, beginning of period 101,916 167,012
Cash and cash equivalents, end of period 106,613 43,590
Supplemental cash flow disclosures:    
Cash paid for income taxes 3,232 1,007
Cash paid for interest $ 17,834 $ 8,616