XML 65 R49.htm IDEA: XBRL DOCUMENT v3.22.2.2
Employee Benefit Plans - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Retirement Benefits [Abstract]      
Deferred compensation arrangement with individual, recorded liability $ 18,043 $ 20,144  
Accrued retirement and profit-sharing contributions 3,644 3,686  
Pension and other postretirement benefit expense $ 15,063 $ 13,246 $ 12,129