XML 57 R46.htm IDEA: XBRL DOCUMENT v3.19.1
REVENUE RECOGNITION - Impact of the Adoption on Consolidated Statement of Operations (Detail) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Apr. 30, 2019
Apr. 30, 2018
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]        
Net revenue $ 194,003 $ 193,921 $ 615,359 $ 450,181
Cost of revenue 157,142 154,916 502,755 386,279
Gross profit 36,861 39,005 112,604 63,902
Loss before income taxes (8,229) (9,818) (24,831) (28,072)
Net loss (9,627) (10,333) (28,745) 44,248
Net loss attributable to common stockholders $ (10,152) $ (10,862) $ (30,343) $ 43,449
Basic and diluted net loss per share attributable to common stockholders (usd per share) $ (0.17) $ (0.18) $ (0.50) $ 0.75
Calculated under Revenue Guidance in Effect before Topic 606        
Revenue, Initial Application Period Cumulative Effect Transition [Line Items]        
Net revenue $ 191,514   $ 613,248  
Cost of revenue 155,482   501,442  
Gross profit 36,032   111,806  
Loss before income taxes (9,058)   (25,629)  
Net loss (10,456)   (29,543)  
Net loss attributable to common stockholders $ (10,981)   $ (31,141)  
Basic and diluted net loss per share attributable to common stockholders (usd per share) $ (0.18)   $ (0.51)  
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]        
Net revenue $ 2,489   $ 2,111  
Cost of revenue 1,660   1,313  
Gross profit 829   798  
Loss before income taxes 829   798  
Net loss 829   798  
Net loss attributable to common stockholders $ 829   $ 798  
Basic and diluted net loss per share attributable to common stockholders (usd per share) $ 0.01   $ 0.01