XML 68 R55.htm IDEA: XBRL DOCUMENT v3.22.1
LONG-TERM DEBT - Line of Credit Facilities (Details) - USD ($)
$ in Millions
9 Months Ended
Apr. 30, 2022
Jul. 31, 2021
Line of Credit Facility [Line Items]    
Availability $ 2,096  
Unused credit 861  
ABL Loans    
Line of Credit Facility [Line Items]    
Availability $ 1,101  
Revolving credit facility | ABL Credit Facility    
Line of Credit Facility [Line Items]    
Unused facility fees (as a percent) 0.25%  
Revolving credit facility | ABL Credit Facility | Minimum    
Line of Credit Facility [Line Items]    
Unused facility fees (as a percent) 0.25%  
Revolving credit facility | ABL Credit Facility | Maximum    
Line of Credit Facility [Line Items]    
Unused facility fees (as a percent) 0.375%  
Letter of credit    
Line of Credit Facility [Line Items]    
Availability $ 134  
Letter of credit | ABL Credit Facility    
Line of Credit Facility [Line Items]    
Letter of credit fees (as a percent) 1.375%  
Letter of credit | ABL Credit Facility | Minimum    
Line of Credit Facility [Line Items]    
Letter of credit fees (as a percent) 1.125%  
Letter of credit | ABL Credit Facility | Maximum    
Line of Credit Facility [Line Items]    
Letter of credit fees (as a percent) 1.625%  
Line of credit | Revolving credit facility | ABL Credit Facility | Base rate    
Line of Credit Facility [Line Items]    
Basis spread on variable rate (as a percent) 0.25%  
Line of credit | Revolving credit facility | ABL Credit Facility | Base rate | Minimum    
Line of Credit Facility [Line Items]    
Basis spread on variable rate (as a percent) 0.00%  
Line of credit | Revolving credit facility | ABL Credit Facility | Base rate | Maximum    
Line of Credit Facility [Line Items]    
Basis spread on variable rate (as a percent) 0.50%  
Line of credit | Revolving credit facility | ABL Credit Facility | LIBOR and BA    
Line of Credit Facility [Line Items]    
Basis spread on variable rate (as a percent) 1.25%  
Line of credit | Revolving credit facility | ABL Credit Facility | LIBOR and BA | Minimum    
Line of Credit Facility [Line Items]    
Basis spread on variable rate (as a percent) 1.00%  
Line of credit | Revolving credit facility | ABL Credit Facility | LIBOR and BA | Maximum    
Line of Credit Facility [Line Items]    
Basis spread on variable rate (as a percent) 1.50%  
Line of credit | Revolving credit facility | Certain inventory assets included in Inventories, net and Current assets of discontinued operations    
Line of Credit Facility [Line Items]    
Debt instrument, collateral amount $ 2,696 $ 2,297
Line of credit | Revolving credit facility | Certain receivables included in Accounts receivable, net and Current assets of discontinued operations    
Line of Credit Facility [Line Items]    
Debt instrument, collateral amount $ 1,134 $ 1,041