Those ledgers on which it is possible to run a budget have active "Analytical" and "Budget" flags in theLedgers function.