Is there any way to make an automatic transaction happen for an entry only if it's above/below a certain amount?
For example, if I wanted an automatic transaction that would put 10% of each paycheck into savings, but only if the paycheck was for more than $500, I attempted the following: -- = /Employer:Payroll/?a>500:0 Accounts:Savings -0.1 Accounts:Checking 0.1 ; 10% should be transferred to savings 2010/12/18 Paycheck, check #1001 Accounts:Checking $600 Employer:Payroll ; all should go into checking 2010/12/20 Holiday Bonus Accounts:Checking $400 Employer:Payroll -- But this gives me an error: -- While parsing automated transaction: > = /Employer:Payroll/?a>500:0 Error: The repeat operator "?" cannot start a regular expression. The error occured while parsing the regular expression: '>>>HERE>>>?a>500:0'. -- I guess I'm having trouble with the value expression syntax, or might be going about this in totally the wrong way. Running a recent build of ledger 3 from git (e33d54b). Thanks, Zack
