|
GnuCash c935c2f+
|
A specialized register for Accounts Payable and Accounts Receivable. More...
Files | |
| file | gncEntryLedger.h |
| file | gncEntryLedgerControl.h |
| file | gncEntryLedgerLayout.h |
| file | gncEntryLedgerModel.h |
| file | gncEntryLedgerP.h |
Data Structures | |
| struct | GncEntryLedger |
Macros | |
| #define | ENTRY_IACCT_CELL "inv-account" |
| #define | ENTRY_BACCT_CELL "bill-account" |
| #define | ENTRY_ACTN_CELL "action" |
| #define | ENTRY_DATE_CELL "date" |
| #define | ENTRY_DESC_CELL "description" |
| #define | ENTRY_DISC_CELL "discount" |
| #define | ENTRY_DISTYPE_CELL "discount-type" |
| #define | ENTRY_DISHOW_CELL "discount-how" |
| #define | ENTRY_PRIC_CELL "price" |
| #define | ENTRY_QTY_CELL "quantity" |
| #define | ENTRY_TAXABLE_CELL "istaxable" |
| #define | ENTRY_TAXTABLE_CELL "taxtable" |
| #define | ENTRY_TAXINCLUDED_CELL "taxincluded" |
| #define | ENTRY_BILLABLE_CELL "isbillable" |
| #define | ENTRY_INV_CELL "isinvoiced" |
| #define | ENTRY_VALUE_CELL "line-value" |
| #define | ENTRY_TAXVAL_CELL "line-tax-val" |
| #define | ENTRY_PAYMENT_CELL "payment" |
Functions | |
| GncEntryLedger * | gnc_entry_ledger_new (QofBook *book, GncEntryLedgerType type) |
| Create and return a new GncEntry Ledger. | |
| void | gnc_entry_ledger_set_default_order (GncEntryLedger *ledger, GncOrder *order) |
| Set the default order for this ledger. | |
| void | gnc_entry_ledger_set_default_invoice (GncEntryLedger *ledger, GncInvoice *invoice) |
| Set the default invoice for this ledger. | |
| void | gnc_entry_ledger_destroy (GncEntryLedger *ledger) |
| Destroy the GncEntry Ledger. | |
| GncEntry * | gnc_entry_ledger_get_current_entry (GncEntryLedger *ledger) |
| Returns the Entry where the cursor is currently located. | |
| void | gnc_entry_ledger_load (GncEntryLedger *ledger, GList *entry_list) |
| Copy GncEntry information from the list to the rows of the Ledger. | |
| void | gnc_entry_ledger_display_refresh (GncEntryLedger *ledger) |
| Table * | gnc_entry_ledger_get_table (GncEntryLedger *ledger) |
| Get the Table. | |
| void | gnc_entry_ledger_set_parent (GncEntryLedger *ledger, GtkWidget *parent) |
| void | gnc_entry_ledger_set_readonly (GncEntryLedger *ledger, gboolean readonly) |
| gboolean | gnc_entry_ledger_changed (GncEntryLedger *ledger) |
| void | gnc_entry_ledger_cancel_cursor_changes (GncEntryLedger *ledger) |
| gboolean | gnc_entry_ledger_commit_entry (GncEntryLedger *ledger) |
| This will act just like hitting 'return' to record an entry. | |
| gboolean | gnc_entry_ledger_check_close (GtkWidget *parent, GncEntryLedger *ledger) |
| This will ask the user if they really want to make a change. | |
| void | gnc_entry_ledger_reset_query (GncEntryLedger *ledger) |
| GncEntry * | gnc_entry_ledger_get_entry (GncEntryLedger *ledger, VirtualCellLocation vcell_loc) |
| Returns the GncEntry at the given location, or NULL if the location is not valid. | |
| GncEntry * | gnc_entry_ledger_get_blank_entry (GncEntryLedger *ledger) |
| Returns the GncEntry that represents the blank new line at the bottom of the ledger. | |
| gboolean | gnc_entry_ledger_get_entry_virt_loc (GncEntryLedger *ledger, const GncEntry *entry, VirtualCellLocation *vcell_loc) |
| Looks up the cell location of the given "entry" and writes the location into the variable pointed to by vcell_loc (which must be non-NULL). | |
| void | gnc_entry_ledger_delete_current_entry (GncEntryLedger *ledger) |
| void | gnc_entry_ledger_duplicate_current_entry (GncEntryLedger *ledger) |
| void | gnc_entry_ledger_move_current_entry_updown (GncEntryLedger *ledger, gboolean move_up) |
| This implements the command of moving the current entry (where the cursor is currently located) one row upwards or downwards, effectively swapping this row and the other row. | |
| QofQuery * | gnc_entry_ledger_get_query (GncEntryLedger *ledger) |
| void | gnc_entry_ledger_set_prefs_group (GncEntryLedger *ledger, const gchar *string) |
| TableControl * | gnc_entry_ledger_control_new (void) |
| TableLayout * | gnc_entry_ledger_layout_new (GncEntryLedger *ledger) |
| TableModel * | gnc_entry_ledger_model_new (GncEntryLedgerType type) |
| Public Interface. | |
| Account * | gnc_entry_ledger_get_account_by_name (GncEntryLedger *ledger, BasicCell *bcell, const char *name, gboolean *isnew) |
| Account * | gnc_entry_ledger_get_account (GncEntryLedger *ledger, const char *cell_name) |
| GncTaxTable * | gnc_entry_ledger_get_taxtable (GncEntryLedger *ledger, const char *cell_name) |
| gint | gnc_entry_ledger_get_type (GncEntryLedger *ledger, const char *cell_name) |
| gboolean | gnc_entry_ledger_get_checkmark (GncEntryLedger *ledger, const char *cell_name) |
| gboolean | gnc_entry_ledger_get_numeric (GncEntryLedger *ledger, const char *cell_name, gnc_numeric *value) |
| const char * | gnc_entry_ledger_type_string_getter (char flag) |
| const char * | gnc_entry_ledger_how_string_getter (char flag) |
| gboolean | gnc_entry_ledger_find_entry (GncEntryLedger *ledger, GncEntry *entry, VirtualCellLocation *vcell_loc) |
| void | gnc_entry_ledger_load_xfer_cells (GncEntryLedger *ledger) |
| void | gnc_entry_ledger_display_init (GncEntryLedger *ledger) |
| void | gnc_entry_ledger_display_fini (GncEntryLedger *ledger) |
| void | gnc_entry_ledger_compute_value (GncEntryLedger *ledger, gnc_numeric *value, gnc_numeric *tax_value) |
A specialized register for Accounts Payable and Accounts Receivable.
| #define ENTRY_ACTN_CELL "action" |
Definition at line 60 of file gncEntryLedger.h.
| #define ENTRY_BACCT_CELL "bill-account" |
Definition at line 59 of file gncEntryLedger.h.
| #define ENTRY_BILLABLE_CELL "isbillable" |
Definition at line 71 of file gncEntryLedger.h.
| #define ENTRY_DATE_CELL "date" |
Definition at line 61 of file gncEntryLedger.h.
| #define ENTRY_DESC_CELL "description" |
Definition at line 62 of file gncEntryLedger.h.
| #define ENTRY_DISC_CELL "discount" |
Definition at line 63 of file gncEntryLedger.h.
| #define ENTRY_DISHOW_CELL "discount-how" |
Definition at line 65 of file gncEntryLedger.h.
| #define ENTRY_DISTYPE_CELL "discount-type" |
Definition at line 64 of file gncEntryLedger.h.
| #define ENTRY_IACCT_CELL "inv-account" |
Definition at line 58 of file gncEntryLedger.h.
| #define ENTRY_INV_CELL "isinvoiced" |
Definition at line 73 of file gncEntryLedger.h.
| #define ENTRY_PAYMENT_CELL "payment" |
Definition at line 77 of file gncEntryLedger.h.
| #define ENTRY_PRIC_CELL "price" |
Definition at line 66 of file gncEntryLedger.h.
| #define ENTRY_QTY_CELL "quantity" |
Definition at line 67 of file gncEntryLedger.h.
| #define ENTRY_TAXABLE_CELL "istaxable" |
Definition at line 68 of file gncEntryLedger.h.
| #define ENTRY_TAXINCLUDED_CELL "taxincluded" |
Definition at line 70 of file gncEntryLedger.h.
| #define ENTRY_TAXTABLE_CELL "taxtable" |
Definition at line 69 of file gncEntryLedger.h.
| #define ENTRY_TAXVAL_CELL "line-tax-val" |
Definition at line 75 of file gncEntryLedger.h.
| #define ENTRY_VALUE_CELL "line-value" |
Definition at line 74 of file gncEntryLedger.h.
| enum GncEntryLedgerType |
Definition at line 38 of file gncEntryLedger.h.
| void gnc_entry_ledger_cancel_cursor_changes | ( | GncEntryLedger * | ledger | ) |
Definition at line 956 of file gncEntryLedgerControl.c.
| gboolean gnc_entry_ledger_changed | ( | GncEntryLedger * | ledger | ) |
Definition at line 694 of file gncEntryLedger.c.
| gboolean gnc_entry_ledger_check_close | ( | GtkWidget * | parent, |
| GncEntryLedger * | ledger | ||
| ) |
This will ask the user if they really want to make a change.
Definition at line 1012 of file gncEntryLedgerControl.c.
| gboolean gnc_entry_ledger_commit_entry | ( | GncEntryLedger * | ledger | ) |
This will act just like hitting 'return' to record an entry.
Definition at line 1004 of file gncEntryLedgerControl.c.
| void gnc_entry_ledger_compute_value | ( | GncEntryLedger * | ledger, |
| gnc_numeric * | value, | ||
| gnc_numeric * | tax_value | ||
| ) |
Definition at line 706 of file gncEntryLedger.c.
| TableControl * gnc_entry_ledger_control_new | ( | void | ) |
Definition at line 944 of file gncEntryLedgerControl.c.
| void gnc_entry_ledger_delete_current_entry | ( | GncEntryLedger * | ledger | ) |
Definition at line 837 of file gncEntryLedger.c.
| void gnc_entry_ledger_destroy | ( | GncEntryLedger * | ledger | ) |
Destroy the GncEntry Ledger.
Definition at line 387 of file gncEntryLedger.c.
| void gnc_entry_ledger_display_fini | ( | GncEntryLedger * | ledger | ) |
Definition at line 192 of file gncEntryLedgerDisplay.c.
| void gnc_entry_ledger_display_init | ( | GncEntryLedger * | ledger | ) |
Definition at line 177 of file gncEntryLedgerDisplay.c.
| void gnc_entry_ledger_display_refresh | ( | GncEntryLedger * | ledger | ) |
Definition at line 202 of file gncEntryLedgerDisplay.c.
| void gnc_entry_ledger_duplicate_current_entry | ( | GncEntryLedger * | ledger | ) |
Definition at line 883 of file gncEntryLedger.c.
| gboolean gnc_entry_ledger_find_entry | ( | GncEntryLedger * | ledger, |
| GncEntry * | entry, | ||
| VirtualCellLocation * | vcell_loc | ||
| ) |
Definition at line 582 of file gncEntryLedger.c.
| Account * gnc_entry_ledger_get_account | ( | GncEntryLedger * | ledger, |
| const char * | cell_name | ||
| ) |
Definition at line 143 of file gncEntryLedger.c.
| Account * gnc_entry_ledger_get_account_by_name | ( | GncEntryLedger * | ledger, |
| BasicCell * | bcell, | ||
| const char * | name, | ||
| gboolean * | isnew | ||
| ) |
Definition at line 82 of file gncEntryLedger.c.
| GncEntry * gnc_entry_ledger_get_blank_entry | ( | GncEntryLedger * | ledger | ) |
Returns the GncEntry that represents the blank new line at the bottom of the ledger.
Returns the GncEntry that represents the blank new line at the bottom of the ledger.
Definition at line 75 of file gncEntryLedger.c.
| gboolean gnc_entry_ledger_get_checkmark | ( | GncEntryLedger * | ledger, |
| const char * | cell_name | ||
| ) |
Definition at line 179 of file gncEntryLedger.c.
| GncEntry * gnc_entry_ledger_get_current_entry | ( | GncEntryLedger * | ledger | ) |
Returns the Entry where the cursor is currently located.
Definition at line 232 of file gncEntryLedger.c.
| GncEntry * gnc_entry_ledger_get_entry | ( | GncEntryLedger * | ledger, |
| VirtualCellLocation | vcell_loc | ||
| ) |
Returns the GncEntry at the given location, or NULL if the location is not valid.
Definition at line 218 of file gncEntryLedger.c.
| gboolean gnc_entry_ledger_get_entry_virt_loc | ( | GncEntryLedger * | ledger, |
| const GncEntry * | entry, | ||
| VirtualCellLocation * | vcell_loc | ||
| ) |
Looks up the cell location of the given "entry" and writes the location into the variable pointed to by vcell_loc (which must be non-NULL).
Returns TRUE if the entry was found, otherwise FALSE.
Definition at line 793 of file gncEntryLedger.c.
| gboolean gnc_entry_ledger_get_numeric | ( | GncEntryLedger * | ledger, |
| const char * | cell_name, | ||
| gnc_numeric * | value | ||
| ) |
Definition at line 203 of file gncEntryLedger.c.
| QofQuery * gnc_entry_ledger_get_query | ( | GncEntryLedger * | ledger | ) |
Definition at line 966 of file gncEntryLedger.c.
| Table * gnc_entry_ledger_get_table | ( | GncEntryLedger * | ledger | ) |
Get the Table.
Definition at line 399 of file gncEntryLedger.c.
| GncTaxTable * gnc_entry_ledger_get_taxtable | ( | GncEntryLedger * | ledger, |
| const char * | cell_name | ||
| ) |
Definition at line 157 of file gncEntryLedger.c.
| gint gnc_entry_ledger_get_type | ( | GncEntryLedger * | ledger, |
| const char * | cell_name | ||
| ) |
Definition at line 191 of file gncEntryLedger.c.
| const char * gnc_entry_ledger_how_string_getter | ( | char | flag | ) |
Definition at line 62 of file gncEntryLedgerLoad.c.
| TableLayout * gnc_entry_ledger_layout_new | ( | GncEntryLedger * | ledger | ) |
Definition at line 290 of file gncEntryLedgerLayout.c.
| void gnc_entry_ledger_load | ( | GncEntryLedger * | ledger, |
| GList * | entry_list | ||
| ) |
Copy GncEntry information from the list to the rows of the Ledger.
Definition at line 329 of file gncEntryLedgerLoad.c.
| void gnc_entry_ledger_load_xfer_cells | ( | GncEntryLedger * | ledger | ) |
Definition at line 315 of file gncEntryLedgerLoad.c.
| TableModel * gnc_entry_ledger_model_new | ( | GncEntryLedgerType | type | ) |
Public Interface.
Definition at line 1263 of file gncEntryLedgerModel.c.
| void gnc_entry_ledger_move_current_entry_updown | ( | GncEntryLedger * | ledger, |
| gboolean | move_up | ||
| ) |
This implements the command of moving the current entry (where the cursor is currently located) one row upwards or downwards, effectively swapping this row and the other row.
If the other row is empty (or it is the blank entry), nothing will happen.
| move_up | If TRUE, the current entry is moved upwards, otherwise downwards. |
Definition at line 983 of file gncEntryLedger.c.
| GncEntryLedger * gnc_entry_ledger_new | ( | QofBook * | book, |
| GncEntryLedgerType | type | ||
| ) |
Create and return a new GncEntry Ledger.
Definition at line 274 of file gncEntryLedger.c.
| void gnc_entry_ledger_reset_query | ( | GncEntryLedger * | ledger | ) |
Definition at line 567 of file gncEntryLedger.c.
| void gnc_entry_ledger_set_default_invoice | ( | GncEntryLedger * | ledger, |
| GncInvoice * | invoice | ||
| ) |
Set the default invoice for this ledger.
Definition at line 544 of file gncEntryLedger.c.
| void gnc_entry_ledger_set_default_order | ( | GncEntryLedger * | ledger, |
| GncOrder * | order | ||
| ) |
Set the default order for this ledger.
Definition at line 405 of file gncEntryLedger.c.
| void gnc_entry_ledger_set_parent | ( | GncEntryLedger * | ledger, |
| GtkWidget * | parent | ||
| ) |
Definition at line 576 of file gncEntryLedger.c.
| void gnc_entry_ledger_set_prefs_group | ( | GncEntryLedger * | ledger, |
| const gchar * | string | ||
| ) |
Definition at line 975 of file gncEntryLedger.c.
| void gnc_entry_ledger_set_readonly | ( | GncEntryLedger * | ledger, |
| gboolean | readonly | ||
| ) |
Definition at line 605 of file gncEntryLedger.c.
| const char * gnc_entry_ledger_type_string_getter | ( | char | flag | ) |
Definition at line 48 of file gncEntryLedgerLoad.c.