XML 49 R38.htm IDEA: XBRL DOCUMENT v3.23.1
Long-Term Debt (Tables)
9 Months Ended
Apr. 30, 2023
Debt Disclosure [Abstract]  
Schedule of Long-Term Debt Instruments
The components of long-term debt are as follows:

April 30, 2023July 31, 2022
Term loan$1,056,242 $1,124,209 
Asset-based credit facility50,000 100,000 
Senior unsecured notes500,000 500,000 
Unsecured notes 27,453 25,495 
Other debt45,433 50,207 
Gross long-term debt1,679,128 1,799,911 
Debt issuance costs, net of amortization(26,784)(32,482)
Total long-term debt, net of debt issuance costs1,652,344 1,767,429 
Less: current portion of long-term debt(11,268)(13,190)
Total long-term debt, net, less current portion$1,641,076 $1,754,239 
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, 2023$3,818
For the fiscal year ending July 31, 202411,142
For the fiscal year ending July 31, 202532,983
For the fiscal year ending July 31, 20261,109,372
For the fiscal year ending July 31, 20272,691
For the fiscal year ending July 31, 2028 and thereafter519,122
$1,679,128