GnuCash
5.6-150-g038405b370+
|
– Business Helper Functions More...
Go to the source code of this file.
Typedefs | |
typedef GList | OwnerList |
For SWIG: A GList containing GncOwner. More... | |
Functions | |
GList * | gncBusinessGetList (QofBook *book, QofIdTypeConst type_name, gboolean all_including_inactive) |
Returns a GList of all objects of the given type_name in the given book. More... | |
OwnerList * | gncBusinessGetOwnerList (QofBook *book, QofIdTypeConst type_name, gboolean all_including_inactive) |
Returns a GList of all objects of the given type_name in the given book, but each object is wrapped in a GncOwner object. More... | |
gboolean | gncBusinessIsPaymentAcctType (GNCAccountType type) |
Returns whether the given account type is a valid type to use in business payments. More... | |
– Business Helper Functions
Definition in file gncBusiness.h.
typedef GList OwnerList |
For SWIG: A GList containing GncOwner.
Definition at line 121 of file gncBusiness.h.
GList* gncBusinessGetList | ( | QofBook * | book, |
QofIdTypeConst | type_name, | ||
gboolean | all_including_inactive | ||
) |
Returns a GList of all objects of the given type_name in the given book.
OwnerList* gncBusinessGetOwnerList | ( | QofBook * | book, |
QofIdTypeConst | type_name, | ||
gboolean | all_including_inactive | ||
) |
Returns a GList of all objects of the given type_name in the given book, but each object is wrapped in a GncOwner object.
The wrapping was done by qofOwnerSetEntity(), hence the owner will contain data only for {CUSTOMER, JOB, VENDOR, EMPLOYEE}, otherwise the owner will be of type GNC_OWNER_NONE and not contain the original data.
gboolean gncBusinessIsPaymentAcctType | ( | GNCAccountType | type | ) |
Returns whether the given account type is a valid type to use in business payments.
Currently payments are allowed to/from assets, liabilities and equity accounts.
Definition at line 92 of file gncBusiness.c.