XML 64 R53.htm IDEA: XBRL DOCUMENT v3.10.0.1
Inventories (Details) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2018
Jul. 31, 2017
Oct. 31, 2017
Inventory Disclosure [Abstract]      
Raw materials $ 54,003   $ 52,898
Work-in-process 11,100   18,623
Finished goods 173,419   185,488
Deferred cost of goods sold 38,525   61,340
Inventories before provision 277,047   318,349
Provision for excess and obsolescence (49,162)   (51,206)
Total inventories 227,885   $ 267,143
Provisions $ 19,942 $ 28,727