XML 100 R85.htm IDEA: XBRL DOCUMENT v3.10.0.1
Income Taxes (Details 3) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Oct. 31, 2016
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2016
Income Taxes [Abstract]        
U.S. federal income tax at statutory rate   $ (2,186) $ (2,667) $ (10,314)
Transition tax on foreign earnings   (3,360)
Valuation allowance   58,798 626
Foreign tax rate differential   (4,272) 3,107 6,035
Nondeductible expenses   213 457 487
Other   (23) 64 (67)
Prior year tax benefit (expense)   575 494 (231)
U.S. federal tax law change   (52,631)
State and local income tax, net of federal benefit   (16) (60) (20)
(PROVISION FOR) BENEFIT FROM INCOME TAXES $ 16,600 $ (2,902) $ 2,021 $ (4,110)