XML 18 R8.htm IDEA: XBRL DOCUMENT v3.23.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Operating activities:    
Net income $ 125,479 $ 108,915
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 24,522 25,448
Stock-based compensation expense 6,427 9,153
Gain (Loss) on Disposition of Business (3,770) 0
Deferred income taxes (5,947) 2,858
Other (1,336) (1,080)
Changes in operating assets and liabilities:    
Accounts receivable 1,744 (26,438)
Inventories 9,279 (47,784)
Prepaid expenses and other assets (3,429) (932)
Accounts payable and accrued liabilities (19,704) (5,584)
Income taxes (3,404) 680
Net cash provided by operating activities 129,861 65,236
Investing activities:    
Purchases of property, plant and equipment (12,912) (22,130)
Proceeds from Divestiture of Businesses 8,000 0
Other 11 59
Net cash used in investing activities (4,901) (22,071)
Financing activities:    
Payment of dividends (34,202) (34,701)
Proceeds from exercise of stock options 4,091 663
Payments for employee taxes withheld from stock-based awards (1,965) (5,070)
Purchase of treasury stock (29,774) (84,930)
Proceeds from borrowing on credit agreement 102,916 155,216
Repayment of borrowing on credit agreement (147,067) (116,216)
Other 66 3,276
Net cash used in financing activities (105,935) (81,762)
Effect of exchange rate changes on cash and cash equivalents 1,953 (5,670)
Net increase (decrease) in cash and cash equivalents 20,978 (44,267)
Cash and cash equivalents, beginning of period 114,069 147,335
Cash and cash equivalents, end of period $ 135,047 $ 103,068