Financial Assets and Liabilities - Unaudited Condensed Consolidated Statement of Operations Location and Amount of Gains and Losses on Derivative Instrument Fair Values for Designated Hedge Instruments, Net of Tax (Detail) - USD ($) $ in Thousands |
3 Months Ended |
9 Months Ended |
Jul. 31, 2020 |
Jul. 31, 2019 |
Jul. 31, 2020 |
Jul. 31, 2019 |
| Financial Assets and Liabilities [Line Items] |
|
|
|
|
| Amount of gain (loss) recognized in OCI on derivatives (effective portion) |
$ 12,399
|
$ (1,070)
|
$ 3,965
|
$ 4,844
|
| Amount of gain (loss) reclassified from OCI (effective portion) |
(709)
|
(3,260)
|
(1,563)
|
(11,747)
|
| Foreign Exchange Contracts | Revenues |
|
|
|
|
| Financial Assets and Liabilities [Line Items] |
|
|
|
|
| Amount of gain (loss) recognized in OCI on derivatives (effective portion) |
626
|
(994)
|
2,836
|
(253)
|
| Amount of gain (loss) reclassified from OCI (effective portion) |
466
|
685
|
648
|
1,048
|
| Foreign Exchange Contracts | Operating expenses |
|
|
|
|
| Financial Assets and Liabilities [Line Items] |
|
|
|
|
| Amount of gain (loss) recognized in OCI on derivatives (effective portion) |
11,773
|
(76)
|
1,129
|
5,097
|
| Amount of gain (loss) reclassified from OCI (effective portion) |
$ (1,175)
|
$ (3,945)
|
$ (2,211)
|
$ (12,795)
|