Re: invoice counter without leading zeroes

Derek Atkins derek at ihtfp.com
Sat Jun 8 10:06:21 EDT 2013


And what exactly did you use for 'x'? Because 'x' is not a valid printf operator for 64-bit int.  Try using '%ld'

-derek

Sent from my HTC smartphone

----- Reply message -----
From: "Gour" <gour at atmarama.net>
To: <gnucash-user at lists.gnucash.org>
Subject: invoice counter without leading zeroes
Date: Sat, Jun 8, 2013 9:07 AM


On Sat, 08 Jun 2013 08:06:28 -0400
"Derek Atkins" <derek at ihtfp.com> wrote:

> You didn't say what you tried to put into the field....

e.g. x/BO1/BU1 where 'x' should be natural intereger denoting invoice
number without leading zeroes, although even getting just invoice
number without leading zeroes could be good-enough if we plan to use
https://github.com/n1ywb /jeffs-gnucash-utils to tweak invoice template
externally.


> Also note that it will only affect new invoices.

That's also good to know. Let me try creating some new invoices...


Sincerely,
Gour

-- 
Even the intelligent are bewildered in determining what is action 
and what is inaction. Now I shall explain to you what action is, 
knowing which you shall be liberated from all misfortune.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810

-- 
A person is considered still further advanced when he regards honest 
well-wishers, affectionate benefactors, the neutral, mediators, the
envious, friends and enemies, the pious and the sinners all with an
equal mind.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


More information about the gnucash-user mailing list