XML 69 R55.htm IDEA: XBRL DOCUMENT v3.20.2
LONG-TERM DEBT - ABL Credit Facility, Narrative (Details) - USD ($)
3 Months Ended
Oct. 31, 2020
Aug. 14, 2020
Aug. 01, 2020
Oct. 19, 2018
Aug. 29, 2018
Debt Instrument [Line Items]          
Notes payable $ 2,620,587,000   $ 2,426,994,000    
Debt issuance costs, net $ 42,122,000   $ 45,846,000    
Line of credit | Letter of credit | ABL Credit Facility          
Debt Instrument [Line Items]          
Line of credit facility, fronting fee percentage 0.125%        
Debt instrument, covenant, fixed charge coverage ratio, minimum 1.0        
Line of credit facility, maximum aggregate availability of the aggregate borrowing base $ 235,000,000.0        
Line of credit facility, maximum percentage of aggregate availability of the aggregate borrowing base 10.00%        
Line of credit | Letter of credit | ABL Credit Facility | UNITED STATES          
Debt Instrument [Line Items]          
Line of credit facility, maximum borrowing capacity   $ 300,000,000   $ 300,000,000.0  
Line of credit | Letter of credit | ABL Credit Facility | CANADA          
Debt Instrument [Line Items]          
Line of credit facility, maximum borrowing capacity   $ 25,000,000   25,000,000.0  
Line of credit | Revolving credit facility          
Debt Instrument [Line Items]          
Remaining availability under ABL credit facility $ 1,008,288,000        
Unused facility fees (as a percent) 0.25%        
Line of credit | Revolving credit facility | ABL Credit Facility          
Debt Instrument [Line Items]          
Line of credit facility, maximum borrowing capacity       2,100,000,000.0  
Line of credit facility, maximum borrowing capacity, optional increase       600,000,000.0  
Line of credit facility, maximum borrowing capacity, including optional increase       $ 2,700,000,000.0  
Remaining availability under ABL credit facility $ 1,008,300,000        
Unused facility fees (as a percent) 0.25%        
Line of credit | Revolving credit facility | ABL Credit Facility | Outstanding borrowings less than 25 percent of aggregate commitments          
Debt Instrument [Line Items]          
Unused facility fees (as a percent) 0.375%        
Percentage of average daily total outstanding to aggregate commitments 25.00%        
Line of credit | Revolving credit facility | ABL Credit Facility | Outstanding borrowings equal or greater than 25 percent of aggregate commitments          
Debt Instrument [Line Items]          
Unused facility fees (as a percent) 0.25%        
Percentage of average daily total outstanding to aggregate commitments 25.00%        
Line of credit | Revolving credit facility | ABL Credit Facility | Accounts receivable          
Debt Instrument [Line Items]          
Line of credit facility, borrowing base, eligibility percent       90.00%  
Line of credit | Revolving credit facility | ABL Credit Facility | Credit card receivable          
Debt Instrument [Line Items]          
Line of credit facility, borrowing base, eligibility percent       90.00%  
Line of credit | Revolving credit facility | ABL Credit Facility | Inventories          
Debt Instrument [Line Items]          
Line of credit facility, borrowing base, eligibility percent       90.00%  
Line of credit | Revolving credit facility | ABL Credit Facility | Pharmacy receivable          
Debt Instrument [Line Items]          
Line of credit facility, borrowing base, eligibility percent       90.00%  
Line of credit | Revolving credit facility | ABL Credit Facility | UNITED STATES          
Debt Instrument [Line Items]          
Line of credit facility, maximum borrowing capacity $ 2,050,000,000.0     $ 2,050,000,000.0  
Line of credit facility, borrowing capacity, reserves 231,900,000        
Line of credit facility, current borrowing capacity 2,185,800,000        
Notes payable 986,700,000        
Debt issuance costs, net 10,600,000        
Letters of credit outstanding, amount $ 97,200,000        
Line of credit | Revolving credit facility | ABL Credit Facility | UNITED STATES | Base rate          
Debt Instrument [Line Items]          
Debt instrument, basis spread on variable rate (as a percent) 0.25%        
Line of credit | Revolving credit facility | ABL Credit Facility | UNITED STATES | London interbank offered rate (LIBOR)          
Debt Instrument [Line Items]          
Debt instrument, basis spread on variable rate (as a percent) 1.25%        
Line of credit | Revolving credit facility | ABL Credit Facility | CANADA          
Debt Instrument [Line Items]          
Line of credit facility, maximum borrowing capacity $ 50,000,000.0     50,000,000.0  
Line of credit facility, borrowing capacity, reserves 4,100,000        
Line of credit facility, current borrowing capacity 42,200,000        
Remaining availability under ABL credit facility 2,092,200,000        
Letters of credit outstanding, amount $ 0        
Line of credit | Revolving credit facility | ABL Credit Facility | CANADA | Prime rate          
Debt Instrument [Line Items]          
Debt instrument, basis spread on variable rate (as a percent) 0.25%        
Line of credit | Revolving credit facility | ABL Credit Facility | CANADA | Bankers acceptance equivalent rate          
Debt Instrument [Line Items]          
Debt instrument, basis spread on variable rate (as a percent) 1.25%        
Line of credit | Revolving credit facility | Former ABL credit facility          
Debt Instrument [Line Items]          
Line of credit facility, maximum borrowing capacity         $ 900,000,000.0
Line of credit | Bridge loan | ABL Credit Facility | UNITED STATES          
Debt Instrument [Line Items]          
Line of credit facility, maximum borrowing capacity       100,000,000.0  
Line of credit | Bridge loan | ABL Credit Facility | CANADA          
Debt Instrument [Line Items]          
Line of credit facility, maximum borrowing capacity       $ 3,500,000