Fair value measurements - Schedule of Assets and Liabilities Measured at Fair Value on Recurring Basis (Additional Information) (Detail) $ in Thousands |
9 Months Ended |
|---|---|
|
Jul. 31, 2024
USD ($)
| |
| Fair Value Disclosures [Abstract] | |
| Notional Amounts of foreign currency derivative contracts | $ 840,271 |
| Executive officers and other highly compensated employees salary and annual cash incentive compensation deferrals percentage, maximum | 100.00% |
| Executive officers share-based long-term incentive compensation deferrals percentage, maximum | 90.00% |