XML 22 R50.htm IDEA: XBRL DOCUMENT v3.20.1
DEBT - Component of Debt and Reconciliation (Details) - USD ($)
$ in Thousands
Apr. 30, 2020
Jul. 31, 2019
Feb. 28, 2019
Line of Credit Facility [Line Items]      
Principal amount of long-term debt $ 386,989 $ 390,065  
Unamortized debt discount (6,268) (7,508)  
Unamortized debt issuance costs (1,094) (888)  
Net carrying value of the term loan 379,627 381,669  
Convertible Senior Note      
Line of Credit Facility [Line Items]      
Principal amount of long-term debt 14,940 14,940  
Cerberus Credit Facility      
Line of Credit Facility [Line Items]      
Principal amount of long-term debt 372,049 375,125  
SPHG Holdings | 7.50% Convertible Senior Debt      
Line of Credit Facility [Line Items]      
Debt instrument, stated interest rate     7.50%
SPHG Holdings | Convertible Senior Note      
Line of Credit Facility [Line Items]      
Unamortized debt discount (6,268) (7,508)  
Net carrying value of the term loan $ 8,672 $ 7,432