XML 22 R23.htm IDEA: XBRL DOCUMENT v3.19.2
REVENUE - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Jul. 31, 2019
Jul. 31, 2018
Revenue from External Customer [Line Items]        
Net sales increase (decrease) $ 945,152 $ 852,434 $ 2,533,769 $ 2,437,856
Cost of sales (824,144) (781,568) (2,273,377) (2,187,079)
Selling, general and administrative 52,226 55,778 159,991 163,390
ASC 606        
Revenue from External Customer [Line Items]        
Net sales increase (decrease)   (2,900)   (8,100)
Selling, general and administrative 2,900   8,100  
ASC 606 | Other        
Revenue from External Customer [Line Items]        
Net sales increase (decrease) $ 5,900   $ 19,200  
Cost of sales   $ 6,100   $ 14,600