XML 42 R31.htm IDEA: XBRL DOCUMENT v3.21.1
DERIVATIVE INSTRUMENTS AND HEDGING ACTIVITIES - Fair value of derivative instruments (Details) - USD ($)
$ in Thousands
Apr. 30, 2021
Oct. 31, 2020
Derivatives, Fair Value [Line Items]    
Derivative assets $ 410 $ 968
Derivative liabilities 928 872
Foreign Exchange Forward | Designated as Hedging Instrument    
Derivatives, Fair Value [Line Items]    
Derivative assets 192 495
Derivative liabilities 576 279
Foreign Exchange Forward | Not Designated as Hedging Instrument    
Derivatives, Fair Value [Line Items]    
Derivative assets 218 473
Derivative liabilities $ 352 $ 593