XML 47 R36.htm IDEA: XBRL DOCUMENT v3.22.1
Long-Term Debt (Tables)
9 Months Ended
Apr. 30, 2022
Debt Disclosure [Abstract]  
Schedule of long-term debt instruments
The components of long-term debt are as follows:

April 30, 2022July 31, 2021
Term loan$1,347,392 $1,540,013 
Asset-based credit facility100,000 — 
Senior unsecured notes500,000 — 
Unsecured notes 26,350 29,728 
Other debt55,618 70,952 
Gross long-term debt2,029,360 1,640,693 
Debt issuance costs, net of amortization(34,773)(33,461)
Total long-term debt, net of debt issuance costs1,994,587 1,607,232 
Less: current portion of long-term debt(10,991)(12,411)
Total long-term debt, net, less current portion$1,983,596 $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$3,694
For the fiscal year ending July 31, 202310,809
For the fiscal year ending July 31, 202410,924
For the fiscal year ending July 31, 202531,888
For the fiscal year ending July 31, 20261,450,019
For the fiscal year ending July 31, 2027 and thereafter522,026
$2,029,360