CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($) $ in Thousands |
6 Months Ended |
Apr. 30, 2017 |
Apr. 30, 2016 |
| Cash flows provided by operating activities: |
|
|
| Net income |
$ 41,887
|
$ 2,451
|
| Adjustments to reconcile net income to net cash provided by (used in) operating activities: |
|
|
| Depreciation of equipment, building, furniture and fixtures, and amortization of leasehold improvements |
35,548
|
30,237
|
| Share-based compensation costs |
24,830
|
29,210
|
| Amortization of intangible assets |
33,466
|
40,488
|
| Provision for inventory excess and obsolescence |
19,623
|
20,104
|
| Provision for warranty |
2,347
|
9,563
|
| Other |
10,416
|
8,578
|
| Changes in assets and liabilities: |
|
|
| Accounts receivable |
9,381
|
(4,865)
|
| Inventories |
(95,554)
|
(19,022)
|
| Prepaid expenses and other |
(15,054)
|
(7,670)
|
| Accounts payable, accruals and other obligations |
(24,974)
|
(29,400)
|
| Deferred revenue |
3,832
|
(3,992)
|
| Net cash provided by operating activities |
45,748
|
75,682
|
| Cash flows used in investing activities: |
|
|
| Payments for equipment, furniture, fixtures and intellectual property |
(60,328)
|
(53,050)
|
| Purchase of available for sale securities |
(179,833)
|
(199,994)
|
| Proceeds from maturities of available for sale securities |
180,000
|
110,000
|
| Settlement of foreign currency forward contracts, net |
(2,965)
|
(4,834)
|
| Acquisition of business, net of cash acquired |
0
|
(32,000)
|
| Net cash used in investing activities |
(63,126)
|
(179,878)
|
| Cash flows provided by (used in) financing activities: |
|
|
| Proceeds from issuance of term loan, net |
0
|
248,750
|
| Payment of long-term debt |
(47,296)
|
(15,264)
|
| Payment for modification of term loans |
(93,625)
|
0
|
| Payment of debt issuance costs |
0
|
(3,778)
|
| Payment of capital lease obligations |
(1,528)
|
(3,769)
|
| Proceeds from issuance of common stock |
10,345
|
9,968
|
| Net cash provided by (used in) financing activities |
(132,104)
|
235,907
|
| Effect of exchange rate changes on cash and cash equivalents |
490
|
(649)
|
| Net increase (decrease) in cash and cash equivalents |
(148,992)
|
131,062
|
| Cash and cash equivalents at beginning of period |
777,615
|
790,971
|
| Cash and cash equivalents at end of period |
628,623
|
922,033
|
| Supplemental disclosure of cash flow information |
|
|
| Cash paid during the period for interest |
23,439
|
20,432
|
| Cash paid during the period for income taxes, net |
11,379
|
6,991
|
| Non-cash investing activities |
|
|
| Purchase of equipment in accounts payable |
3,818
|
11,437
|
| Construction in progress subject to build-to-suit lease |
0
|
21,606
|
| Equipment |
|
|
| Non-cash investing activities |
|
|
| Equipment acquired under and building subject to capital lease |
0
|
3,012
|
| Building |
|
|
| Non-cash investing activities |
|
|
| Equipment acquired under and building subject to capital lease |
$ 20,695
|
$ 8,993
|