XML 106 R89.htm IDEA: XBRL DOCUMENT v3.22.2.2
Fair Value Measurements - Other Financial Instruments (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Long-term debt, fair value $ 1,327,800 $ 1,466,400  
Gain (loss) on extinguishment of debt $ 0 (104,834) $ (37,399)
Ferrellgas, L.P. [Member]      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Gain (loss) on extinguishment of debt   $ (107,971) $ (37,399)