XML 60 R45.htm IDEA: XBRL DOCUMENT v3.19.2
Significant Accounting Policies - Impact of Adopting ASC 606 on Condensed Consolidated Statement of Operations (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Apr. 30, 2019
Apr. 30, 2018
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]        
Total revenue $ 865,011 $ 729,978 $ 1,643,538 $ 1,376,113
Total cost of goods sold 490,334 436,671 945,520 811,041
Net income (loss) $ 52,738 $ 13,856 $ 86,354 $ (459,507)
Diluted net income (loss) per potential common share (in dollars per share) $ 0.33 $ 0.09 $ 0.55 $ (3.19)
Adjustments | Accounting Standards Update 2014-09        
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]        
Total revenue $ (14,219)   $ (25,119)  
Total cost of goods sold (13,436)   (22,565)  
Net income (loss) $ (467)   $ (862)  
Diluted net income (loss) per potential common share (in dollars per share) $ 0   $ (0.01)  
Balances without adoption of ASC 606        
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]        
Total revenue $ 850,792   $ 1,618,419  
Total cost of goods sold 476,898   922,955  
Net income (loss) $ 52,271   $ 85,492  
Diluted net income (loss) per potential common share (in dollars per share) $ 0.33   $ 0.54