STOCKHOLDERS' EQUITY STOCKHOLDERS' EQUITY - SCHEDULE OF ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (Details) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Activity in Accumulated Other Comprehensive Loss    
Accumulated other comprehensive income (loss) - beginning balance $ (103,460)  
Other comprehensive (loss) income before reclassifications (19,571)  
Gains reclassified out of accumulated other comprehensive income (loss) 390  
Net other comprehensive (loss) income, current period (19,961)  
Accumulated other comprehensive (loss) income - ending balance (123,421)  
Foreign Exchange Contract    
Activity in Accumulated Other Comprehensive Loss    
Gains reclassified out of accumulated other comprehensive income (loss) 390 $ 829
Unrealized gains (losses) on derivative financial instruments designated as hedges | Foreign Exchange Contract    
Activity in Accumulated Other Comprehensive Loss    
Accumulated other comprehensive income (loss) - beginning balance 3,312  
Other comprehensive (loss) income before reclassifications (6,114)  
Gains reclassified out of accumulated other comprehensive income (loss) 390  
Net other comprehensive (loss) income, current period (6,504)  
Accumulated other comprehensive (loss) income - ending balance (3,192)  
Unrealized gains (losses) on derivative financial instruments designated as hedges | Interest rate swap    
Activity in Accumulated Other Comprehensive Loss    
Accumulated other comprehensive income (loss) - beginning balance 0  
Other comprehensive (loss) income before reclassifications 220  
Gains reclassified out of accumulated other comprehensive income (loss) 0  
Net other comprehensive (loss) income, current period 220  
Accumulated other comprehensive (loss) income - ending balance 220  
Foreign currency translation adjustments    
Activity in Accumulated Other Comprehensive Loss    
Accumulated other comprehensive income (loss) - beginning balance (106,772)  
Other comprehensive (loss) income before reclassifications (13,677)  
Gains reclassified out of accumulated other comprehensive income (loss) 0  
Net other comprehensive (loss) income, current period (13,677)  
Accumulated other comprehensive (loss) income - ending balance $ (120,449)