I was thinking about this more and had a possible (impossible?) suggestion.
Can you use value expressions in the posting? Like this:
= /Employees:.*:Payroll$/ and expr (amount >= X or amount < Y)
Taxes Owed 10000+0.27(amount-10000)
Assets
Which is how the tax brackets actually work (inside a bracket they are
linear, but don't intercept the origin.)
On Fri, Sep 30, 2011 at 22:11, Craig Earls <[email protected]> wrote:
> That's in the docs now.
>
> On Fri, Sep 30, 2011 at 10:18, John Wiegley <[email protected]> wrote:
>> Automated transactions can use the full range of value expressions in their
>> predicate:
>>
>> = /Employees:.*:Payroll$/ and expr (amount >= X or amount < Y)
>> ...
>>
>> In this case, 'amount' is tied to the amount of the posting being tested.
>
>
>
> --
> Craig, Corona De Tucson, AZ
> enderw88.wordpress.com
>
--
Craig, Corona De Tucson, AZ
enderw88.wordpress.com