vistalooki.blogg.se

Gnucash split transaction
Gnucash split transaction








XaccSplitGetReconcile (const Split *split) XaccSplitSetReconcile (Split *split, char reconciled_flag) The Action is an arbitrary user-assigned string. XaccSplitSetAction (Split *split, const char *action) The memo is an arbitrary string associated with a split. XaccSplitSetMemo (Split *split, const char *memo) XaccSplitSetLot (Split *split, GNCLot *lot) Returns the pointer to the debited/credited Lot where this split belongs to, or NULL if it doesn't belong to any. XaccSplitSetParent (Split *split, Transaction *trans) Returns the parent transaction of the split. XaccSplitSetAccount (Split *s, Account *acc) Returns the account of this split, which was set through xaccAccountInsertSplit(). This is really a helper for xaccTransCopyOnto. XaccSplitCopyOnto (const Split *from_split, Split *to_split) More.īe sure to change gnc-ui-util.c:gnc_get_reconciled_str() and The xaccTransRecordPrice() method iterates through the splits and and record the non-currency equivalent prices in the price database. XaccTransRecordPrice (Transaction *trans, PriceSource source) XaccSplitConvertAmount (const Split *split, const Account *account) XaccTransReturnGUID(X) (X ? *( qof_entity_get_guid(QOF_INSTANCE(X))) : *( guid_null())) XaccTransGetGUID(X) qof_entity_get_guid(QOF_INSTANCE(X)) XaccTransGetBook(X) qof_instance_get_book (QOF_INSTANCE(X)) GNC_IS_TRANS(obj) GNC_IS_TRANSACTION(obj) GNC_TRANSACTION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GNC_TYPE_TRANSACTION, TransactionClass)) GNC_IS_TRANSACTION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNC_TYPE_TRANSACTION)) GNC_IS_TRANSACTION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_TRANSACTION)) GNC_TRANSACTION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GNC_TYPE_TRANSACTION, TransactionClass)) GNC_TRANSACTION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_TRANSACTION, Transaction)) GNC_TYPE_TRANSACTION (gnc_transaction_get_type ()) XaccSplitReturnGUID(X) (X ? *( qof_entity_get_guid(QOF_INSTANCE(X))) : *( guid_null())) XaccSplitGetGUID(X) qof_entity_get_guid(QOF_INSTANCE(X)) GNC_SPLIT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GNC_TYPE_SPLIT, SplitClass))

gnucash split transaction

GNC_IS_SPLIT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNC_TYPE_SPLIT)) GNC_IS_SPLIT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_SPLIT)) GNC_SPLIT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GNC_TYPE_SPLIT, SplitClass)) GNC_SPLIT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_SPLIT, Split))

#Gnucash split transaction how to

A good overview of transactions, splits and accounts can be found in the texinfo documentation, together with an overview of how to use this API.ĪPI for Transactions and Splits (journal entries)








Gnucash split transaction