Counter Number Format

Derek Atkins derek at ihtfp.com
Thu Dec 29 08:29:35 EST 2011


Hi,

On Thu, December 29, 2011 4:52 am, Gour wrote:
> On Sat, 26 Nov 2011 09:35:03 -0800 (PST)
> Lloyd <lloyd.adams at virgin.net> wrote:
>
>> Fantastic.  The trace file tells you what the output should be
>> (I64i), so the output string I%05I64i gives me I00001, I00002....
>
> Have you managed to achieve what you want?
>
> In our case, we'd need two invoice counters, one for the cash invoices
> and they should e.g. possibly have prefix 'CASH-' and the 3 digits, like
> CASH-001, CASH-002 etc., while the other invoices counter is for
> payments done via Internet, credit cards etc. and should look like:
> NET-000001, NET-000002 etc.
>
> Is it possible to achieve that in GC easily?

No.  There is only one counter for all Invoices.  There is no difference
between how it is paid.   Besides, how would you know a priori when you
send out an invoice that the customer is going to pay in cash?

Unless, of course, you are trying to push GnuCash into a Point of Sale
system (for which it is not designed).

> Sincerely,
> Gour

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant



More information about the gnucash-user mailing list