XML 62 R51.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Inventories - Additional Information (Details) - USD ($) $ in Thousands | Oct. 31, 2022 | Jul. 31, 2022
--- | --- | ---
Inventory Disclosure [Abstract] |  |
Inventories | $ 1,995,824 | $ 1,892,225
Subsidiaries valued inventory in first-in, first-out method | 1,196,619 | 1,170,554
Subsidiaries valued inventory in last-in, first-out method | $ 799,205 | $ 721,671

X
- Definition The amount of FIFO (first in first out) inventory present at the reporting date when inventory is also valued using different valuation methods. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766 + Details
Name: | us-gaap_FIFOInventoryAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_InventoryDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Gross amount, as of the balance sheet date, of merchandise, goods, commodities, or supplies held for future sale or to be used in manufacturing, servicing or production process. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(6)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_InventoryGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of LIFO (last in first out) inventory present at the reporting date when inventory is also valued using different valuation methods. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766 + Details
Name: | us-gaap_LIFOInventoryAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant