XML 51 R63.htm IDEA: XBRL DOCUMENT v3.19.2
Inventories (Details) - USD ($)
$ in Thousands
9 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Nov. 01, 2018
Oct. 31, 2018
Inventory Disclosure [Abstract]        
Raw materials $ 102,240     $ 67,468
Work-in-process 15,456     9,589
Finished goods 193,487     188,575
Deferred cost of goods sold 93,448     48,057
Inventories before provision 404,631     313,689
Provision for excess and obsolescence (47,813)     (50,938)
Total inventories 356,818   $ 260,265 $ 262,751
Provisions $ 18,833 $ 19,942