XML 51 R37.htm IDEA: XBRL DOCUMENT v3.7.0.1
Basis of Presentation Statement of Operations (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Apr. 30, 2017
Apr. 30, 2016
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Cost of sales $ 239,815 $ 257,983 $ 463,953 $ 493,149
Gross profit 33,216 26,281 57,016 42,170
Selling, general and administrative expenses 21,695 16,992 41,883 34,336
Asset impairment, net 0 0 41 273
Operating income 10,957 8,724 13,963 6,432
Other Nonoperating Income (Expense) (205) 365 (495) (31)
Income before income taxes 6,552 4,573 4,458 (2,465)
Provision (benefit) for income taxes 2,323 364 2,247 (1,547)
Net loss $ 4,229 $ 4,209 $ 2,211 $ (918)
Basic income (loss) per share $ 0.24 $ 0.24 $ 0.12 $ (0.05)
Diluted income (loss) per share $ 0.24 $ 0.24 $ 0.12 $ (0.05)
Timing And Recognition Of Certain Transactions [Member]        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Cost of sales   $ 257,983    
Gross profit   26,281    
Operating income   8,724    
Other Nonoperating Income (Expense)   (365)    
Income before income taxes   4,573    
Provision (benefit) for income taxes   364    
Net loss   $ 4,209   $ (918)
Basic income (loss) per share   $ 0.24    
Diluted income (loss) per share   $ 0.24    
Timing And Recognition Of Certain Transactions [Member] | Scenario, Previously Reported [Member]        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Cost of sales   $ 259,039   494,113
Gross profit   25,225   41,206
Selling, general and administrative expenses       34,576
Asset impairment, net       0
Operating income   7,668   5,501
Other Nonoperating Income (Expense)   83   479
Income before income taxes   3,069   (3,844)
Provision (benefit) for income taxes   12   (1,842)
Net loss   $ 3,057   $ (2,002)
Basic income (loss) per share   $ 0.17   $ (0.11)
Diluted income (loss) per share   $ 0.17   $ (0.11)
Timing And Recognition Of Certain Transactions [Member] | Restatement Adjustment [Member]        
Error Corrections and Prior Period Adjustments Restatement [Line Items]        
Cost of sales   $ (1,056)   $ (964)
Gross profit   1,056   964
Selling, general and administrative expenses       (240)
Asset impairment, net       273
Operating income   1,056   931
Other Nonoperating Income (Expense)   (448)   (448)
Income before income taxes   1,504   1,379
Provision (benefit) for income taxes   352   295
Net loss   $ 1,152   $ 1,084
Basic income (loss) per share   $ 0.07   $ 0.06
Diluted income (loss) per share   $ 0.07   $ 0.06