CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($) $ in Thousands |
9 Months Ended |
Apr. 30, 2020 |
Apr. 30, 2019 |
| Net Income (Loss), Including Portion Attributable to Noncontrolling Interest [Abstract] |
|
|
| Net income |
$ 84,684
|
$ 94,645
|
| Adjustments to reconcile net income to net cash provided by operating activities: |
|
|
| Depreciation and amortization |
17,731
|
17,836
|
| Stock-based compensation expense |
7,180
|
10,311
|
| Deferred income taxes |
(309)
|
3,796
|
| Asset Impairment Charges |
13,821
|
0
|
| Other |
1,698
|
1,372
|
| Changes in operating assets and liabilities (net of effects of business acquisitions/divestitures): |
|
|
| Accounts receivable |
9,019
|
332
|
| Inventories |
(7,439)
|
(9,254)
|
| Prepaid expenses and other assets |
(5,653)
|
(2,204)
|
| Accounts payable and accrued liabilities |
(26,609)
|
(20,548)
|
| Income taxes |
1,790
|
616
|
| Adjustments, Noncash Items, to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract] |
|
|
| Net cash provided by operating activities |
95,913
|
96,902
|
| Investing activities: |
|
|
| Purchases of property, plant and equipment |
(21,616)
|
(17,528)
|
| Other |
(4,419)
|
(1,810)
|
| Net cash used in investing activities |
(26,035)
|
(19,338)
|
| Financing activities: |
|
|
| Payments of dividends |
(34,447)
|
(33,488)
|
| Purchase of treasury stock |
(64,113)
|
(3,182)
|
| Proceeds from exercise of stock options |
5,212
|
22,468
|
| Payments for employee taxes withheld form stock-based awards |
(7,832)
|
(4,348)
|
| Proceeds from borrowing on credit facilities |
0
|
13,637
|
| Repayment of borrowing on credit facilities |
0
|
(13,568)
|
| Other |
133
|
210
|
| Net cash used in financing activities |
(101,047)
|
(18,271)
|
| Effect of exchange rate changes on cash |
(9,023)
|
(2,288)
|
| Net (decrease) increase in cash and cash equivalents |
(40,192)
|
57,005
|
| Cash and cash equivalents, beginning of period |
279,072
|
181,427
|
| Cash and cash equivalents, end of period |
$ 238,880
|
$ 238,432
|