GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
GncCsvTransLine Struct Reference

#include <gnc-csv-model.h>

Data Fields

int line_no
 
Transactiontrans
 
gnc_numeric balance
 
gboolean balance_set
 
gchar * num
 

Detailed Description

Struct pairing a transaction with a line number. This struct is used to keep the transactions in order. When rows are separated into "valid" and "error" lists (in case some of the rows have cells that are unparseable), we want the user to still be able to "correct" the error list. If we keep the line numbers of valid transactions, we can then put transactions created from the newly corrected rows into the right places.

Definition at line 79 of file gnc-csv-model.h.

Field Documentation

gnc_numeric GncCsvTransLine::balance

The (supposed) balance after this transaction takes place

Definition at line 83 of file gnc-csv-model.h.

gboolean GncCsvTransLine::balance_set

TRUE if balance has been set from user data, FALSE otherwise

Definition at line 84 of file gnc-csv-model.h.

gchar* GncCsvTransLine::num

Saves the 'num'for use if balance has been set from user data

Definition at line 85 of file gnc-csv-model.h.


The documentation for this struct was generated from the following file: