XML 56 R45.htm IDEA: XBRL DOCUMENT v3.19.1
Significant Accounting Policies - Impact of Adopting ASC 606 on Condensed Consolidated Statement of Operations (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended
Jan. 31, 2019
Jan. 31, 2018
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]    
Total revenue $ 778,527 $ 646,135
Total cost of goods sold 455,186 374,370
Net income (loss) $ 33,616 $ (473,363)
Diluted net income (loss) per potential common share (in dollars per share) $ 0.21 $ (3.29)
Difference between Revenue Guidance in Effect before and after Topic 606 | Accounting Standards Update 2014-09    
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]    
Total revenue $ (10,900)  
Total cost of goods sold (9,129)  
Net income (loss) $ (399)  
Diluted net income (loss) per potential common share (in dollars per share) $ 0.00  
Calculated under Revenue Guidance in Effect before Topic 606    
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]    
Total revenue $ 767,627  
Total cost of goods sold 446,057  
Net income (loss) $ 33,217  
Diluted net income (loss) per potential common share (in dollars per share) $ 0.21