|
GnuCash c935c2f+
|
Some examples for qof queries. More...
Go to the source code of this file.
Functions | |
| qof.createAccounts (book) | |
| qof.createRandomTransactions (book, accountA, accountB) | |
| qof.query_transactions (book, terms=[]) | |
| qof.query_splits (book, terms=[]) | |
Variables | |
| str | qof.uri = "xml:///tmp/qof.gnucash" |
| qof.book = ses.get_book() | |
| qof.accountA | |
| qof.accountB | |
| qof.transactions_all = query_transactions(book) | |
| qof.threshold = datetime.datetime(1950,1,1) | |
| int | qof.QOF_DATE_MATCH_NORMAL = 2 |
| list | qof.terms = [(['date-posted'], gnucash_core.QueryDatePredicate(QOF_COMPARE_GTE, QOF_DATE_MATCH_NORMAL, threshold), QOF_QUERY_AND)] |
| qof.transactions_2 = query_transactions(book, terms) | |
| bool | qof.isRegex = False |
| qof.transactions_3 = query_transactions(book, terms) | |
| qof.splits_1 = query_splits(book, terms) | |
| qof.splits_2 = query_splits(book, terms) | |
| qof.splits_4 = query_splits(book, terms) | |
| qof.splits_3 = query_splits(book, terms) | |
Some examples for qof queries.
Definition in file qof.py.
| qof.createAccounts | ( | book | ) |
Definition at line 23 of file qof.py.
| qof.createRandomTransactions | ( | book, | |
| accountA, | |||
| accountB | |||
| ) |
Definition at line 44 of file qof.py.
| qof.query_splits | ( | book, | |
terms = [] |
|||
| ) |
Definition at line 96 of file qof.py.
| qof.query_transactions | ( | book, | |
terms = [] |
|||
| ) |
Definition at line 77 of file qof.py.
| list qof.terms = [(['date-posted'], gnucash_core.QueryDatePredicate(QOF_COMPARE_GTE, QOF_DATE_MATCH_NORMAL, threshold), QOF_QUERY_AND)] |