v3.24.1.1.u2
Inventories - Schedule of Inventories (Details) - USD ($)
$ in Thousands
Apr. 30, 2024
Jul. 31, 2023
Inventory Disclosure [Abstract]    
Finished goods $ 142,896 $ 145,355
Work in progress 299,226 161,795
Raw materials 12,799 15,077
Inventories $ 454,921 $ 322,227