XML 80 R69.htm IDEA: XBRL DOCUMENT v3.21.2
Derivative Financial Instruments - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Jul. 31, 2021
Jul. 31, 2020
Derivative Instruments and Hedging Activities Disclosure [Abstract]        
Maturity of foreign currency forward contracts     90 days  
Gains (losses) on foreign currency forward contracts $ (1,714) $ 17,255 $ (505) $ 13,096
Change in unrealized gain (loss) on foreign currency derivative instruments $ 1,202 $ (20,809) $ (3,544) $ (13,658)