CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($) $ in Thousands |
3 Months Ended |
Jan. 31, 2017 |
Jan. 31, 2016 |
| Cash flows from operating activities |
|
|
| Consolidated net income (loss) |
$ (17,724)
|
$ 23,733
|
| Adjustments to reconcile consolidated net income (loss) to net cash provided by operating activities: |
|
|
| Depreciation and amortization |
40,879
|
40,463
|
| Stock-based compensation expense |
9,553
|
10,460
|
| Deferred income taxes, net |
995
|
(2,775)
|
| Other |
(5,768)
|
(3,547)
|
| Net cash provided by operating activities before changes in operating assets and liabilities |
39,471
|
75,428
|
| Changes in operating assets and liabilities: |
|
|
| Accounts receivable, net |
(516)
|
10,491
|
| Inventories |
19,374
|
(8,254)
|
| Prepaid expenses and other assets |
3,698
|
(8,721)
|
| Accounts payable |
(20,229)
|
(4,239)
|
| Deferred revenue, net |
6,894
|
15,138
|
| Other current and long-term liabilities |
(4,038)
|
(13,385)
|
| Net change in operating assets and liabilities |
5,183
|
(8,970)
|
| Net cash provided by operating activities |
44,654
|
66,458
|
| Cash flows from investing activities |
|
|
| Capital expenditures |
(19,482)
|
(30,605)
|
| Acquisition of businesses, net of cash and cash equivalents acquired |
0
|
(88,739)
|
| Other investing activities, net |
1,129
|
(222)
|
| Net cash used in investing activities |
(18,353)
|
(119,566)
|
| Net Cash Provided by (Used in) Financing Activities [Abstract] |
|
|
| Proceeds from debt, net of issuance costs |
60,000
|
222,378
|
| Repayments of debt |
86,088
|
93,011
|
| Proceeds from issuance of common stock through employee equity incentive plans |
636
|
998
|
| Stock repurchases |
0
|
79,866
|
| Other financing activities, net |
(1,494)
|
(289)
|
| Net Cash Provided by (Used in) Financing Activities |
(26,946)
|
50,210
|
| Effect of foreign currency exchange rate changes on cash, cash equivalents and restricted cash |
(485)
|
(7,121)
|
| Net decrease in cash, cash equivalents and restricted cash |
(1,130)
|
(10,019)
|
| cash, cash equivalents and restricted cash |
$ 158,051
|
$ 205,850
|