XML 50 R36.htm IDEA: XBRL DOCUMENT v3.21.2
Long-Term Debt (Tables)
3 Months Ended
Oct. 31, 2021
Debt Disclosure [Abstract]  
Schedule of long-term debt instruments
The components of long-term debt are as follows:

October 31, 2021July 31, 2021
Term loan$1,527,639 $1,540,013 
Asset-based credit facility159,935 — 
Senior unsecured notes500,000 — 
Unsecured notes 29,113 29,728 
Other debt67,536 70,952 
Gross long-term debt2,284,223 1,640,693 
Debt issuance costs, net of amortization(39,798)(33,461)
Total long-term debt, net of debt issuance costs2,244,425 1,607,232 
Less: current portion of long-term debt(12,159)(12,411)
Total long-term debt, net, less current portion$2,232,266 $1,594,821 
Schedule of maturities of long-term debt
Total contractual gross debt maturities are as follows:

 For the remainder of the fiscal year ending July 31, 2022$12,159
For the fiscal year ending July 31, 202311,942
For the fiscal year ending July 31, 202412,066
For the fiscal year ending July 31, 202535,234
For the fiscal year ending July 31, 20261,690,691
For the fiscal year ending July 31, 2027 and thereafter522,131
$2,284,223