XML 67 R53.htm IDEA: XBRL DOCUMENT
v3.21.2

Inventories - Additional Information (Detail) - USD ($) $ in Thousands | Oct. 31, 2021 | Jul. 31, 2021
--- | --- | ---
Inventory Disclosure [Abstract] |  |
Inventories | $ 1,750,087 | $ 1,444,274
Subsidiaries valued inventory in first-in, first-out method | 1,086,598 | 946,767
Subsidiaries valued inventory in last-in, first-out method | $ 663,489 | $ 497,507

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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.6(a)) -URI http://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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://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