GnuCash  5.6-150-g038405b370+
Functions | Variables

Some examples for qof queries. More...

Go to the source code of this file.

Functions

def qof.createAccounts (book)
 
def qof.createRandomTransactions (book, accountA, accountB)
 
def qof.query_transactions (book, terms=[])
 
def qof.query_splits (book, terms=[])
 

Variables

string qof.uri = "xml:///tmp/qof.gnucash"
 
 qof.book = ses.get_book()
 
 qof.accountA
 
 qof.accountB
 
def 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)]
 
def qof.transactions_2 = query_transactions(book, terms)
 
bool qof.isRegex = False
 
def qof.transactions_3 = query_transactions(book, terms)
 
def qof.splits_1 = query_splits(book, terms)
 
def qof.splits_2 = query_splits(book, terms)
 
def qof.splits_4 = query_splits(book, terms)
 
def qof.splits_3 = query_splits(book, terms)
 

Detailed Description

Some examples for qof queries.

Author
Christoph Holtermann
Date
2022-03-06
Note
incomplete set of qof examples, to be extended

Definition in file qof.py.