XML 116 R104.htm IDEA: XBRL DOCUMENT v3.22.1
Stockholders' Equity - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2022
May 01, 2021
Apr. 30, 2022
May 01, 2021
Jul. 31, 2021
Class of Stock [Line Items]          
Cash dividends paid per common share (in dollars per share) $ 0.38 $ 0.37 $ 1.12 $ 1.09  
Payments of dividends $ 1,600 $ 1,600 $ 4,657 $ 4,601  
Remaining authorized repurchase amount 17,600   17,600    
Stock repurchase program          
Class of Stock [Line Items]          
Stock repurchases pending settlement $ 10   $ 10   $ 25