XML 65 R54.htm IDEA: XBRL DOCUMENT v3.19.1
DEBT - Net Carrying Value of the Notes (Detail) - USD ($)
$ in Thousands
Apr. 30, 2019
Jul. 31, 2018
Interest Expense, Debt [Line Items]    
Carrying amount of equity component $ 8,200  
SPHG Holdings | Convertible Senior Note    
Interest Expense, Debt [Line Items]    
Unamortized debt discount (7,918)  
Net carrying value of the Term Loan 7,022  
Cerberus Credit Facility | Term Loan    
Interest Expense, Debt [Line Items]    
Principal amount   $ 390,000
Principal amount outstanding 376,625 390,000
Unamortized debt discount (958) (1,162)
Net carrying value of the Term Loan $ 375,667 $ 388,838