XML 20 R8.htm IDEA: XBRL DOCUMENT v3.26.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Operating activities:    
Net income $ 159,787 $ 139,380
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 33,549 30,279
Stock-based compensation expense 11,605 9,762
Deferred income taxes 9,506 (6,038)
Other (4,857) (181)
Changes in operating assets and liabilities:    
Accounts receivable (28,102) (6,869)
Inventories (12,970) (8,209)
Prepaid expenses and other assets (1,098) (3,754)
Accounts payable and accrued liabilities (1,638) (26,415)
Income taxes (883) (5,081)
Net cash provided by operating activities 164,899 122,874
Investing activities:    
Purchases of property, plant and equipment (32,994) (18,685)
Payments to Acquire Businesses, Net of Cash Acquired (17,416) (147,248)
Payment for (Proceeds from) Other Investing Activity 6,848 854
Net cash used in investing activities (43,562) (165,079)
Financing activities:    
Payment of dividends (34,658) (34,237)
Proceeds from exercise of stock options 9,168 5,759
Payments for employee taxes withheld from stock-based awards (3,406) (2,518)
Purchase of treasury stock (14,130) (33,155)
Proceeds from borrowing on credit agreement 73,500 206,249
Repayment of borrowing on credit agreement (146,409) (194,365)
Proceeds from (Payment for) Other Financing Activity (9,534) 190
Net cash used in financing activities (125,469) (52,077)
Effect of exchange rate changes on cash and cash equivalents 5,274 (3,682)
Net increase (decrease) in cash and cash equivalents 1,142 (97,964)
Cash and cash equivalents, beginning of period 174,349 250,118
Cash and cash equivalents, end of period $ 175,491 $ 152,154