XML 17 R6.htm IDEA: XBRL DOCUMENT v3.24.3
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Oct. 31, 2024
Oct. 31, 2023
Cash flows from operating activities:    
Net income $ 110,784 $ 167,787
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 80,110 64,955
Write-off and amortization of debt discount and debt issuance costs 895 2,726
Equity-based compensation 10,358 10,698
Loss (gain) on disposal of assets 507 (441)
Deferred income taxes (4,464) (5,085)
Other items, net 3,765 3,590
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable (48,203) (89,384)
Inventories (4,201) 20,267
Prepaid expenses and other assets (9,107) (19,578)
Accounts payable (17,848) (9,849)
Accrued compensation and employee benefits (25,712) (36,293)
Other accrued expenses and liabilities (4,222) 15,354
Cash provided by operating activities 92,662 124,747
Cash flows from investing activities:    
Purchases of property and equipment (23,052) (29,546)
Proceeds from sale of assets 2,322 1,701
Acquisition of businesses, net of cash acquired (207,259) (55,964)
Other investing activities (5,200) 0
Cash used in investing activities (233,189) (83,809)
Cash flows from financing activities:    
Repayments on revolving credit facility (828,511) (389,409)
Borrowings from revolving credit facility 1,009,060 360,173
Payments of principal on long-term debt (2,494) 0
Borrowings from term loan amendment 0 288,266
Repayments from term loan amendment 0 (287,768)
Payments of principal on finance lease obligations (21,834) (19,304)
Repurchases of common stock (99,248) (75,356)
Payment for debt issuance costs 0 (5,825)
Proceeds from exercises of stock options 2,460 1,756
Payments for taxes related to net share settlement of equity awards (4,928) (3,975)
Proceeds from issuance of stock pursuant to employee stock purchase plan 3,207 2,664
Cash provided by (used in) financing activities 57,712 (128,778)
Effect of exchange rates on cash and cash equivalents 595 (388)
Decrease in cash and cash equivalents (82,220) (88,228)
Cash and cash equivalents, beginning of period 166,148 164,745
Cash and cash equivalents, end of period 83,928 76,517
Supplemental cash flow disclosures:    
Cash paid for income taxes 46,014 69,224
Cash paid for interest $ 45,909 $ 35,321