[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tax account creation: how to 'detect' tax accounts?
- Subject: Re: Tax account creation: how to 'detect' tax accounts?
- From: Chris Travers <..hidden..>
- Date: Sun, 19 Jun 2011 06:38:31 -0700
On Sun, Jun 19, 2011 at 5:59 AM, Erik Huelsmann <..hidden..> wrote:
> In an attempt to fix bug 3321964, I'm running into the situation that
> our model doesn't seem to be able to detect which accounts are tax
> accounts. I'm inclined to add a checkmark to the accounts table to
> that purpose -- including a checkmark in the column where also
> 'contra' and 'recon' are located.
>
> The problem I'm seeing is that the accounts creation functions don't
> add records to the 'tax' table. But how would they know how to set up
> the records in that table without integrating the System->Taxes screen
> into the account creation screen?
select ... from account where id in (select account_id from
account_link where description like '%_tax');
Best Wishes,
Chris Travers