v3.26.3
INCOME TAXES - Schedule of Changes in Unrecognized Tax Benefit (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Unrecognized Tax Benefits [Roll Forward]      
Beginning balance $ 20,175 $ 10,434 $ 13,712
Tax positions related to prior years: Additions 480 1,201 1,692
Tax positions related to prior years: Reductions (2,077) (648) (1,977)
Tax positions related to current year: Additions 137 10,598 386
Settlements (733) 0 (2,133)
Lapses in statute of limitations (1,219) (1,410) (1,246)
Ending balance $ 16,763 $ 20,175 $ 10,434