Invoice number sequence.

Brian Dolbec brian_dolbec at telus.net
Mon Jul 25 12:51:13 EDT 2005


On Mon, 2005-25-07 at 17:14 +0100, Anne Wilson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Monday 25 Jul 2005 16:00, Derek Atkins wrote:
> > There is no way in the UI to do it.  You have to hand-edit your data file
> > and reset the invoice counter.  It's near the top of the file.
> >
> I've been wanting to do this for a while, for the same reason as Dominic, but 
> frankly, editing the data file without some guidance is terrifying.  What 
> exactly are we looking for?  Can you give us an example line, so that we can 
> find the relevant line and see how to alter it?
> 
> Anne

<?xml version="1.0"?>
<gnc-v2>
<gnc:count-data cd:type="book">1</gnc:count-data>
<gnc:book version="2.0.0">
<book:id type="guid">ff65e012ca8de408410ae96d03d53000</book:id>
<book:slots>
  <slot>
    <slot:key>counters</slot:key>
    <slot:value type="frame">
      <slot>
        <slot:key>gncCustomer</slot:key>
        <slot:value type="integer">1</slot:value>
      </slot>
      <slot>
        <slot:key>gncInvoice</slot:key>
        <slot:value type="integer">1</slot:value>
      </slot>
    </slot:value>
  </slot>


In a small test file of mine it looks like line # 16 is the one

        <slot:key>gncInvoice</slot:key>
        <slot:value type="integer">1</slot:value>
                                   ^ edit this value

-- 
Brian Dolbec <brian_dolbec at telus.net>



More information about the gnucash-user mailing list