XML 16 R6.htm IDEA: XBRL DOCUMENT v3.24.0.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jan. 31, 2024
Jan. 31, 2023
Cash flows from operating activities:    
Net income $ 219,692 $ 257,398
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 97,759 96,085
Write-off and amortization of debt discount and debt issuance costs 3,374 1,176
Equity-based compensation 16,507 17,289
Gain on disposal of assets (663) (614)
Deferred income taxes (6,410) (1,951)
Other items, net 3,876 5,891
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable 2,691 (28,148)
Inventories 7 (34,717)
Prepaid expenses and other assets (19,184) (907)
Accounts payable (56,803) (51,491)
Accrued compensation and employee benefits (21,505) (16,469)
Other accrued expenses and liabilities (10,315) (6,615)
Cash provided by operating activities 229,026 236,927
Cash flows from investing activities:    
Purchases of property and equipment (39,728) (33,250)
Proceeds from sale of assets 1,948 1,661
Acquisition of businesses, net of cash acquired (55,402) (20,415)
Cash used in investing activities (93,182) (52,004)
Cash flows from financing activities:    
Repayments on revolving credit facilities (525,009) (361,247)
Borrowings from revolving credit facilities 443,973 390,113
Payments of principal on long-term debt (1,250) (3,832)
Borrowings from term loan amendment 288,266 0
Repayments from term loan amendment (287,769) 0
Payments of principal on finance lease obligations (30,381) (26,167)
Repurchases of common stock (100,292) (82,767)
Payment of acquisition holdback liability 0 (13,500)
Payment for debt issuance costs (5,825) (3,157)
Proceeds from exercises of stock options 5,053 2,430
Payments for taxes related to net share settlement of equity awards (4,023) (4,005)
Proceeds from issuance of stock pursuant to employee stock purchase plan 4,586 3,203
Cash used in financing activities (212,671) (98,929)
Effect of exchange rates on cash and cash equivalents 423 (1,247)
(Decrease) increase in cash and cash equivalents (76,404) 84,747
Cash and cash equivalents, beginning of period 164,745 101,916
Cash and cash equivalents, end of period 88,341 186,663
Supplemental cash flow disclosures:    
Cash paid for income taxes 93,661 85,642
Cash paid for interest $ 57,300 $ 49,193