XML 20 R7.htm IDEA: XBRL DOCUMENT v3.23.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Apr. 30, 2023
Jul. 31, 2022
Apr. 30, 2022
Jul. 31, 2021
Apr. 30, 2023
Apr. 30, 2022
Apr. 30, 2021
Cash flows from operating activities:              
Net income $ 75,593 $ 89,470 $ 76,496 $ 61,202 $ 332,991 $ 273,442 $ 105,560
Adjustments to reconcile net income to net cash provided by operating activities:              
Depreciation and amortization         126,907 119,232 108,125
Write-off and amortization of debt discount and debt issuance costs         1,468 2,744 7,568
Equity-based compensation         22,098 17,354 12,872
Gain on disposal of assets         (1,413) (913) (1,011)
Deferred income taxes         220 (351) (10,329)
Other items, net         13,270 5,706 1,552
Changes in assets and liabilities net of effects of acquisitions:              
Trade accounts and notes receivable         (37,024) (162,118) (101,617)
Inventories         (16,802) (156,311) (46,660)
Prepaid expenses and other assets         1,367 (92) (2,621)
Accounts payable         6,665 28,423 65,446
Accrued compensation and employee benefits         11,754 32,564 4,477
Other accrued expenses and liabilities         (19,764) 19,931 9,942
Cash provided by operating activities         441,737 179,611 153,304
Cash flows from investing activities:              
Purchases of property and equipment         (52,672) (41,082) (29,873)
Proceeds from sale of assets         2,879 1,922 2,262
Acquisition of businesses, net of cash acquired         (61,677) (348,050) (35,976)
Cash used in investing activities         (111,470) (387,210) (63,587)
Cash flows from financing activities:              
Repayments on revolving credit facilities         (647,247) (1,178,897) (102,189)
Borrowings from revolving credit facilities         546,113 1,390,222 14,750
Payments of principal on long-term debt         (5,110) (5,110) (8,754)
Payments of principal on finance lease obligations         (35,845) (31,365) (30,371)
Borrowings from term loan         0 0 511,000
Repayments of term loan         0 0 (869,427)
Issuance of Senior Notes         0 0 350,000
Repurchases of common stock         (110,776) (35,488) (4,160)
Payment of acquisition holdback liability         (13,500) 0 0
Debt issuance costs         (3,157) 0 (6,299)
Proceeds from exercises of stock options         4,715 4,434 7,559
Payments for taxes related to net share settlement of equity awards         (4,005) (2,850) (807)
Proceeds from issuance of stock pursuant to employee stock purchase plan         3,203 2,332 2,076
Cash (used in) provided by financing activities         (265,609) 143,278 (136,622)
Effect of exchange rates on cash and cash equivalents         (1,829) (775) 3,008
Increase (decrease) in cash and cash equivalents         62,829 (65,096) (43,897)
Cash and cash equivalents, beginning of year   $ 101,916   $ 167,012 101,916 167,012 210,909
Cash and cash equivalents, end of year $ 164,745   $ 101,916   164,745 101,916 167,012
Supplemental cash flow disclosures:              
Cash paid for income taxes         110,366 86,288 46,417
Cash paid for interest         $ 61,752 $ 46,204 $ 49,650