XML 94 R79.htm IDEA: XBRL DOCUMENT v3.21.2
INCOME TAXES - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Jul. 31, 2019
Income Tax [Line Items]      
Income tax expense benefit $ 192,621 $ 61,227 $ 61,289
Unrecognized tax benefits that, if recognized, would affect the company's income tax rate 13,631 11,606 11,332
Accrued interest and penalties 2,967 2,516  
Total amount of interest and penalties expense (benefit) recognized 238 $ 544 $ 454
Expected decrease in unrecognized tax benefits due to resolution of uncertain tax positions 4,600    
Expected decrease in interest due to resolution of uncertain tax positions 1,600    
Operating Loss Carryforwards, Valuation Allowance 70,037    
State and Local Jurisdiction      
Income Tax [Line Items]      
Tax credit carry forward 2,972    
Gross state tax net operating loss carry forwards $ 4,961    
State and Local Jurisdiction | Earliest Tax Year      
Income Tax [Line Items]      
Tax credit carry forward expiration year 2030    
Gross state tax net operating loss carry forwards, expiration year 2022    
State and Local Jurisdiction | Latest Tax Year      
Income Tax [Line Items]      
Tax credit carry forward expiration year 2031    
Gross state tax net operating loss carry forwards, expiration year 2041    
Foreign Tax Authority      
Income Tax [Line Items]      
Gross state tax net operating loss carry forwards $ 75,407    
Foreign Tax Authority | Earliest Tax Year      
Income Tax [Line Items]      
Gross state tax net operating loss carry forwards, expiration year 2023