XML 139 R87.htm IDEA: XBRL DOCUMENT v3.20.2
OTHER GAINS, NET - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2020
Jul. 31, 2019
Other Income and Expenses [Abstract]    
Other gains, net $ 2,098 $ 4,603
Derecognition of accrued pricing liabilities 810 4,573
Net realized and unrealized foreign currency exchange gain (losses) 900 300
Other, net $ 398 $ (307)