XML 96 R81.htm IDEA: XBRL DOCUMENT v3.10.0.1
INCOME TAXES INCOME TAXES - Schedule of Unrecognized Tax Benefits (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2018
Jul. 31, 2017
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]    
Balance, beginning balance $ 42,655 $ 19,711
Increases related to current year tax positions 58,727 22,571
Increases related to prior year tax positions 4,893 373
Decreases related to prior year tax positions (14,559) 0
Balance, ending balance $ 91,716 $ 42,655