XML 19 R8.htm IDEA: XBRL DOCUMENT v3.25.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2025
Apr. 30, 2024
Operating activities:    
Net income $ 139,380 $ 141,759
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 30,279 22,406
Stock-based compensation expense 9,762 6,422
Deferred income taxes (6,038) (6,902)
Other (181) 1,358
Changes in operating assets and liabilities:    
Accounts receivable (6,869) (15,915)
Inventories (8,209) 20,861
Prepaid expenses and other assets (3,754) (1,849)
Accounts payable and accrued liabilities (26,415) 7,347
Income taxes (5,081) (4,393)
Net cash provided by operating activities 122,874 171,094
Investing activities:    
Purchases of property, plant and equipment (18,685) (69,157)
Payments to Acquire Businesses, Net of Cash Acquired 147,248 0
Payment for (Proceeds from) Other Investing Activity 854 (1,174)
Net cash used in investing activities (165,079) (70,331)
Financing activities:    
Payment of dividends (34,237) (33,890)
Proceeds from exercise of stock options 5,759 5,583
Payments for employee taxes withheld from stock-based awards (2,518) (2,664)
Purchase of treasury stock (33,155) (72,225)
Proceeds from borrowing on credit agreement 206,249 111,790
Repayment of borrowing on credit agreement (194,365) (97,732)
Proceeds from (Payment for) Other Financing Activity 190 149
Net cash used in financing activities (52,077) (88,989)
Effect of exchange rate changes on cash and cash equivalents (3,682) (2,848)
Net (decrease) increase in cash and cash equivalents (97,964) 8,926
Cash and cash equivalents, beginning of period 250,118 151,532
Cash and cash equivalents, end of period $ 152,154 $ 160,458