| **Goodwill and Intangible Assets - Summary of Intangible Assets Subject to Amortization (Detail) - USD ($) $ in Thousands** | Oct. 31, 2020 | Oct. 31, 2019 |
|-----------------------------------------------------------------------------------------------------------------------------|---------------|---------------|
| **Finite-Lived Intangible Assets [Line Items]**                                                                             |          |          |
| Carrying Amount                                                                                                             | $ 722,674     | $ 744,337     |
| Accumulated Amortization                                                                                                    | 315,088       | 298,762       |
| Net Book Value                                                                                                              | 407,586       | 445,575       |
| Customer Relationships                                                                                                      |          |          |
| **Finite-Lived Intangible Assets [Line Items]**                                                                             |          |          |
| Carrying Amount                                                                                                             | 483,568       | 480,007       |
| Accumulated Amortization                                                                                                    | 193,617       | 173,996       |
| Net Book Value                                                                                                              | 289,951       | 306,011       |
| Patent/Technology Costs                                                                                                     |          |          |
| **Finite-Lived Intangible Assets [Line Items]**                                                                             |          |          |
| Carrying Amount                                                                                                             | 153,555       | 154,735       |
| Accumulated Amortization                                                                                                    | 76,934        | 71,663        |
| Net Book Value                                                                                                              | 76,621        | 83,072        |
| Trade Names                                                                                                                 |          |          |
| **Finite-Lived Intangible Assets [Line Items]**                                                                             |          |          |
| Carrying Amount                                                                                                             | 74,240        | 96,655        |
| Accumulated Amortization                                                                                                    | 34,693        | 41,303        |
| Net Book Value                                                                                                              | 39,547        | 55,352        |
| Non-compete Agreements                                                                                                      |          |          |
| **Finite-Lived Intangible Assets [Line Items]**                                                                             |          |          |
| Carrying Amount                                                                                                             | 9,908         | 11,540        |
| Accumulated Amortization                                                                                                    | 8,444         | 10,406        |
| Net Book Value                                                                                                              | 1,464         | 1,134         |
| Other                                                                                                                       |          |          |
| **Finite-Lived Intangible Assets [Line Items]**                                                                             |          |          |
| Carrying Amount                                                                                                             | 1,403         | 1,400         |
| Accumulated Amortization                                                                                                    | 1,400         | 1,394         |
| Net Book Value                                                                                                              | $ 3           | $ 6           |

| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.
+ References
Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275
+ Details**Name:**us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.
+ References
Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 928 -SubTopic 340 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275
+ Details**Name:**us-gaap_FiniteLivedIntangibleAssetsGross**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**instant |
| 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_FiniteLivedIntangibleAssetsLineItems**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.
+ References
Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 926 -SubTopic 20 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275
+ Details**Name:**us-gaap_FiniteLivedIntangibleAssetsNet**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**instant |
| X                                                                                                                                                                               |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerRelationshipsMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                            |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_PatentedTechnologyMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                    |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_TradeNamesMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                              |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_NoncompeteAgreementsMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                               |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_OtherIntangibleAssetsMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |