XML 67 R53.htm IDEA: XBRL DOCUMENT v3.19.1
COMMITMENTS AND CONTINGENCIES (Details) - USD ($)
$ in Thousands
Apr. 30, 2019
Jul. 31, 2018
Loss Contingencies [Line Items]    
2019 (remaining three months)   $ 9,244
2020   39,122
2021   35,738
2022   33,927
2023   31,386
Thereafter   26,244
Total   $ 175,661
Non-contract Vendors    
Loss Contingencies [Line Items]    
Purchase obligation $ 53,400  
Contract Manufacturer    
Loss Contingencies [Line Items]    
Purchase obligation $ 135,700