XML 47 R36.htm IDEA: XBRL DOCUMENT v3.21.1
Derivative Instruments (Details) - Schedule of derivative instruments on consolidated statements of comprehensive income (loss) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2021
Apr. 30, 2020
Apr. 30, 2021
Apr. 30, 2020
Schedule of derivative instruments on consolidated statements of comprehensive income (loss) [Abstract]        
Location of Gain (Loss) Recognized on Derivatives     Net gain (loss) resulting from foreign exchange transactions  
Foreign exchange forward contracts $ 16 $ (273) $ 67 $ (327)