XML 63 R51.htm IDEA: XBRL DOCUMENT
v3.22.2

Derivative Financial Instruments and Hedging Activities (Fair Value of Derivative Instruments Recorded on Consolidated Statements of Operations) (Details) - Forward foreign exchange contracts - Cost of revenue - USD ($) $ in Millions | 3 Months Ended | 9 Months Ended
--- | --- | ---
May 31, 2022 | May 31, 2021 | May 31, 2022 | May 31, 2021
Derivative Instruments, Gain (Loss) [Line Items] |  |  |  |
Amount of (Loss) Gain Recognized in Net Income on Derivatives | $ (66) | $ 27 | $ (6) | $ 148
Foreign currency gains | $ 64 | $ 22 | $ 27 | $ 121

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 http://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 http://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 before tax of foreign currency transaction realized and unrealized gain (loss) recognized in the income statement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=125521441&loc=d3e30690-110894 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 20 -Section 35 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=123602790&loc=d3e30226-110892 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 10 -Section 45 -Paragraph 17 -URI http://asc.fasb.org/extlink&oid=120253306&loc=d3e28228-110885 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124440516&loc=d3e30840-110895 + Details
Name: | us-gaap_ForeignCurrencyTransactionGainLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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_CostOfSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |