XML 49 R38.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Significant accounting policies (Details 1) - USD ($) $ in Thousands | 9 Months Ended
--- | ---
Jul. 31, 2018 | Jul. 31, 2017
Error Corrections and Prior Period Adjustments Restatement [Line Items] |  |
Proceeds from Sale and Maturity of Available-for-sale Securities |  | $ 18,049
Restatement Adjustment [Member] |  |
Error Corrections and Prior Period Adjustments Restatement [Line Items] |  |
Proceeds from Sale and Maturity of Available-for-sale Securities | $ 18,049 |

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The cash inflow associated with the sale or maturity (principal being due) of securities not classified as either held-to-maturity securities or trading securities which are classified as available-for-sale securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a),(b) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3179-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=82896770&loc=d3e26853-111562 + Details
Name: | us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementScenarioAxis=us-gaap_RestatementAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |