XML 108 R93.htm IDEA: XBRL DOCUMENT v3.8.0.1
Reconciliation of Beginning and Ending Balances of Total Amounts of Gross Unrecognized Tax Benefits (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2017
Jul. 31, 2016
Jul. 31, 2015
Income Tax Contingency [Line Items]      
Balance as of beginning of year $ 994 $ 3,756 $ 1,028
Additions for current year tax positions   19 2,884
Currency translation     (156)
Currency translation 18    
Reductions for lapses in statute of limitations (331) (27)  
Reductions of prior year tax positions   (2,754)  
Balance as of end of year $ 681 $ 994 $ 3,756