XML 25 R49.htm IDEA: XBRL DOCUMENT v3.20.1
DEBT Component of Debt and Reconciliation (Details) - USD ($)
$ in Thousands
Jan. 31, 2020
Jul. 31, 2019
Term Loan    
Line of Credit Facility [Line Items]    
Principal amount of long-term debt $ 387,065 $ 390,065
Unamortized debt discount (6,678) (7,508)
Unamortized debt issuance costs (753) (888)
Net carrying value of the term loan 379,634 381,669
Convertible Senior Note    
Line of Credit Facility [Line Items]    
Principal amount of long-term debt 14,940 14,940
Convertible Senior Note | SPHG Holdings    
Line of Credit Facility [Line Items]    
Unamortized debt discount (6,678) (7,508)
Net carrying value of the term loan 8,262 7,432
Cerberus Credit Facility    
Line of Credit Facility [Line Items]    
Principal amount of long-term debt 372,125 375,125
Cerberus Credit Facility | Term Loan    
Line of Credit Facility [Line Items]    
Principal amount of long-term debt 372,125 375,125
Unamortized debt issuance costs (753) (888)
Net carrying value of the term loan $ 371,372 $ 374,237