GnuCash  5.6-150-g038405b370+
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
 

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)
 Imports a csv file with invoice data into a GtkListStore. More...
 
void gnc_bi_import_fix_bis (GtkListStore *store, guint *fixed, guint *deleted, GString *info, gchar *type)
 Adjusts and validates invoice import data. More...
 
void gnc_bi_import_create_bis (GtkListStore *store, QofBook *book, guint *n_invoices_created, guint *n_invoices_updated, guint *n_rows_ignored, gchar *type, gchar *open_mode, GString *info, GtkWindow *parent)
 Creates and updates invoices from validated import data. More...
 

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
Rob Laan rob.l.nosp@m.aan@.nosp@m.chell.nosp@m.o.nl

Definition in file dialog-bi-import.h.