24 #ifndef GNC_ENTRY_LEDGER_H
25 #define GNC_ENTRY_LEDGER_H
34 GNC_ENTRY_ORDER_NONE = -1,
36 GNCENTRY_ORDER_VIEWER,
37 GNCENTRY_INVOICE_ENTRY,
38 GNCENTRY_INVOICE_VIEWER,
39 GNCENTRY_CUST_CREDIT_NOTE_ENTRY,
40 GNCENTRY_CUST_CREDIT_NOTE_VIEWER,
43 GNCENTRY_VEND_CREDIT_NOTE_ENTRY,
44 GNCENTRY_VEND_CREDIT_NOTE_VIEWER,
45 GNCENTRY_EXPVOUCHER_ENTRY,
46 GNCENTRY_EXPVOUCHER_VIEWER,
47 GNCENTRY_EMPL_CREDIT_NOTE_ENTRY,
48 GNCENTRY_EMPL_CREDIT_NOTE_VIEWER,
49 GNCENTRY_NUM_REGISTER_TYPES
52 #define ENTRY_IACCT_CELL "inv-account"
53 #define ENTRY_BACCT_CELL "bill-account"
54 #define ENTRY_ACTN_CELL "action"
55 #define ENTRY_DATE_CELL "date"
56 #define ENTRY_DESC_CELL "description"
57 #define ENTRY_DISC_CELL "discount"
58 #define ENTRY_DISTYPE_CELL "discount-type"
59 #define ENTRY_DISHOW_CELL "discount-how"
60 #define ENTRY_PRIC_CELL "price"
61 #define ENTRY_QTY_CELL "quantity"
62 #define ENTRY_TAXABLE_CELL "istaxable"
63 #define ENTRY_TAXTABLE_CELL "taxtable"
64 #define ENTRY_TAXINCLUDED_CELL "taxincluded"
65 #define ENTRY_BILLABLE_CELL "isbillable"
67 #define ENTRY_INV_CELL "isinvoiced"
68 #define ENTRY_VALUE_CELL "line-value"
69 #define ENTRY_TAXVAL_CELL "line-tax-val"
71 #define ENTRY_PAYMENT_CELL "payment"
95 void gnc_entry_ledger_load (
GncEntryLedger *ledger, GList *entry_list);
102 void gnc_entry_ledger_set_parent (
GncEntryLedger *ledger, GtkWidget *parent);
104 void gnc_entry_ledger_set_readonly (
GncEntryLedger *ledger, gboolean readonly);
108 void gnc_entry_ledger_cancel_cursor_changes (
GncEntryLedger *ledger);
114 gboolean gnc_entry_ledger_check_close (GtkWidget *parent,
GncEntryLedger *ledger);
130 gboolean gnc_entry_ledger_get_entry_virt_loc (
GncEntryLedger *ledger,
134 void gnc_entry_ledger_delete_current_entry (
GncEntryLedger *ledger);
135 void gnc_entry_ledger_duplicate_current_entry (
GncEntryLedger *ledger);
144 void gnc_entry_ledger_move_current_entry_updown (
GncEntryLedger *ledger,
149 void gnc_entry_ledger_set_prefs_group (
GncEntryLedger *ledger,
const gchar *
string);
struct _QofQuery QofQuery
Declarations for the Table object.
Business Entry Interface.