Supplemental financial statement information - Certain cash flow and non-cash activities (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Jul. 31, 2024 |
|
| Supplemental financial statement information | |||
| Cash paid for interest | $ 126,465 | $ 96,072 | $ 89,151 |
| Cash paid for income taxes | 899 | 1,300 | 700 |
| Non-cash investing and financing activities: | |||
| Liabilities incurred in connection with acquisitions | 635 | 1,585 | |
| Change in accruals for property, plant and equipment additions | (263) | (274) | 1,168 |
| Lease liabilities arising from operating ROU assets | 13,519 | 13,415 | 14,204 |
| Lease liabilities arising from finance ROU assets | 34,777 | 23,371 | 5,356 |
| Accrued senior preferred units distributions | 16,843 | 17,280 | 17,538 |
| Acquisition of assets in failed sale-leaseback | 5,032 | 2,496 | |
| Change in liability in connection with failed sale-leaseback | $ (1,272) | $ 3,946 | $ 2,353 |
| X | ||||||||||
- Definition The amount of accrued distribution related to temporary equity, incurred during the period during a noncash or partial noncash transaction. No definition available.
|
| X | ||||||||||
- Definition Change In Capital Expenditures Incurred But Not Yet Paid No definition available.
|
| X | ||||||||||
- Definition The amount of sale-lease back assets that an Entity acquires in a noncash (or part noncash) acquisition. Noncash is defined as information about all investing and financing activities of an enterprise during a period that affect recognized assets or liabilities but that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. No definition available.
|
| X | ||||||||||
- Definition Supplemental Financial Statement Information [Abstract] No definition available.
|
| X | ||||||||||
- Definition Amount, after refund, of cash paid to foreign, federal, state, and local jurisdictions as income tax. Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef
|
| X | ||||||||||
- Definition Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition The total amount of [all] liabilities that an Entity assumes in acquiring a business or in consideration for an asset received in a noncash (or part noncash) acquisition. Noncash is defined as transactions during a period that affect recognized assets or liabilities but that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of cash inflow (outflow) from financing activity, classified as other. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for finance lease liability. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for operating lease liability. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|