XML 18 R6.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2024
Jul. 31, 2023
Cash flows from operating activities:    
Net income $ 57,248 $ 86,830
Adjustments to reconcile net income to net cash (used in) provided by operating activities:    
Depreciation and amortization 38,032 32,018
Write-off and amortization of debt discount and debt issuance costs 448 2,077
Equity-based compensation 4,343 5,002
Loss (gain) on disposal of assets 858 (131)
Deferred income taxes (1,681) (2,587)
Other items, net 2,288 820
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable (36,373) (38,244)
Inventories (20,640) (1,359)
Prepaid expenses and other assets (3,320) (19,331)
Accounts payable (10,644) (28,280)
Accrued compensation and employee benefits (66,124) (64,038)
Other accrued expenses and liabilities 12,626 33,870
Cash (used in) provided by operating activities (22,939) 6,647
Cash flows from investing activities:    
Purchases of property and equipment (8,976) (13,538)
Proceeds from sale of assets 1,218 982
Acquisition of businesses, net of cash acquired (118,461) (38,976)
Cash used in investing activities (126,219) (51,532)
Cash flows from financing activities:    
Repayments on revolving credit facility (378,641) (187,784)
Borrowings from revolving credit facility 468,864 190,673
Payments of principal on long-term debt (1,247) 0
Borrowings from term loan amendment 0 288,266
Repayments from term loan amendment 0 (287,768)
Payments of principal on finance lease obligations (10,839) (9,793)
Repurchases of common stock (46,609) (30,784)
Payment for debt issuance costs 0 (5,825)
Proceeds from exercises of stock options 555 1,248
Proceeds from issuance of stock pursuant to employee stock purchase plan 3,207 2,664
Cash provided by (used in) financing activities 35,290 (39,103)
Effect of exchange rates on cash and cash equivalents 892 692
Decrease in cash and cash equivalents (112,976) (83,296)
Cash and cash equivalents, beginning of period 166,148 164,745
Cash and cash equivalents, end of period 53,172 81,449
Supplemental cash flow disclosures:    
Cash paid for income taxes 2,881 3,167
Cash paid for interest $ 26,730 $ 21,853