XML 19 R8.htm IDEA: XBRL DOCUMENT v3.24.3
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2024
Oct. 31, 2023
Operating activities:    
Net income $ 46,783 $ 47,241
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 10,164 7,466
Stock-based compensation expense 5,813 4,163
Deferred income taxes (903) (2,225)
Other (880) 1,137
Changes in operating assets and liabilities:    
Accounts receivable (4,385) (2,205)
Inventories (2,107) 6,152
Prepaid expenses and other assets (1,136) (1,488)
Accounts payable and accrued liabilities (33,960) (3,725)
Income taxes 4,017 5,757
Net cash provided by operating activities 23,406 62,273
Investing activities:    
Purchases of property, plant and equipment (7,286) (11,279)
Payments to Acquire Businesses, Net of Cash Acquired (140,625) 0
Payments for (Proceeds from) Other Investing Activities 10 0
Net cash used in investing activities (147,901) (11,279)
Financing activities:    
Payment of dividends (11,402) (11,338)
Proceeds from exercise of stock options 5,855 2,598
Payments for employee taxes withheld from stock-based awards (2,090) (2,333)
Purchase of treasury stock 0 (14,121)
Proceeds from borrowing on credit agreement 135,149 38,551
Repayment of borrowing on credit agreement (109,439) (36,000)
Other 190 1,149
Net cash provided by (used in) financing activities 18,263 (21,494)
Effect of exchange rate changes on cash and cash equivalents 1,775 (5,680)
Net (decrease) increase in cash and cash equivalents (104,457) 23,820
Cash and cash equivalents, beginning of period 250,118 151,532
Cash and cash equivalents, end of period $ 145,661 $ 175,352