XML 18 R7.htm IDEA: XBRL DOCUMENT v3.22.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Operating activities:    
Net income $ 108,915 $ 101,632
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 25,448 17,240
Stock-based compensation expense 9,153 8,003
Deferred income taxes 2,858 (3,957)
Equity in losses of unconsolidated affiliate 0 760
Other (1,080) (1,186)
Changes in operating assets and liabilities:    
Accounts receivable (26,438) (13,247)
Inventories (47,784) 15,210
Prepaid expenses and other assets (932) (2,584)
Accounts payable and accrued liabilities (5,584) 39,244
Income taxes 680 (6,207)
Net cash provided by operating activities 65,236 154,908
Investing activities:    
Purchases of property, plant and equipment (22,130) (21,411)
Other 59 2,567
Net cash used in investing activities (22,071) (18,844)
Financing activities:    
Payment of dividends (34,701) (34,290)
Proceeds from exercise of stock options 663 1,612
Payments for employee taxes withheld from stock-based awards (5,070) (2,772)
Purchase of treasury stock (84,930) (3,593)
Proceeds from borrowing on credit facilities 155,216 19,957
Repayment of borrowing on credit facilities (116,216) (20,220)
Other 3,276 32
Net cash used in financing activities (81,762) (39,274)
Effect of exchange rate changes on cash (5,670) 7,368
Net (decrease) increase in cash and cash equivalents (44,267) 104,158
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents 103,068 $ 321,801
Cash and cash equivalents, beginning of period 147,335  
Cash and cash equivalents, end of period $ 103,068