[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing tax.pm in 1.21 for a new tax which replaces two old taxes



On Mon, Jul 5, 2010 at 9:01 PM, Gerald Chudyk <..hidden..> wrote:
> I restored lsmb to a clean 1.2.21 program/database to test the
> suggestion from Chris and compare my problem to the current release.
>
> If I set the validto date for all expired tax records, new
> transactions dated after validto work fine: the new tax is used and
> the old tax ignored. The problem is new transactions dated prior to
> the validto date also use the new tax and ignore the old tax. I notice
> this problem is also occuring in my new improvised version. This leads
> me to wonder if I have discovered a transdate bug in the system:

I think you are missing a step.

Set the initial tax rate for the new tax to 0 with a valid to date of
when it is enacted.

Best Wishes,
Chris Travers