|
GnuCash
2.6.99
|
Business Interface: Object OWNERs. More...
#include "qof.h"#include "gncCustomer.h"#include "gncJob.h"#include "gncVendor.h"#include "gncEmployee.h"#include "gncInvoice.h"#include "Account.h"#include "gnc-lot.h"Go to the source code of this file.
Data Structures | |
| struct | _gncOwner |
Macros | |
| #define | GNC_ID_OWNER "gncOwner" |
| #define | OWNER_TYPE "type" |
| #define | OWNER_TYPE_STRING "type-string" |
| #define | OWNER_CUSTOMER "customer" |
| #define | OWNER_JOB "job" |
| #define | OWNER_VENDOR "vendor" |
| #define | OWNER_EMPLOYEE "employee" |
| #define | OWNER_PARENT "parent" |
| #define | OWNER_PARENTG "parent-guid" |
| #define | OWNER_NAME "name" |
| #define | OWNER_FROM_LOT "owner-from-lot" |
Typedefs | |
| typedef struct _gncOwner | GncOwner |
Enumerations | |
| enum | GncOwnerType { GNC_OWNER_NONE, GNC_OWNER_UNDEFINED, GNC_OWNER_CUSTOMER, GNC_OWNER_JOB, GNC_OWNER_VENDOR, GNC_OWNER_EMPLOYEE } |
Functions | |
| void | gncOwnerCopy (const GncOwner *src, GncOwner *dest) |
| const GncGUID * | gncOwnerGetGUID (const GncOwner *owner) |
| GncGUID | gncOwnerRetGUID (GncOwner *owner) |
| const GncOwner * | gncOwnerGetEndOwner (const GncOwner *owner) |
| const GncGUID * | gncOwnerGetEndGUID (const GncOwner *owner) |
| void | gncOwnerAttachToLot (const GncOwner *owner, GNCLot *lot) |
| gboolean | gncOwnerLotMatchOwnerFunc (GNCLot *lot, gpointer user_data) |
| gint | gncOwnerLotsSortFunc (GNCLot *lotA, GNCLot *lotB) |
| gboolean | gncOwnerGetOwnerFromLot (GNCLot *lot, GncOwner *owner) |
| gboolean | gncOwnerGetOwnerFromTypeGuid (QofBook *book, GncOwner *owner, QofIdType type, GncGUID *guid) |
| GNCLot * | gncOwnerCreatePaymentLot (const GncOwner *owner, Transaction *txn, Account *posted_acc, Account *xfer_acc, gnc_numeric amount, gnc_numeric exch, Timespec date, const char *memo, const char *num) |
| void | gncOwnerAutoApplyPaymentsWithLots (const GncOwner *owner, GList *lots) |
| void | gncOwnerApplyPayment (const GncOwner *owner, Transaction *txn, GList *lots, Account *posted_acc, Account *xfer_acc, gnc_numeric amount, gnc_numeric exch, Timespec date, const char *memo, const char *num, gboolean auto_pay) |
| Split * | gncOwnerFindOffsettingSplit (GNCLot *pay_lot, gnc_numeric target_value) |
| gboolean | gncOwnerReduceSplitTo (Split *split, gnc_numeric target_value) |
| void | gncOwnerSetLotLinkMemo (Transaction *ll_txn) |
| GList * | gncOwnerGetAccountTypesList (const GncOwner *owner) |
| GList * | gncOwnerGetCommoditiesList (const GncOwner *owner) |
| gnc_numeric | gncOwnerGetBalanceInCurrency (const GncOwner *owner, const gnc_commodity *report_currency) |
| GncOwner * | gncOwnerNew (void) |
| void | gncOwnerFree (GncOwner *owner) |
| void | gncOwnerBeginEdit (GncOwner *owner) |
| void | gncOwnerCommitEdit (GncOwner *owner) |
| void | gncOwnerDestroy (GncOwner *owner) |
QOF handling | |
| QofIdTypeConst | qofOwnerGetType (const GncOwner *owner) |
| QofInstance * | qofOwnerGetOwner (const GncOwner *owner) |
| void | qofOwnerSetEntity (GncOwner *owner, QofInstance *ent) |
| gboolean | GNC_IS_OWNER (QofInstance *ent) |
| QofIdTypeConst | gncOwnerTypeToQofIdType (GncOwnerType t) |
| gboolean | gncOwnerRegister (void) |
Setup routines | |
| void | gncOwnerInitUndefined (GncOwner *owner, gpointer obj) |
| void | gncOwnerInitCustomer (GncOwner *owner, GncCustomer *customer) |
| void | gncOwnerInitJob (GncOwner *owner, GncJob *job) |
| void | gncOwnerInitVendor (GncOwner *owner, GncVendor *vendor) |
| void | gncOwnerInitEmployee (GncOwner *owner, GncEmployee *employee) |
Get routines. | |
| GncOwnerType | gncOwnerGetType (const GncOwner *owner) |
| gboolean | gncOwnerIsValid (const GncOwner *owner) |
| gpointer | gncOwnerGetUndefined (const GncOwner *owner) |
| GncCustomer * | gncOwnerGetCustomer (const GncOwner *owner) |
| GncJob * | gncOwnerGetJob (const GncOwner *owner) |
| GncVendor * | gncOwnerGetVendor (const GncOwner *owner) |
| GncEmployee * | gncOwnerGetEmployee (const GncOwner *owner) |
| const char * | gncOwnerGetID (const GncOwner *owner) |
| const char * | gncOwnerGetName (const GncOwner *owner) |
| GncAddress * | gncOwnerGetAddr (const GncOwner *owner) |
| gboolean | gncOwnerGetActive (const GncOwner *owner) |
| gnc_commodity * | gncOwnerGetCurrency (const GncOwner *owner) |
Set routines. | |
| void | gncOwnerSetActive (const GncOwner *owner, gboolean active) |
Comparison routines. | |
| gboolean | gncOwnerEqual (const GncOwner *a, const GncOwner *b) |
| int | gncOwnerGCompareFunc (const GncOwner *a, const GncOwner *b) |
| int | gncOwnerCompare (const GncOwner *a, const GncOwner *b) |
Business Interface: Object OWNERs.
Definition in file gncOwner.h.
1.8.6