XML 66 R54.htm IDEA: XBRL DOCUMENT v3.7.0.1
INVENTORIES (Details) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2017
Jul. 31, 2016
Oct. 31, 2016
Inventories      
Raw materials $ 46,857   $ 44,644
Work-in-process 16,172   12,852
Finished goods 179,394   156,402
Deferred cost of goods sold 90,157   59,856
Inventories before provision 332,580   273,754
Provision for excess and obsolescence (56,159)   (62,503)
Total inventories 276,421   $ 211,251
Provisions $ 28,727 $ 26,663