|
GnuCash c935c2f+
|
Public Member Functions | |
| InvoiceLookup (self, guid) | |
| EntryLookup (self, guid) | |
| CustomerLookup (self, guid) | |
| JobLookup (self, guid) | |
| VendorLookup (self, guid) | |
| EmployeeLookup (self, guid) | |
| TaxTableLookup (self, guid) | |
| TaxTableLookupByName (self, name) | |
| TaxTableGetTables (self) | |
| BillLookupByID (self, id) | |
| InvoiceLookupByID (self, id) | |
| CustomerLookupByID (self, id) | |
| VendorLookupByID (self, id) | |
| InvoiceNextID (self, customer) | |
| BillNextID (self, vendor) | |
| CustomerNextID (self) | |
| VendorNextID (self) | |
Public Member Functions inherited from python.gnucash_core.GnuCashCoreClass | |
| do_lookup_create_oo_instance (self, lookup_function, cls, *args) | |
Additional Inherited Members | |
Static Protected Attributes inherited from python.gnucash_core.GnuCashCoreClass | |
| _module = gnucash_core_c | |
A Book encapsulates all of the GnuCash data, it is the place where
all GnuCash entities (Transaction, Split, Vendor, Invoice...), are
stored. You'll notice that all of the constructors for those entities
need a book to be associated with.
The most common way to get a book is through the book property in the
Session class, that is, create a session that connects to some storage,
such as through 'my_session = Session('file:my_books.xac')', and access
the book via the book property, 'my_session.book'
If you would like to create a Book without any backing storage, call the
Book constructor without any parameters, 'Book()'. You can later merge
such a book into a book with actual store by using merge_init.
Methods of interest
get_root_account -- Returns the root level Account
get_table -- Returns a commodity lookup table, of type GncCommodityTable
Definition at line 414 of file gnucash_core.py.
| python.gnucash_core.Book.BillLookupByID | ( | self, | |
| id | |||
| ) |
Definition at line 477 of file gnucash_core.py.
| python.gnucash_core.Book.BillNextID | ( | self, | |
| vendor | |||
| ) |
Return the next Bill ID.
Definition at line 503 of file gnucash_core.py.
| python.gnucash_core.Book.CustomerLookup | ( | self, | |
| guid | |||
| ) |
Definition at line 443 of file gnucash_core.py.
| python.gnucash_core.Book.CustomerLookupByID | ( | self, | |
| id | |||
| ) |
Definition at line 487 of file gnucash_core.py.
| python.gnucash_core.Book.CustomerNextID | ( | self | ) |
Return the next Customer ID.
Definition at line 508 of file gnucash_core.py.
| python.gnucash_core.Book.EmployeeLookup | ( | self, | |
| guid | |||
| ) |
Definition at line 458 of file gnucash_core.py.
| python.gnucash_core.Book.EntryLookup | ( | self, | |
| guid | |||
| ) |
Definition at line 438 of file gnucash_core.py.
| python.gnucash_core.Book.InvoiceLookup | ( | self, | |
| guid | |||
| ) |
Definition at line 433 of file gnucash_core.py.
| python.gnucash_core.Book.InvoiceLookupByID | ( | self, | |
| id | |||
| ) |
Definition at line 482 of file gnucash_core.py.
| python.gnucash_core.Book.InvoiceNextID | ( | self, | |
| customer | |||
| ) |
Return the next invoice ID.
Definition at line 497 of file gnucash_core.py.
| python.gnucash_core.Book.JobLookup | ( | self, | |
| guid | |||
| ) |
Definition at line 448 of file gnucash_core.py.
| python.gnucash_core.Book.TaxTableGetTables | ( | self | ) |
Definition at line 473 of file gnucash_core.py.
| python.gnucash_core.Book.TaxTableLookup | ( | self, | |
| guid | |||
| ) |
Definition at line 463 of file gnucash_core.py.
| python.gnucash_core.Book.TaxTableLookupByName | ( | self, | |
| name | |||
| ) |
Definition at line 468 of file gnucash_core.py.
| python.gnucash_core.Book.VendorLookup | ( | self, | |
| guid | |||
| ) |
Definition at line 453 of file gnucash_core.py.
| python.gnucash_core.Book.VendorLookupByID | ( | self, | |
| id | |||
| ) |
Definition at line 492 of file gnucash_core.py.
| python.gnucash_core.Book.VendorNextID | ( | self | ) |
Return the next Vendor ID.
Definition at line 513 of file gnucash_core.py.