XML 87 R47.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 9 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Jul. 31, 2019
Jul. 31, 2018
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]        
Total revenue $ 960,606 $ 818,817 $ 2,604,144 $ 2,194,930
Total cost of goods sold 536,254 467,274 1,481,774 1,278,315
Net income (loss) $ 86,749 $ 50,840 $ 173,103 $ (408,667)
Diluted net income (loss) per potential common share (in dollars per share) $ 0.55 $ 0.34 $ 1.10 $ (2.84)
Adjustments | Accounting Standards Update 2014-09        
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]        
Total revenue $ (2,413)   $ (27,533)  
Total cost of goods sold 1,789   (20,776)  
Net income (loss) $ (3,879)   $ (4,781)  
Diluted net income (loss) per potential common share (in dollars per share) $ (0.02)   $ (0.03)  
Balances without adoption of ASC 606        
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]        
Total revenue $ 958,193   $ 2,576,611  
Total cost of goods sold 538,043   1,460,998  
Net income (loss) $ 82,870   $ 168,322  
Diluted net income (loss) per potential common share (in dollars per share) $ 0.53   $ 1.07