XML 18 R8.htm IDEA: XBRL DOCUMENT v3.22.4
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jan. 31, 2023
Jan. 31, 2022
Operating activities:    
Net income $ 77,427 $ 68,861
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 17,117 16,996
Stock-based compensation expense 4,381 7,170
Deferred income taxes (5,234) (788)
Other (908) (812)
Changes in operating assets and liabilities:    
Accounts receivable 280 (7,216)
Inventories (1,287) (34,360)
Prepaid expenses and other assets (3,502) (1,148)
Accounts payable and accrued liabilities (29,156) (25,357)
Income taxes (1,734) 982
Net cash provided by operating activities 57,384 24,328
Investing activities:    
Purchases of property, plant and equipment (8,167) (16,440)
Other 11 59
Net cash used in investing activities (8,156) (16,381)
Financing activities:    
Payment of dividends (22,793) (23,249)
Proceeds from exercise of stock options 2,688 374
Payments for employee taxes withheld from stock-based awards (1,509) (5,025)
Purchase of treasury stock (17,861) (21,720)
Proceeds from borrowing on credit agreement 71,036 131,216
Repayment of borrowing on credit agreement (88,755) (86,216)
Other 66 115
Net cash used in financing activities (57,128) (4,505)
Effect of exchange rate changes on cash and cash equivalents 2,041 (3,370)
Net (decrease) increase in cash and cash equivalents (5,859) 72
Cash and cash equivalents, beginning of period 114,069 147,335
Cash and cash equivalents, end of period $ 108,210 $ 147,407