XML 16 R6.htm IDEA: XBRL DOCUMENT v3.22.4
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jan. 31, 2023
Jan. 31, 2022
Cash flows from operating activities:    
Net income $ 257,398 $ 196,946
Adjustments to reconcile net income to net cash provided by (used in) operating activities:    
Depreciation and amortization 96,085 86,867
Amortization of debt discount and debt issuance costs 1,176 2,037
Equity-based compensation 17,289 12,461
Gain on disposal of assets (614) (474)
Deferred income taxes (1,951) (1,740)
Other items, net 5,891 5,357
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable (28,148) (109,948)
Inventories (34,717) (191,103)
Prepaid expenses and other assets (907) 2,215
Accounts payable (51,491) (46,310)
Accrued compensation and employee benefits (16,469) 3,618
Other accrued expenses and liabilities (6,615) 20,187
Cash provided by (used in) operating activities 236,927 (19,887)
Cash flows from investing activities:    
Purchases of property and equipment (33,250) (33,161)
Proceeds from sale of assets 1,661 1,124
Acquisition of businesses, net of cash acquired (20,415) (345,376)
Cash used in investing activities (52,004) (377,413)
Cash flows from financing activities:    
Repayments on revolving credit facilities (361,247) (823,583)
Borrowings from revolving credit facilities 390,113 1,182,774
Payments of principal on long-term debt (3,832) (3,832)
Payments of principal on finance lease obligations (26,167) (23,154)
Repurchases of common stock (82,767) (17,858)
Payment of acquisition holdback liability (13,500) 0
Payment for debt issuance costs (3,157) 0
Proceeds from exercises of stock options 2,430 4,024
Payments for taxes related to net share settlement of equity awards (4,005) (2,850)
Proceeds from issuance of stock pursuant to employee stock purchase plan 3,203 2,332
Cash (used in) provided by financing activities (98,929) 317,853
Effect of exchange rates on cash and cash equivalents (1,247) (590)
Increase (decrease) in cash and cash equivalents 84,747 (80,037)
Cash and cash equivalents, beginning of period 101,916 167,012
Cash and cash equivalents, end of period 186,663 86,975
Supplemental cash flow disclosures:    
Cash paid for income taxes 85,642 61,066
Cash paid for interest $ 49,193 $ 35,721