XML 103 R88.htm IDEA: XBRL DOCUMENT v3.19.3
OTHER GAINS (LOSSES) , NET - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Component Of Other Expense Income Nonoperating [Line Items]    
Other gains, net $ 4,603 $ 2,223
Derecognition of accrued pricing liabilities 4,573 0
Net realized and unrealized foreign currency exchange gain (losses) 300 1,100
Other, net (307) (708)
Gains (losses) in trading securities $ 0 1,876
Non Cash    
Component Of Other Expense Income Nonoperating [Line Items]    
Gains (losses) in trading securities   $ 1,900