XML 51 R39.htm IDEA: XBRL DOCUMENT
v3.21.4

Leases (Tables) | 12 Months Ended
--- | ---
Oct. 31, 2021
Leases |
Schedule of lease-related assets and liabilities and cost | The following table presents the lease-related assets and liabilities recorded on the balance sheet as of October 31, 2021 and 2020 (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | October 31, |  | October 31,
​ | ​ | ​ | 2021 |  | 2020
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Assets |  |  | ​ |  | ​ | ​ |
Non-current assets: |  |  | ​ |  | ​ | ​ |
Operating lease assets | Operating lease right-of-use assets | ​ | $ | 59,842 | ​ | $ | 60,262
Finance lease assets | Property, plant and equipment, net | ​ |  | 6,907 | ​ |  | 6,830
​ | ​ | ​ | $ | 66,749 | ​ | $ | 67,092
Liabilities |  | ​ |  |  | ​ |  |
Current liabilities: |  | ​ |  |  | ​ |  |
Operating | Current portion of operating leases | ​ | $ | 6,817 | ​ | $ | 6,443
Finance | Current portion of long-term obligations and finance leases | ​ |  | 1,587 | ​ |  | 1,343
Long-term obligations |  | ​ |  |  | ​ |  |
Operating | Long-term operating leases, less current portion | ​ |  | 57,561 | ​ |  | 58,273
Finance | Long-term obligations and finance leases, less current portion | ​ |  | 5,553 | ​ |  | 5,716
​ | ​ | ​ | $ | 71,518 | ​ | $ | 71,775
​
​ | ​ | ​ | ​ | ​ | ​ | ​
Weighted-average remaining lease term: |  | Fiscal 2021 | ​ | Fiscal 2020
Operating leases |  | 10.1 years | ​ | ​ | 10.0 years | ​
Finance leases |  | 7.1 years | ​ | ​ | 7.9 years | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
Weighted-average discount rate: |  |  | ​ | ​ |  | ​
Operating leases |  | 2.80 | % | ​ | 2.83 | %
Finance leases |  | 3.20 | % | ​ | 3.28 | %
​ Lease Costs ​ The following table presents certain information related to the lease costs for finance and operating leases for the year ended October 31, 2021 and 2020 (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Year ended | ​ | Year ended
​ |  | October 31, 2021 | ​ | October 31, 2020
Amortization of financing lease assets |  | $ | 1,799 | ​ | $ | 1,043
Operating lease cost | ​ | ​ | 9,152 | ​ | ​ | 8,271
Short-term lease cost | ​ | ​ | 2,981 | ​ | ​ | 996
Sublease income | ​ | ​ | (704) | ​ | ​ | —
Variable lease cost | ​ | ​ | 275 | ​ | ​ | 2,865
Interest on financing lease liabilities | ​ | ​ | 235 | ​ | ​ | 235
Total lease cost | ​ | $ | 13,738 | ​ | $ | 13,410
​ Other Information ​ The following table presents supplemental cash flow information related to the leases for the year ended October 31, 2021 and 2020 (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Year ended | ​ | Year ended
Cash paid for amounts included in the measurement of lease liabilities |  | October 31, 2021 | ​ | October 31, 2020
Operating cash flows for operating leases |  | $ | 7,200 | ​ | $ | 7,689
Financing cash flows for finance leases | ​ | ​ | 1,672 | ​ | ​ | 1,115
Operating cash flows for finance leases | ​ | ​ | 235 | ​ | ​ | 235
​
Schedule of undiscounted cash flows of operating lease | The following table reconciles the undiscounted cash flows for each of the first five years and total remaining years to the finance lease liabilities and operating lease liabilities recorded on the balance sheet as of October 31, 2021 (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Operating |  | Finance
​ |  | Leases |  | Leases
2022 |  | $ | 8,514 |  | $ | 1,838
2023 | ​ | ​ | 8,271 | ​ | ​ | 1,684
2024 | ​ | ​ | 7,782 | ​ | ​ | 1,099
2025 | ​ | ​ | 6,878 | ​ | ​ | 623
2026 | ​ | ​ | 6,586 | ​ | ​ | 409
Thereafter | ​ | ​ | 36,319 | ​ | ​ | 2,467
Total lease payments | ​ | ​ | 74,350 | ​ | ​ | 8,120
Less: imputed interest | ​ | ​ | 9,972 | ​ | ​ | 980
Total lease liability |  | $ | 64,378 |  | $ | 7,140
Schedule of undiscounted cash flows of finance lease | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Operating |  | Finance
​ |  | Leases |  | Leases
2022 |  | $ | 8,514 |  | $ | 1,838
2023 | ​ | ​ | 8,271 | ​ | ​ | 1,684
2024 | ​ | ​ | 7,782 | ​ | ​ | 1,099
2025 | ​ | ​ | 6,878 | ​ | ​ | 623
2026 | ​ | ​ | 6,586 | ​ | ​ | 409
Thereafter | ​ | ​ | 36,319 | ​ | ​ | 2,467
Total lease payments | ​ | ​ | 74,350 | ​ | ​ | 8,120
Less: imputed interest | ​ | ​ | 9,972 | ​ | ​ | 980
Total lease liability |  | $ | 64,378 |  | $ | 7,140

X
- Definition Tabular disclosure of undiscounted cash flows of finance lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to finance lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=121609121&loc=SL77918701-209980 + Details
Name: | us-gaap_FinanceLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=121609121&loc=SL77918686-209980 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_LeasesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=121609121&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration