EQUITY AWARD PLANS - ESPP (Details) - Employee Stock Purchase Plan |
6 Months Ended |
|---|---|
Jan. 31, 2017 | |
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |
| Expected term (in years) | 9 months |
| Risk-free interest rate | 0.60% |
| Volatility | 50.60% |
| Dividend yield | 0.00% |