[GNC] Variables in Scheduled transactions

Adrien Monteleone adrien.monteleone at lusfiber.net
Thu Jan 5 05:17:15 EST 2023


Are you using GnuCash 4.13?

I just tested this and I only get one prompt.

Regards,
Adrien

On 1/4/23 10:53 PM, Stan Brown wrote:
> My mortgage payment (say 900.00) is the same each month, but of course
> every month interest (intamt) is a few cents less and principal
> (900-intamt) the same few cents more. My scheduled transaction is:
> 
> Debit: Liabilities:Mortgage Principal  900-intamt
> Debit: Expenses:Mortgage Interest      intamt
> Credit:Assets:Bank Account             900.00
> 
> I would like to be prompted for the interest due when the transaction
> fires, and then have GC compute the principal as 900.00 minus interest.
> But GC prompts me twice.
> 
> Is there some way I've missed for how to use the same variable twice in
> a scheduled transaction but be prompted for it only once?
> 
> (I also have a couple of dozen accruals at the end of every month, for
> instance a debit to Expenses:Fixed Auto Expense and _equal_ credit to
> Assets:Auto. I'd love th have GC prompt me for each amount so that I
> wouldn't have to fill them ion in duplicate. The answer to my mortgage
> question will show the answer to this no-formula question as well, I'm
> sure.)




More information about the gnucash-user mailing list