XML 46 R30.htm IDEA: XBRL DOCUMENT v3.22.2.2
Leases, Codification Topic 842 (Tables)
12 Months Ended
Jul. 31, 2022
Leases [Abstract]  
Lease, Cost
The following table summarizes lease expense recognized during the years ended July 31, 2022, 2021 and 2020:
 Consolidated Statements of Income LocationJuly 31, 2022July 31, 2021July 31, 2020
Operating lease costCost of goods sold$7,893 $8,268 $9,197 
Operating lease costSelling, general, and administrative expenses9,822 8,625 8,974 
Lessee, Operating Lease, Liability, Maturity
The following table summarizes the maturity of the Company's lease liabilities as of July 31, 2022:
Years ending July 31, Operating Leases
2023$16,002 
202411,317 
20255,632 
20262,234 
2027679 
Thereafter124 
Total lease payments$35,988 
Less: interest(1,842)
Present value of lease liabilities$34,146 
Weighted-Average Lease Disclosures
The weighted average remaining lease terms and discount rates for the Company's operating leases as of July 31, 2022 and 2021 were as follows:
July 31, 2022July 31, 2021
Weighted average remaining lease term (in years)2.73.0
Weighted average discount rate3.9 %3.3 %
Supplemental Cash Flow Information - Leases
Supplemental cash flow information related to the Company's operating leases during the years ended July 31, 2022 and 2021, were as follows:
20222021
Operating cash outflows from operating leases$19,005 $18,334 
Operating lease assets obtained in exchange for new operating lease liabilities (1)
7,607 16,522 
(1) Includes new leases and remeasurements or modifications of existing leases.