XML 86 R58.htm IDEA: XBRL DOCUMENT
v3.23.1

DERIVATIVES (Derivatives Not Designated as Hedging Instruments) (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Feb. 28, 2023 | Feb. 28, 2022 | Feb. 28, 2023 | Feb. 28, 2022
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gain (loss) on commodity derivatives accounted for as cash flow hedging instruments | $ 23,957 | $ 33,197 | $ 92,002 | $ 55,451
Commodity |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gain (loss) on commodity derivatives accounted for as cash flow hedging instruments | 23,950 | 33,190 | 91,989 | 55,365
Commodity | Cost of goods sold |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gain (loss) before income taxes for derivatives not designated as hedges | (5,995) | (2,214) | (9,080) | 532
Foreign exchange | SG&A expenses |  |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Gain (loss) before income taxes for derivatives not designated as hedges | $ 2,947 | $ (1,048) | $ 6,409 | $ (9,043)

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. + References No definition available. + Details
Name: | us-gaap_DerivativeInstrumentsGainLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4CC -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL109998890-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -URI https://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 + Details
Name: | us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after tax and before reclassification, of gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SellingGeneralAndAdministrativeExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |