XML 23 R87.htm IDEA: XBRL DOCUMENT v3.19.3
OTHER GAINS (LOSSES) , NET - Components of Other Gains (Losses), Net (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Other Income and Expenses [Abstract]    
Foreign currency exchange gains, net $ 337 $ 1,055
Derecognition of accrued pricing liabilities 4,573 0
Gain, net on Trading Securities 0 1,876
Other, net (307) (708)
Other gains (losses), net $ 4,603 $ 2,223