XML 70 R86.htm IDEA: XBRL DOCUMENT v3.19.3
REVENUE RECOGNITION - Impact of the Adoption on Consolidated Statement of Operations (Detail) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]    
Total net revenue $ 819,830 $ 645,258
Cost of revenue 670,100 543,999
Gross profit 149,730 101,259
Loss before income taxes (62,099) (35,288)
Net loss (66,727) 36,715
Net loss attributable to common stockholders $ (68,856) $ 35,380
Basic and diluted net loss per share attributable to common stockholders (usd per share) $ (1.13)  
Calculated under Revenue Guidance in Effect before Topic 606    
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]    
Total net revenue $ 818,134  
Cost of revenue 669,154  
Gross profit 148,980  
Loss before income taxes (62,849)  
Net loss (67,477)  
Net loss attributable to common stockholders $ (69,606)  
Basic and diluted net loss per share attributable to common stockholders (usd per share) $ (1.14)  
Accounting Standards Update 2014-09 | Difference between Revenue Guidance in Effect before and after Topic 606    
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]    
Total net revenue $ 1,696  
Cost of revenue 946  
Gross profit 750  
Loss before income taxes 750  
Net loss 750  
Net loss attributable to common stockholders $ 750  
Basic and diluted net loss per share attributable to common stockholders (usd per share) $ 0.01