GnuCash
2.6.99
|
#include <glib.h>
#include "qof.h"
Go to the source code of this file.
Typedefs | |
typedef GList | OwnerList |
Functions | |
GList * | gncBusinessGetList (QofBook *book, QofIdTypeConst type_name, gboolean all_including_inactive) |
OwnerList * | gncBusinessGetOwnerList (QofBook *book, QofIdTypeConst type_name, gboolean all_including_inactive) |
– Business Helper Functions
Definition in file gncBusiness.h.
typedef GList OwnerList |
For SWIG: A GList containing GncOwner.
Definition at line 77 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, VERNDOR, EMPLOYEE}, otherwise the owner will be of type GNC_OWNER_NONE and not contain the original data.