|
GnuCash 2.4.99
|
00001 /********************************************************************\ 00002 * gncInvoiceP.h -- the Core Busines Invoice Interface * 00003 * * 00004 * This program is free software; you can redistribute it and/or * 00005 * modify it under the terms of the GNU General Public License as * 00006 * published by the Free Software Foundation; either version 2 of * 00007 * the License, or (at your option) any later version. * 00008 * * 00009 * This program is distributed in the hope that it will be useful, * 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00012 * GNU General Public License for more details. * 00013 * * 00014 * You should have received a copy of the GNU General Public License* 00015 * along with this program; if not, contact: * 00016 * * 00017 * Free Software Foundation Voice: +1-617-542-5942 * 00018 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * 00019 * Boston, MA 02110-1301, USA gnu@gnu.org * 00020 * * 00021 \********************************************************************/ 00022 00023 /* 00024 * Copyright (C) 2001 Derek Atkins 00025 * Author: Derek Atkins <warlord@MIT.EDU> 00026 */ 00027 00028 #ifndef GNC_INVOICEP_H_ 00029 #define GNC_INVOICEP_H_ 00030 00031 #include "gncInvoice.h" 00032 #include "Account.h" 00033 #include "Transaction.h" 00034 #include "gnc-lot.h" 00035 #include "gncOwner.h" 00036 00037 gboolean gncInvoiceRegister (void); 00038 gchar *gncInvoiceNextID (QofBook *book, const GncOwner *owner); 00039 void gncInvoiceSetPostedAcc (GncInvoice *invoice, Account *acc); 00040 void gncInvoiceSetPostedTxn (GncInvoice *invoice, Transaction *txn); 00041 void gncInvoiceSetPostedLot (GncInvoice *invoice, GNCLot *lot); 00042 //void gncInvoiceSetPaidTxn (GncInvoice *invoice, Transaction *txn); 00043 00044 #define gncInvoiceSetGUID(I,G) qof_instance_set_guid(QOF_INSTANCE(I),(G)) 00045 #endif /* GNC_INVOICEP_H_ */
1.7.4