XML 60 R49.htm IDEA: XBRL DOCUMENT v3.8.0.1
Inventories (Details) - USD ($)
$ in Thousands
6 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Oct. 31, 2017
Inventory Disclosure [Abstract]      
Raw materials $ 48,356   $ 52,898
Work-in-process 13,253   18,623
Finished goods 165,733   185,488
Deferred cost of goods sold 55,161   61,340
Inventories before provision 282,503   318,349
Provision for excess and obsolescence (51,165)   (51,206)
Total inventories 231,338   $ 267,143
Provisions $ 14,977 $ 19,623