XML 20 R10.htm IDEA: XBRL DOCUMENT v3.24.0.1
Inventories
6 Months Ended
Jan. 31, 2024
Inventory Disclosure [Abstract]  
Inventories INVENTORIES
The composition of inventories is as follows (in thousands):

January 31,
2024
July 31,
2023
Finished goods$24,596 $21,943 
Packaging8,299 8,007 
Spare parts
6,775 5,981 
Other6,560 6,681 
Total Inventories$46,230 $42,612 


Inventories are valued at the lower of cost (first-in, first-out) or net realizable value. Inventory costs include the cost of raw materials, packaging supplies, labor, and other overhead costs. The Company maintains reserves against inventory to reduce the carrying value to the expected net realizable value. These reserves are based upon a combination of factors including historical issues and market trends. Inventory reserves were $3.5 million and $3.6 million as of January 31, 2024 and July 31, 2023, respectively.