ACQUISITION Asset Acquisition(Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Jul. 31, 2024 |
|
| Asset Acquisition [Line Items] | |||
| Cash, net of cash acquired and restricted cash | $ 0 | $ 115 | $ 44,298 |
| Goodwill | 16,017 | 16,017 | |
| Ultra Pet | |||
| Asset Acquisition [Line Items] | |||
| Cash, net of cash acquired and restricted cash | 44,413 | ||
| Accounts receivable | 4,246 | ||
| Inventories | 6,751 | ||
| Prepaid expenses and other assets | 877 | ||
| Property, plant and equipment | 270 | ||
| Trade name | 5,200 | ||
| Customer list | 20,400 | ||
| Operating lease right-of-use assets | 1,463 | ||
| Trade and other liabilities | (1,663) | ||
| Operating lease right-of-use liabilities | (1,472) | ||
| Deferred tax liabilities | (4,058) | ||
| Total identifiable net assets | 32,014 | ||
| Goodwill | $ 12,400 | 12,399 | $ 11,800 |
| Total | $ 44,413 | ||
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of lease obligation assumed in business combination and recognized at acquisition date. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of prepaid expense and asset classified as other, acquired in business combination and recognized at acquisition date, classified as current. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of receivable acquired in business combination and recognized at acquisition date, classified as current. Includes, but is not limited to, receivable from customer for product and service. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of liability assumed in business combination and recognized at acquisition date, classified as current. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability assumed in business combination and recognized at acquisition date. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of identifiable indefinite-lived intangible asset acquired in business combination and recognized at acquisition date. Excludes goodwill and financial asset. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of identifiable finite-lived intangible asset acquired in business combination and recognized at acquisition date. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of inventory acquired in business combination and recognized at acquisition date, classified as current. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of asset acquired in excess of (less than) liability assumed in business combination and recognized at acquisition date. Excludes goodwill. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of asset acquired in business combination and recognized at acquisition date, classified as noncurrent. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of property, plant, and equipment acquired in business combination and recognized at acquisition date. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of asset acquired in excess of (less than) liability assumed plus goodwill in business combination and recognized at acquisition date. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, after accumulated impairment loss, of asset representing future economic benefit arising from other asset acquired in business combination or from joint venture formation or both, that is not individually identified and separately recognized. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|