Property, Plant and Equipment (Details) - USD ($) $ in Thousands |
Apr. 30, 2025 |
Jul. 31, 2024 |
|---|---|---|
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Lease right-of-use assets – operating | $ 41,905 | $ 43,139 |
| Lease right-of-use assets – finance | 4,213 | 4,772 |
| Total cost | 2,207,001 | 2,118,216 |
| Less: Accumulated depreciation | (826,959) | (727,498) |
| Property, plant and equipment, net | 1,380,042 | 1,390,718 |
| Land | ||
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Property, plant and equipment | 153,501 | 151,164 |
| Buildings and improvements | ||
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Property, plant and equipment | 1,084,030 | 1,053,812 |
| Machinery and equipment | ||
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Property, plant and equipment | 773,572 | 738,535 |
| Rental vehicles | ||
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Property, plant and equipment | $ 149,780 | $ 126,794 |