GnuCash  5.6-125-g579da58a10+
Data Structures | Functions | Variables
gnucash_business.py File Reference

High level python wrapper classes for the business parts of GnuCash. More...

Go to the source code of this file.

Data Structures

class  python.gnucash_business.GnuCashBusinessEntity
 
class  python.gnucash_business.Customer
 
class  python.gnucash_business.Employee
 
class  python.gnucash_business.Vendor
 
class  python.gnucash_business.Job
 
class  python.gnucash_business.Address
 
class  python.gnucash_business.BillTerm
 
class  python.gnucash_business.TaxTable
 
class  python.gnucash_business.TaxTableEntry
 
class  python.gnucash_business.Invoice
 
class  python.gnucash_business.Bill
 
class  python.gnucash_business.Entry
 

Functions

def python.gnucash_business.decorate_to_return_instance_instead_of_owner (dec_function)
 

Variables

dictionary python.gnucash_business.owner_dict
 
dictionary python.gnucash_business.customer_dict
 
dictionary python.gnucash_business.employee_dict
 
dictionary python.gnucash_business.vendor_dict
 
dictionary python.gnucash_business.billterm_dict
 
dictionary python.gnucash_business.taxtable_dict
 
dictionary python.gnucash_business.taxtableentry_dict
 
dictionary python.gnucash_business.invoice_dict
 
dictionary python.gnucash_business.entry_dict
 

Detailed Description

High level python wrapper classes for the business parts of GnuCash.

Author
Mark Jenkins, ParIT Worker Co-operative mark@.nosp@m.pari.nosp@m.t.ca
Jeff Green, ParIT Worker Co-operative jeff@.nosp@m.pari.nosp@m.t.ca

Definition in file gnucash_business.py.

Variable Documentation

◆ billterm_dict

dictionary python.gnucash_business.billterm_dict
Initial value:
1 = {
2  'LookupByName' : BillTerm,
3  'GetDiscount' : GncNumeric,
4  'GetParent' : BillTerm,
5  'ReturnChild' : BillTerm
6  }

Definition at line 299 of file gnucash_business.py.

◆ customer_dict

dictionary python.gnucash_business.customer_dict
Initial value:
1 = {
2  'GetAddr' : Address,
3  'GetShipAddr' : Address,
4  'GetDiscount' : GncNumeric,
5  'GetCredit' : GncNumeric,
6  'GetTerms' : BillTerm,
7  'GetCurrency' : GncCommodity,
8  'GetTaxTable': TaxTable,
9  }

Definition at line 253 of file gnucash_business.py.

◆ employee_dict

dictionary python.gnucash_business.employee_dict
Initial value:
1 = {
2  'GetBook' : Book,
3  'GetAddr' : Address,
4  'GetWorkday' : GncNumeric,
5  'GetRate' : GncNumeric,
6  'GetCurrency' : GncCommodity
7  }

Definition at line 267 of file gnucash_business.py.

◆ entry_dict

dictionary python.gnucash_business.entry_dict
Initial value:
1 = {
2  'GetGUID' : GUID,
3  'GetQuantity': GncNumeric,
4  'GetInvAccount': Account,
5  'GetInvPrice': GncNumeric,
6  'GetInvDiscount': GncNumeric,
7  'GetInvTaxTable': TaxTable,
8  'GetBillAccount': Account,
9  'GetBillPrice': GncNumeric,
10  'GetBillTaxTable': TaxTable,
11  'Copy': Entry,
12  'GetInvoice': Invoice,
13  'GetBill': Invoice
14  }

Definition at line 360 of file gnucash_business.py.

◆ invoice_dict

dictionary python.gnucash_business.invoice_dict
Initial value:
1 = {
2  'GetTerms': BillTerm,
3  'GetCurrency': GncCommodity,
4  'GetToChargeAmount': GncNumeric,
5  'GetPostedLot': GncLot,
6  'GetPostedTxn': Transaction,
7  'GetPostedAcc': Account,
8  'GetTotal': GncNumeric,
9  'GetTotalOf': GncNumeric,
10  'GetTotalSubtotal': GncNumeric,
11  'GetTotalTax': GncNumeric,
12  'PostToAccount': Transaction,
13  'GetBook': Book,
14  }

Definition at line 335 of file gnucash_business.py.

◆ owner_dict

dictionary python.gnucash_business.owner_dict
Initial value:
1 = {
2  'GetGUID' : GUID,
3  'GetCustomer' : Customer,
4  'GetVendor' : Vendor,
5  'GetEmployee' : Employee,
6  'GetJob' : Job,
7  'GetAddr' : Address,
8  'GetCurrency' : GncCommodity,
9  'GetEndOwner': GnuCashBusinessEntity,
10  'GetBalanceInCurrency': GncNumeric,
11  }

Definition at line 231 of file gnucash_business.py.

◆ taxtable_dict

dictionary python.gnucash_business.taxtable_dict
Initial value:
1 = {
2  'GetParent': TaxTable,
3  }

Definition at line 310 of file gnucash_business.py.

◆ taxtableentry_dict

dictionary python.gnucash_business.taxtableentry_dict
Initial value:
1 = {
2  'GetAccount': Account,
3  'GetAmount': GncNumeric,
4  }

Definition at line 319 of file gnucash_business.py.

◆ vendor_dict

dictionary python.gnucash_business.vendor_dict
Initial value:
1 = {
2  'GetAddr' : Address,
3  'GetTerms' : BillTerm,
4  'GetCurrency' : GncCommodity,
5  'GetTaxTable': TaxTable,
6  }

Definition at line 279 of file gnucash_business.py.