XML 16 R6.htm IDEA: XBRL DOCUMENT v3.22.0.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Jan. 31, 2022
Jan. 31, 2021
Cash flows from operating activities:    
Net income $ 196,946 $ 71,814
Adjustments to reconcile net income to net cash (used in) provided by operating activities:    
Depreciation and amortization 86,867 79,904
Amortization of debt discount and debt issuance costs 2,037 2,257
Equity-based compensation 12,461 10,318
Gain on disposal of assets (474) (529)
Deferred income taxes (1,740) (9,645)
Other items, net 5,357 105
Changes in assets and liabilities net of effects of acquisitions:    
Trade accounts and notes receivable (109,948) (15,381)
Inventories (191,103) (24,391)
Prepaid expenses and other assets 2,215 1,040
Accounts payable (46,310) (41,371)
Accrued compensation and employee benefits 3,618 (11,932)
Other accrued expenses and liabilities 20,187 6,307
Cash (used in) provided by operating activities (19,887) 68,496
Cash flows from investing activities:    
Purchases of property and equipment (33,161) (17,857)
Proceeds from sale of assets 1,124 1,233
Acquisition of businesses, net of cash acquired (345,376) (51)
Cash used in investing activities (377,413) (16,675)
Cash flows from financing activities:    
Repayments on revolving credit facilities (823,583) (102,189)
Borrowings from revolving credit facilities 1,182,774 14,750
Payments of principal on long-term debt (3,832) (7,476)
Payments of principal on finance lease obligations (23,154) (22,662)
Repurchases of common stock (17,858) (2,000)
Proceeds from exercises of stock options 4,024 3,656
Payments for taxes related to net share settlement of equity awards (2,850) (807)
Other financing activities 2,332 2,076
Cash provided by (used in) financing activities 317,853 (114,652)
Effect of exchange rates on cash and cash equivalents (590) 2,495
Decrease in cash and cash equivalents (80,037) (60,336)
Cash and cash equivalents, beginning of period 167,012 210,909
Cash and cash equivalents, end of period 86,975 150,573
Supplemental cash flow disclosures:    
Cash paid for income taxes 61,066 31,942
Cash paid for interest $ 35,721 $ 38,114