Property, Plant and Equipment - Schedule of Property, Plant and Equipment (Details) - USD ($) $ in Thousands |
Apr. 30, 2026 |
Jul. 31, 2025 |
|---|---|---|
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Lease right-of-use assets – operating | $ 43,306 | $ 41,755 |
| Lease right-of-use assets – finance | 2,073 | 4,026 |
| Total cost | 2,220,827 | 2,152,458 |
| Less: Accumulated depreciation | (898,557) | (836,730) |
| Property, plant and equipment, net | 1,322,270 | 1,315,728 |
| Land | ||
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Property, plant and equipment | 147,133 | 146,250 |
| Buildings and improvements | ||
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Property, plant and equipment | 1,059,269 | 1,026,240 |
| Machinery and equipment | ||
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Property, plant and equipment | 833,357 | 794,363 |
| Rental vehicles | ||
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Property, plant and equipment | $ 135,689 | $ 139,824 |