38 #define GNC_ID_OWNER "gncOwner"
82 gncOwnerRegister(
void);
108 void gncOwnerInitUndefined (
GncOwner *owner, gpointer obj);
139 const char * gncOwnerGetID (
const GncOwner *owner);
140 const char * gncOwnerGetName (
const GncOwner *owner);
142 gboolean gncOwnerGetActive (
const GncOwner *owner);
149 void gncOwnerSetActive (
const GncOwner *owner, gboolean active);
211 const char *memo,
const char *num);
264 const char *memo,
const char *num, gboolean auto_pay);
308 #define OWNER_TYPE "type"
309 #define OWNER_TYPE_STRING "type-string"
310 #define OWNER_CUSTOMER "customer"
311 #define OWNER_JOB "job"
312 #define OWNER_VENDOR "vendor"
313 #define OWNER_EMPLOYEE "employee"
314 #define OWNER_PARENT "parent"
315 #define OWNER_PARENTG "parent-guid"
316 #define OWNER_NAME "name"
318 #define OWNER_FROM_LOT "owner-from-lot"
326 void gncOwnerFree (
GncOwner *owner);
335 void gncOwnerCommitEdit (
GncOwner *owner);
336 void gncOwnerDestroy (
GncOwner *owner);
GList * gncOwnerGetCommoditiesList(const GncOwner *owner)
const GncGUID * gncOwnerGetGUID(const GncOwner *owner)
union _gncOwner::@19 owner
GList * gncOwnerGetAccountTypesList(const GncOwner *owner)
const gchar * QofIdTypeConst
gboolean gncOwnerEqual(const GncOwner *a, const GncOwner *b)
Use a 64-bit unsigned int timespec.
void gncOwnerBeginEdit(GncOwner *owner)
gboolean gncOwnerIsValid(const GncOwner *owner)
QofInstance * qofOwnerGetOwner(const GncOwner *owner)
void gncOwnerAutoApplyPaymentsWithLots(const GncOwner *owner, GList *lots)
int gncOwnerGCompareFunc(const GncOwner *a, const GncOwner *b)
Account handling public routines.
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)
gint gncOwnerLotsSortFunc(GNCLot *lotA, GNCLot *lotB)
gboolean gncOwnerReduceSplitTo(Split *split, gnc_numeric target_value)
gnc_numeric gncOwnerGetBalanceInCurrency(const GncOwner *owner, const gnc_commodity *report_currency)
QofIdTypeConst qofOwnerGetType(const GncOwner *owner)
int gncOwnerCompare(const GncOwner *a, const GncOwner *b)
void qofOwnerSetEntity(GncOwner *owner, QofInstance *ent)
void gncOwnerAttachToLot(const GncOwner *owner, GNCLot *lot)
QofIdTypeConst gncOwnerTypeToQofIdType(GncOwnerType t)
gpointer gncOwnerGetUndefined(const GncOwner *owner)
gboolean gncOwnerGetOwnerFromLot(GNCLot *lot, GncOwner *owner)
gboolean GNC_IS_OWNER(QofInstance *ent)
GncOwnerType gncOwnerGetType(const GncOwner *owner)
const GncOwner * gncOwnerGetEndOwner(const GncOwner *owner)
Business Invoice Interface.
GncJob * gncOwnerGetJob(const GncOwner *owner)
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)
gboolean gncOwnerLotMatchOwnerFunc(GNCLot *lot, gpointer user_data)
Split * gncOwnerFindOffsettingSplit(GNCLot *pay_lot, gnc_numeric target_value)
GncVendor * gncOwnerGetVendor(const GncOwner *owner)
GncCustomer * gncOwnerGetCustomer(const GncOwner *owner)
void gncOwnerSetLotLinkMemo(Transaction *ll_txn)
GncEmployee * gncOwnerGetEmployee(const GncOwner *owner)
GncOwner * gncOwnerNew(void)