XML 17 R6.htm IDEA: XBRL DOCUMENT v3.23.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Cash flows from operating activities:    
Net income $ 86,830 $ 89,470
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Depreciation and amortization 32,018 32,440
Write-off and amortization of debt discount and debt issuance costs 2,077 425
Equity-based compensation 5,002 5,971
Gain on disposal of assets (131) (284)
Deferred income taxes (2,587) (945)
Other items, net 820 2,958
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable (38,244) (69,635)
Inventories (1,359) (28,712)
Prepaid expenses and other assets (19,331) (3,709)
Accounts payable (28,280) (4,405)
Accrued compensation and employee benefits (64,038) (46,065)
Other accrued expenses and liabilities 33,870 18,088
Cash provided by (used in) operating activities 6,647 (4,403)
Cash flows from investing activities:    
Purchases of property and equipment (13,538) (10,943)
Proceeds from sale of assets 982 272
Acquisition of businesses, net of cash acquired (38,976) (2,606)
Cash used in investing activities (51,532) (13,277)
Cash flows from financing activities:    
Repayments on revolving credit facilities (187,784) (141,247)
Borrowings from revolving credit facilities 190,673 195,113
Payments of principal on long-term debt 0 (1,278)
Proceeds from Term Loan Facility amendment 498 0
Payments of principal on finance lease obligations (9,793) (7,639)
Repurchases of common stock (30,784) (23,795)
Payment for debt issuance costs (5,825) 0
Proceeds from exercises of stock options 1,248 29
Payments for taxes related to net share settlement of equity awards 0 (300)
Proceeds from issuance of stock pursuant to employee stock purchase plan 2,664 1,329
Cash (used in) provided by financing activities (39,103) 22,212
Effect of exchange rates on cash and cash equivalents 692 165
(Decrease) increase in cash and cash equivalents (83,296) 4,697
Cash and cash equivalents, beginning of period 164,745 101,916
Cash and cash equivalents, end of period 81,449 106,613
Supplemental cash flow disclosures:    
Cash paid for income taxes 3,167 3,232
Cash paid for interest $ 21,853 $ 17,834