XML 27 R9.htm IDEA: XBRL DOCUMENT v3.25.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2023
Jul. 31, 2022
Operating activities:        
Net income $ 189,256 $ 197,215 $ 174,857 $ 149,979
Adjustments to reconcile net income to net cash provided by operating activities:        
Depreciation and amortization 40,639 29,873 32,370  
Stock-based compensation expense 11,882 7,361 7,508  
Gain on sale of business 0 0 (3,770)  
Deferred income taxes (7,623) (9,399) (12,472)  
Other (2,540) 1,401 (308)  
Changes in operating assets and liabilities (net of effects of business acquisitions):        
Accounts receivable (14,356) (6,581) 2,380  
Inventories (18,889) 21,697 14,972  
Prepaid expenses and other assets (2,098) (743) (1,023)  
Accounts payable and accrued liabilities (9,862) 19,198 (9,459)  
Income taxes (5,213) (4,948) 4,094  
Net cash provided by operating activities 181,196 255,074 209,149  
Investing activities:        
Purchases of property, plant and equipment (27,577) (79,892) (19,226)  
Acquisition of businesses, net of cash acquired (144,541) 0 0  
Sale of business 0 0 8,000  
Other 864 (1,155) 12  
Net cash used in investing activities (171,254) (81,047) (11,214)  
Financing activities:        
Payment of dividends (45,542) (45,060) (45,404)  
Proceeds from exercise of stock options 6,171 8,186 4,091  
Payments for employee taxes withheld from stock-based awards (2,683) (2,797) (2,041)  
Purchase of treasury stock (50,838) (72,225) (74,996)  
Proceeds from borrowing on credit facilities 266,846 175,103 127,660  
Repayments of Lines of Credit 258,015 133,884 172,944  
Other 190 149 66  
Net cash used in financing activities (83,871) (70,528) (163,568)  
Effect of exchange rate changes on cash and cash equivalents (1,840) (4,913) 3,096  
Net (decrease) increase in cash and cash equivalents (75,769) 98,586 37,463  
Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Beginning Balance 250,118 151,532 114,069  
Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Ending Balance 174,349 250,118 151,532 $ 114,069
Supplemental Cash Flow Information        
Interest 4,656 2,930 3,408  
Income taxes $ 71,077 $ 62,073 $ 58,829