Invoice questions

Robert Heller heller at deepsoft.com
Mon Jun 30 18:47:06 EDT 2008


At Mon, 30 Jun 2008 15:01:32 -0700 tonyn at openlearning.com wrote:

> 
> Thanks Robert.  I just found a reference to this in the doc as well
> (sorry about that).  I am running on a Linux system (Ubuntu), but I'm
> not sure which data file you are referring to.  Is it my company file
> (olc.xac), or something in /usr/lib/gnucash, or what?  

It would be olc.xac.  Invoice numbering is kept with *your* data.  This
datafile contains all of your bookeeping information: your account tree,
your transactions, your invoices, and so on.  It is a compressed XML
file.

You would do something like this from the command line (while GnuCash
is NOT running anywhere!):

$ gunzip <olc.xac >olc.xac.temp
$ <some editor, eg emacs or gedit or vi> olc.xac.temp
[change the gncInvoice value]
[save file]
$ gzip <olc.xac.temp  >olc.xac

> 
> Sorry for being so obtuse.
> 
> -Tony
> 
> On Mon, 2008-06-30 at 16:25 -0400, Robert Heller wrote:
> > At Mon, 30 Jun 2008 10:44:57 -0700 tonyn at openlearning.com wrote:
> > 
> > > 
> > > Hi All,
> > > 
> > > It seems to me that once I create and number an invoice (e.g., 3036),
> > > subsequent invoice numbers should be automatically incremented from
> > > there.  Is there a setting that I can tweak to make this happen?
> > 
> > Yes and no :-).
> > 
> > You have to *hand edit* the data file, after uncompressing it (under
> > Linux/UNIX -- I don't know about MS-Windows).
> > 
> > Then open the uncompressed file using a text editor and look for
> > "<slot:key>gncInvoice</slot:key>"
> > 
> > The next line will look like:
> > 
> > <slot:value type="integer">2</slot:value>
> > 
> > Change the number 2 above to the last invoice number you have already
> > used (e.g., 3036).
> > 
> > Save the text file, and re-compress the file (under Linux/UNIX).
> > 
> > > 
> > > Also, selecting a vendor seems to be a bit cumbersome.  Under billing
> > > information I can't simply enter the customer name (or enough of the
> > > customer name to be unique).  Instead I seem to have to click on the
> > > "customer select" button, search for the customer, and then select the
> > > customer.  This is a lot of steps, particularly for a small company with
> > > only a handful of customers.  Is there a better way to enter a customer
> > > to be invoiced?
> > > 
> > > Thanks as always!
> > > --Tony
> > > 
> > > _______________________________________________
> > > 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.
> > > 
> > >                                                                                                     
> > 
> 
>                                                                                                       

-- 
Robert Heller             -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software        -- Linux Installation and Administration
http://www.deepsoft.com/  -- Web Hosting, with CGI and Database
heller at deepsoft.com       -- Contract Programming: C/C++, Tcl/Tk
                                                                                              


More information about the gnucash-user mailing list