CVS update: gnucash/src/business/business-core/file
Derek Atkins
warlord@linas.org
Tue, 9 Jul 2002 23:12:13 -0500 (CDT)
Date: Tuesday July 9, 2002 @ 23:12
Author: warlord
Update of /home/cvs/cvsroot/gnucash/src/business/business-core/file
In directory www.linas.org:/tmp/cvs-serv5103/src/business/business-core/file
Modified Files:
gnc-entry-xml-v2.c
Log Message:
* Separate Bills and Invoices into (somewhat) different things.
An Entry now has pointers to an Invoice and a Bill, although
both are represented by a GncInvoice. Force a GncInvoice to a
Bill if the owner is a Vendor. (It's a regular Invoice if the
owner is a Customer). Eventually we can support Owner ==
Employee to deal with Expense Reports.
* gncInvoice: add gncBill{Add,Remove}Entry
* gncEntry: add gncEntry{Get,Set}Bill
* gw-business-core: wrap gncEntryGetBill
* gnc-entry-xml-v2: add entry:bill pointer
* gncEntryLedger: deal with Bill Entry. Don't need a lot of
columns (compared to Invoices). This is not complete, but is
at a workable point now.
* dialog-invoice: call the BILL vs. INVOICE entry-ledger based
on the invoice owner.