XML 20 R7.htm IDEA: XBRL DOCUMENT v3.22.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Apr. 30, 2020
Cash flows from operating activities:      
Net income $ 273,442 $ 105,560 $ 23,381
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 119,232 108,125 116,533
Impairment of goodwill 0 0 63,074
Write-off and amortization of debt discount and debt issuance costs 2,744 7,568 4,541
Equity-based compensation 17,354 12,872 8,970
(Gain) loss on disposal and impairment of assets (913) (1,011) 658
Deferred income taxes (351) (10,329) 926
Other items, net 5,706 1,552 4,110
Changes in assets and liabilities net of effects of acquisitions:      
Trade accounts and notes receivable (162,118) (101,617) 50,215
Inventories (156,311) (46,660) (4,579)
Prepaid expenses and other assets (92) (2,621) 6,623
Accounts payable 28,423 65,446 31,499
Accrued compensation and employee benefits 32,564 4,477 4,740
Other accrued expenses and liabilities 19,931 9,942 (7,612)
Cash provided by operating activities 179,611 153,304 303,079
Cash flows from investing activities:      
Purchases of property and equipment (41,082) (29,873) (25,193)
Proceeds from sale of assets 1,922 2,262 2,229
Acquisition of businesses, net of cash acquired (348,050) (35,976) (24,136)
Cash used in investing activities (387,210) (63,587) (47,100)
Cash flows from financing activities:      
Repayments on revolving credit facilities (1,178,897) (102,189) (837,424)
Borrowings from revolving credit facilities 1,390,222 14,750 880,698
Payments of principal on long-term debt (5,110) (8,754) (109,968)
Payments of principal on finance lease obligations (31,365) (30,371) (25,275)
Borrowings from term loan 0 511,000 0
Repayments of term loan 0 (869,427) 0
Issuance of Senior Notes 0 350,000 0
Repurchases of common stock (35,488) (4,160) 0
Payments for contingent consideration 0 0 (11,133)
Debt issuance costs 0 (6,299) (1,286)
Proceeds from exercises of stock options 4,434 7,559 11,793
Payments for taxes related to net share settlement of equity awards (2,850) (807) (532)
Proceeds from issuance of stock pursuant to employee stock purchase plan 2,332 2,076 1,793
Cash provided by (used in) financing activities 143,278 (136,622) (91,334)
Effect of exchange rates on cash and cash equivalents (775) 3,008 (1,074)
(Decrease) increase in cash and cash equivalents (65,096) (43,897) 163,571
Cash and cash equivalents, beginning of year 167,012 210,909 47,338
Cash and cash equivalents, end of year 101,916 167,012 210,909
Supplemental cash flow disclosures:      
Cash paid for income taxes 86,288 46,417 29,761
Cash paid for interest $ 46,204 $ 49,650 $ 63,745