DERIVATIVE FINANCIAL INSTRUMENTS - Schedule of the Effects of Derivative Financial Instruments Designated as Cash Flow Hedging Instruments (Details) - Foreign currency forward contracts - Cash flow hedging - Designated as cash flow hedges - USD ($) $ in Thousands |
3 Months Ended | |
|---|---|---|
Apr. 30, 2023 |
Apr. 30, 2022 |
|
| DERIVATIVE FINANCIAL INSTRUMENTS | ||
| Net (losses) recognized in accumulated other comprehensive (loss) income | $ (350) | $ (270) |
| Net (losses) reclassified from accumulated other comprehensive (loss) income to the consolidated statements of operations | $ (227) | $ (82) |