XML 44 R32.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Leases (Tables) | 12 Months Ended
--- | ---
Oct. 31, 2023
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, 2023 and 2022 (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | October 31, |  | October 31,
​ | ​ | ​ | 2023 |  | 2022
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Assets |  |  | ​ |  | ​ | ​ |
Non-current assets: |  |  | ​ |  | ​ | ​ |
Operating lease assets | Operating lease right-of-use assets | ​ | $ | 48,033 | ​ | $ | 54,518
Finance lease assets | Property, plant and equipment, net | ​ |  | 6,777 | ​ |  | 5,721
​ | ​ | ​ | $ | 54,810 | ​ | $ | 60,239
Liabilities |  | ​ |  |  | ​ |  |
Current liabilities: |  | ​ |  |  | ​ |  |
Operating | Current portion of operating leases | ​ | $ | 7,062 | ​ | $ | 6,925
Finance | Current portion of long-term obligations and finance leases | ​ |  | 1,604 | ​ |  | 1,574
Long-term obligations |  | ​ |  |  | ​ |  |
Operating | Long-term operating leases, less current portion | ​ |  | 45,393 | ​ |  | 52,140
Finance | Long-term obligations and finance leases, less current portion | ​ |  | 5,647 | ​ |  | 4,447
​ | ​ | ​ | $ | 59,706 | ​ | $ | 65,086
​
​ | ​ | ​ | ​ | ​ | ​ | ​
Weighted-average remaining lease term: |  | Fiscal 2023 | ​ | Fiscal 2022
Operating leases |  | 8.2 years | ​ | ​ | 9.3 years | ​
Finance leases |  | 6.5 years | ​ | ​ | 6.9 years | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
Weighted-average discount rate: |  |  | ​ | ​ |  | ​
Operating leases |  | 3.10 | % | ​ | 2.87 | %
Finance leases |  | 4.83 | % | ​ | 3.62 | %
​ Lease Costs ​ The following table presents certain information related to the lease costs for finance and operating leases for the years ended October 31, 2023 and 2022 (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Year ended | ​ | Year ended
​ |  | October 31, 2023 | ​ | October 31, 2022
Amortization of financing lease assets (recorded in cost of sales) |  | $ | 1,913 | ​ | $ | 1,756
Operating lease cost | ​ | ​ | 8,511 | ​ | ​ | 8,733
Short-term lease cost | ​ | ​ | 2,476 | ​ | ​ | 2,483
Sublease income | ​ | ​ | — | ​ | ​ | (30)
Variable lease cost | ​ | ​ | 198 | ​ | ​ | 133
Interest on financing lease liabilities | ​ | ​ | 273 | ​ | ​ | 213
Total lease cost | ​ | $ | 13,371 | ​ | $ | 13,288
​ Other Information ​ The following table presents supplemental cash flow information related to the leases for the years ended October 31, 2023 and 2022 (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Year ended | ​ | Year ended
Cash paid for amounts included in the measurement of lease liabilities |  | October 31, 2023 | ​ | October 31, 2022
Operating cash flows for operating leases |  | $ | 7,043 | ​ | $ | 7,012
Financing cash flows for finance leases | ​ | ​ | 1,793 | ​ | ​ | 1,683
Operating cash flows for finance leases | ​ | ​ | 262 | ​ | ​ | 213
​
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, 2023 (in thousands): ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Operating |  | Finance
​ |  | Leases |  | Leases
2024 |  | $ | 8,556 |  | $ | 1,909
2025 | ​ | ​ | 7,539 | ​ | ​ | 1,415
2026 | ​ | ​ | 7,058 | ​ | ​ | 1,137
2027 | ​ | ​ | 6,670 | ​ | ​ | 997
2028 | ​ | ​ | 6,501 | ​ | ​ | 748
Thereafter | ​ | ​ | 23,204 | ​ | ​ | 2,235
Total lease payments | ​ | ​ | 59,528 | ​ | ​ | 8,441
Less: imputed interest | ​ | ​ | 7,073 | ​ | ​ | 1,190
Total lease liability |  | $ | 52,455 |  | $ | 7,251
​
Schedule of undiscounted cash flows of finance lease | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Operating |  | Finance
​ |  | Leases |  | Leases
2024 |  | $ | 8,556 |  | $ | 1,909
2025 | ​ | ​ | 7,539 | ​ | ​ | 1,415
2026 | ​ | ​ | 7,058 | ​ | ​ | 1,137
2027 | ​ | ​ | 6,670 | ​ | ​ | 997
2028 | ​ | ​ | 6,501 | ​ | ​ | 748
Thereafter | ​ | ​ | 23,204 | ​ | ​ | 2,235
Total lease payments | ​ | ​ | 59,528 | ​ | ​ | 8,441
Less: imputed interest | ​ | ​ | 7,073 | ​ | ​ | 1,190
Total lease liability |  | $ | 52,455 |  | $ | 7,251
​

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 -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-6 + Details
Name: | us-gaap_FinanceLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types: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 -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-4 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types: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 -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-6 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration