INVENTORIES (Details) - USD ($) $ in Thousands |
6 Months Ended | ||
|---|---|---|---|
Apr. 30, 2017 |
Apr. 30, 2016 |
Oct. 31, 2016 |
|
| Inventories | |||
| Raw materials | $ 43,905 | $ 44,644 | |
| Work-in-process | 12,859 | 12,852 | |
| Finished goods | 204,376 | 156,402 | |
| Deferred cost of goods sold | 85,164 | 59,856 | |
| Inventories before provision | 346,304 | 273,754 | |
| Provision for excess and obsolescence | (59,231) | (62,503) | |
| Total inventories | 287,073 | $ 211,251 | |
| Provisions | $ 19,623 | $ 20,104 | |