XML 27 R9.htm IDEA: XBRL DOCUMENT v3.23.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2021
Operating activities:      
Net income $ 174,857 $ 149,979 $ 129,659
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 32,370 34,182 25,483
Stock-based compensation expense 7,508 10,504 10,098
Gain on sale of business (3,770) 0 0
Deferred income taxes (12,472) (1,645) (8,965)
Equity in losses of unconsolidated affiliate 0 0 5,754
Other (308) 1,197 (831)
Changes in operating assets and liabilities (net of effects of business acquisitions):      
Accounts receivable 2,380 (25,330) (12,614)
Inventories 14,972 (62,907) 7,298
Prepaid expenses and other assets (1,023) 807 (4,498)
Accounts payable and accrued liabilities (9,459) 6,826 58,283
Income taxes 4,094 4,836 (4,002)
Net cash provided by operating activities 209,149 118,449 205,665
Investing activities:      
Purchases of property, plant and equipment (19,226) (43,138) (27,189)
Sale of business 8,000 0 0
Acquisition of businesses, net of cash acquired 0 0 (243,983)
Other 12 67 2,580
Net cash used in investing activities (11,214) (43,071) (268,592)
Financing activities:      
Payment of dividends (45,404) (45,931) (45,746)
Proceeds from exercise of stock options 4,091 1,082 1,765
Payments for employee taxes withheld from stock-based awards (2,041) (5,127) (2,783)
Purchase of treasury stock (74,996) (109,229) (3,593)
Proceeds from borrowing on credit facilities 127,660 243,716 101,957
Repayments of Lines of Credit 172,944 186,716 63,957
Other 66 116 33
Net cash used in financing activities (163,568) (102,089) (12,324)
Effect of exchange rate changes on cash and cash equivalents 3,096 (6,555) 4,943
Net increase (decrease) in cash and cash equivalents 37,463 (33,266) (70,308)
Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Beginning Balance 114,069 147,335 217,643
Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Ending Balance 151,532 114,069 147,335
Supplemental Cash Flow Information      
Interest 3,408 1,082 373
Income taxes $ 58,829 $ 33,834 $ 46,852