GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Enumerations | Functions
dialog-bi-import.h File Reference

core import functions for invoice import plugin More...

#include <glib.h>
#include <gtk/gtk.h>

Go to the source code of this file.

Data Structures

struct  _bi_import_stats
 

Typedefs

typedef enum _bi_import_result bi_import_result
 
typedef struct _bi_import_stats bi_import_stats
 

Enumerations

enum  bi_import_model_columns {
  ID, DATE_OPENED, OWNER_ID, BILLING_ID,
  NOTES, DATE, DESC, ACTION,
  ACCOUNT, QUANTITY, PRICE, DISC_TYPE,
  DISC_HOW, DISCOUNT, TAXABLE, TAXINCLUDED,
  TAX_TABLE, DATE_POSTED, DUE_DATE, ACCOUNT_POSTED,
  MEMO_POSTED, ACCU_SPLITS, N_COLUMNS
}
 
enum  _bi_import_result { RESULT_OK, RESULT_OPEN_FAILED, RESULT_ERROR_IN_REGEXP }
 

Functions

bi_import_result gnc_bi_import_read_file (const gchar *filename, const gchar *parser_regexp, GtkListStore *store, guint max_rows, bi_import_stats *stats)
 
void gnc_bi_import_fix_bis (GtkListStore *store, guint *fixed, guint *deleted, GString *info, gchar *type)
 try to fix some common errors in the csv representation of invoices More...
 
void gnc_bi_import_create_bis (GtkListStore *store, QofBook *book, guint *n_invoices_created, guint *n_invoices_updated, gchar *type, gchar *open_mode, GString *info)
 

Detailed Description

core import functions for invoice import plugin

Author
Copyright (C) 2009 Sebastian Held sebas.nosp@m.tian.nosp@m..held.nosp@m.@gmx.nosp@m..de
Mike Evans mikee.nosp@m.@sax.nosp@m.icola.nosp@m..co..nosp@m.uk

Definition in file dialog-bi-import.h.