DISCONTINUED OPERATIONS (Details)
$ in Thousands
3 Months Ended
Jan. 31, 2017
USD ($)
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]  
Cash Received $ 1,852
Cash paid to Series F Convertible Preferred shareholders (1,000)
Net cash received 852
Fixed Assets (499)
Inventory (386)
Other Comprehensive Income (110)
Expenses incurred (79)
Deferred Revenue 1,795
Other Assets and Liabilities 198
Net gain on sale of discontinued operations $ 1,771