Property, Plant and Equipment - Schedule of Property, Plant and Equipment (Details) - USD ($) $ in Thousands |
Jan. 31, 2026 |
Jul. 31, 2025 |
|---|---|---|
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Lease right-of-use assets – operating | $ 42,165 | $ 41,755 |
| Lease right-of-use assets – finance | 3,653 | 4,026 |
| Total cost | 2,215,139 | 2,152,458 |
| Less: Accumulated depreciation | (881,925) | (836,730) |
| Property, plant and equipment, net | 1,333,214 | 1,315,728 |
| Land | ||
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Property, plant and equipment | 149,243 | 146,250 |
| Buildings and improvements | ||
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Property, plant and equipment | 1,046,725 | 1,026,240 |
| Machinery and equipment | ||
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Property, plant and equipment | 827,419 | 794,363 |
| Rental vehicles | ||
| Property, Plant, Equipment, and ROU Assets [Line Items] | ||
| Property, plant and equipment | $ 145,934 | $ 139,824 |