XML 17 R6.htm IDEA: XBRL DOCUMENT v3.25.0.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jan. 31, 2025
Jan. 31, 2024
Cash flows from operating activities:    
Net income (loss) $ 89,375 $ 219,692
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 122,540 97,759
Impairment of goodwill 42,454 0
Write-off and amortization of debt discount and debt issuance costs 1,342 3,374
Equity-based compensation 14,505 16,507
Gain on sale of business and disposal of assets, net (4,826) (663)
Deferred income taxes (6,862) (6,410)
Other items, net 6,013 3,876
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable 100,815 2,691
Inventories (13,623) 7
Prepaid expenses and other assets (16,024) (19,184)
Accounts payable (101,678) (56,803)
Accrued compensation and employee benefits (28,874) (21,505)
Other accrued expenses and liabilities (18,351) (10,315)
Cash provided by operating activities 186,806 229,026
Cash flows from investing activities:    
Purchases of property and equipment (34,093) (39,728)
Proceeds from sale of business and sale of assets 15,888 1,948
Acquisition of businesses, net of cash acquired (204,333) (55,402)
Other investing activities (5,200) 0
Cash used in investing activities (227,738) (93,182)
Cash flows from financing activities:    
Repayments on revolving credit facility (1,265,165) (525,009)
Borrowings from revolving credit facility 1,371,909 443,973
Payments of principal on long-term debt (3,741) (1,250)
Borrowings from term loan amendment 0 288,266
Repayments from term loan amendment 0 (287,769)
Payments of principal on finance lease obligations (34,114) (30,381)
Repurchases of common stock (138,902) (100,292)
Payment for debt issuance costs 0 (5,825)
Proceeds from exercises of stock options 3,118 5,053
Payments for taxes related to net share settlement of equity awards (5,002) (4,023)
Proceeds from issuance of stock pursuant to employee stock purchase plan 5,967 4,586
Cash used in financing activities (65,930) (212,671)
Effect of exchange rates on cash and cash equivalents (257) 423
Decrease in cash and cash equivalents (107,119) (76,404)
Cash and cash equivalents, beginning of period 166,148 164,745
Cash and cash equivalents, end of period 59,029 88,341
Supplemental cash flow disclosures:    
Cash paid for income taxes 58,295 93,661
Cash paid for interest $ 72,490 $ 57,300