32 #ifndef GNC_PLUGIN_BI_IMPORT_H 33 #define GNC_PLUGIN_BI_IMPORT_H 41 enum bi_import_model_columns
43 ID, DATE_OPENED, OWNER_ID, BILLING_ID, NOTES,
44 DATE, DESC, ACTION, ACCOUNT, QUANTITY, PRICE, DISC_TYPE, DISC_HOW, DISCOUNT, TAXABLE, TAXINCLUDED, TAX_TABLE,
45 DATE_POSTED, DUE_DATE, ACCOUNT_POSTED, MEMO_POSTED, ACCU_SPLITS,
49 enum _bi_import_result
53 RESULT_ERROR_IN_REGEXP,
55 typedef enum _bi_import_result bi_import_result;
59 int n_imported, n_ignored;
60 GString *ignored_lines;
66 gnc_bi_import_read_file (
const gchar *filename,
const gchar *parser_regexp, GtkListStore *store, guint max_rows, bi_import_stats *stats);
69 gnc_bi_import_fix_bis (GtkListStore *store, guint *fixed, guint *deleted, GString *info, gchar *type);
73 guint *n_invoices_updated, guint *n_rows_ignored, gchar *type, gchar *open_mode, GString * info,