XML 70 R59.htm IDEA: XBRL DOCUMENT v3.19.1
OTHER GAINS (LOSSES) , NET - Other Gains (Losses), Net - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Apr. 30, 2019
Apr. 30, 2018
Component Of Other Expense Income Nonoperating [Line Items]        
Gains (losses) in trading securities $ 0 $ 0 $ 0 $ 1,876
Foreign currency exchange gains (losses) (33) 720 (601) (1,351)
Corporate Segment        
Component Of Other Expense Income Nonoperating [Line Items]        
Net realized and unrealized foreign currency exchange gain (losses) 1,000 1,400 1,600 (800)
e-Business services        
Component Of Other Expense Income Nonoperating [Line Items]        
Net realized and unrealized foreign currency exchange gain (losses) (200)   (400)  
Asia        
Component Of Other Expense Income Nonoperating [Line Items]        
Net realized and unrealized foreign currency exchange gain (losses)     (500) (1,000)
Europe        
Component Of Other Expense Income Nonoperating [Line Items]        
Net realized and unrealized foreign currency exchange gain (losses) $ (800) $ (600) $ (1,400) 400
Cash        
Component Of Other Expense Income Nonoperating [Line Items]        
Gains (losses) in trading securities       $ 1,900