XML 95 R80.htm IDEA: XBRL DOCUMENT v3.21.2
INCOME TAXES - Schedule of Changes in Unrecognized Tax Benefit (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Jul. 31, 2019
Income Tax Disclosure [Abstract]      
Beginning balance $ 14,238 $ 13,848 $ 13,004
Tax positions related to prior years: Additions 72 73 0
Tax positions related to prior years: Reductions (277) (129) (263)
Tax positions related to current year: Additions 4,346 1,966 2,062
Settlements (3,363) 0 (773)
Lapses in statute of limitations (2,701) (1,520) (918)
Tax positions acquired 4,710 0 736
Ending balance $ 17,025 $ 14,238 $ 13,848