XML 16 R6.htm IDEA: XBRL DOCUMENT v3.23.3
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Oct. 31, 2023
Oct. 31, 2022
Cash flows from operating activities:    
Net income $ 167,787 $ 192,623
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 64,955 64,666
Write-off and amortization of debt discount and debt issuance costs 2,726 802
Equity-based compensation 10,698 13,322
Gain on disposal of assets (441) (203)
Deferred income taxes (5,085) (2,925)
Other items, net 3,590 4,662
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable (89,384) (133,445)
Inventories 20,267 (32,270)
Prepaid expenses and other assets (19,578) (4,913)
Accounts payable (9,849) 3,821
Accrued compensation and employee benefits (36,293) (17,859)
Other accrued expenses and liabilities 15,354 14,580
Cash provided by operating activities 124,747 102,861
Cash flows from investing activities:    
Purchases of property and equipment (29,546) (21,670)
Proceeds from sale of assets 1,701 896
Acquisition of businesses, net of cash acquired (55,964) (2,620)
Cash used in investing activities (83,809) (23,394)
Cash flows from financing activities:    
Repayments on revolving credit facilities (389,409) (251,247)
Borrowings from revolving credit facilities 360,173 280,113
Payments of principal on long-term debt 0 (2,555)
Borrowings from term loan amendment 288,266 0
Repayments from term loan amendment (287,768) 0
Payments of principal on finance lease obligations (19,304) (16,450)
Repurchases of common stock (75,356) (49,571)
Payment of acquisition holdback liability 0 (13,500)
Payment for debt issuance costs (5,825) 0
Proceeds from exercises of stock options 1,756 701
Payments for taxes related to net share settlement of equity awards (3,975) (3,960)
Proceeds from issuance of stock pursuant to employee stock purchase plan 2,664 1,329
Cash used in financing activities (128,778) (55,140)
Effect of exchange rates on cash and cash equivalents (388) (2,042)
(Decrease) increase in cash and cash equivalents (88,228) 22,285
Cash and cash equivalents, beginning of period 164,745 101,916
Cash and cash equivalents, end of period 76,517 124,201
Supplemental cash flow disclosures:    
Cash paid for income taxes 69,224 60,792
Cash paid for interest $ 35,321 $ 29,268