XML 55 R45.htm IDEA: XBRL DOCUMENT v3.22.2.2
Derivative Financial Instruments and Hedging Activities (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Oct. 31, 2022
Oct. 31, 2021
Oct. 31, 2022
Oct. 31, 2021
Total amounts presented in the accompanying consolidated statements of operations for line items affected by the net gains (losses) shown above: [Abstract]        
Sales $ 1,384 $ 1,283 $ 2,672 $ 2,466
Other income (expense), net 1 1 7 (5)
Foreign Currency Denominated Debt [Member]        
Foreign currency-denominated debt designated as net investment hedge: [Abstract]        
Net gain (loss) recognized in AOCI 23 14 43 22
Currency derivatives [Member]        
Currency derivatives designated as cash flow hedges: [Abstract]        
Net gain (loss) recognized in AOCI 22 15 36 30
Currency derivatives [Member] | Sales [Member]        
Currency derivatives designated as cash flow hedges: [Abstract]        
Net gain (loss) reclassified from AOCI into earnings 15 2 23 (1)
Currency derivatives not designated as hedging instruments: [Abstract]        
Net gain (loss) recognized in earnings 3 1 8 3
Currency derivatives [Member] | Other Income [Member]        
Currency derivatives not designated as hedging instruments: [Abstract]        
Net gain (loss) recognized in earnings $ 8 $ (1) $ 9 $ 0