hooglqc.blogg.se

Gnucash account code
Gnucash account code












gnucash account code

XaccAccountSetLastNum ( Account *account, const char *num)

gnucash account code

XaccAccountSetNotes ( Account *account, const char *notes) XaccAccountSetSortReversed ( Account *account, gboolean sortreversed) XaccAccountSetSortOrder ( Account *account, const char *sortorder) XaccAccountSetFilter ( Account *account, const char *filter) XaccAccountSetColor ( Account *account, const char *color) XaccAccountSetDescription ( Account *account, const char *desc) XaccAccountSetCode ( Account *account, const char *code) XaccAccountSetName ( Account *account, const char *name) XaccAccountSetType ( Account *account, GNCAccountType) Gnc_account_get_book (const Account *account) XaccAccountLookupDirect(g, b) xaccAccountLookup(&(g),b) XaccAccountReturnGUID(X) (X ? *( qof_entity_get_guid(QOF_INSTANCE(X))) : *( guid_null())) XaccAccountGetGUID(X) qof_entity_get_guid(QOF_INSTANCE(X)) The xaccAccountLookup() subroutine will return the account associated with the given id, or NULL if there is no such account. XaccAccountLookup (const GncGUID *guid, QofBook *book) Gnc_book_set_root_account (QofBook *book, Account *root) Gnc_book_get_root_account (QofBook *book) Gnc_set_account_separator (const gchar *separator) Returns the account separation character chosen by the user. The xaccAccountOrder() subroutine defines a sorting order on accounts. XaccAccountOrder (const Account *account_1, const Account *account_2) XaccAccountEqual (const Account *a, const Account *b, gboolean check_guids)Ĭompare two accounts for equality - this is a deep compare. The xaccAccountDestroy() routine can be used to get rid of an account. ThexaccAccountCommitEdit() subroutine is the second phase of a two-phase-commit wrapper for account updates. XaccAccountCommitEdit ( Account *account) The xaccAccountBeginEdit() subroutine is the first phase of a two-phase-commit wrapper for account updates. The xaccCloneAccount() routine makes a simple copy of the indicated account, placing it in the indicated book.

gnucash account code

XaccCloneAccount (const Account *source, QofBook *book) More.Īccount Constructors, Edit/Commit, Comparison Returns true if the account is 'ancestor' or has 'ancestor' as an ancestor. XaccAccountHasAncestor (const Account *acc, const Account *ancestor) XaccAccountGetReconcileChildrenStatus (const Account *account) XaccAccountSetReconcileChildrenStatus ( Account *account, gboolean status) Runs through all the accounts and returns a list of account names that contain the provided separator character. Gnc_account_list_name_violations (QofBook *book, const gchar *separator) Gnc_account_name_violations_errmsg (const gchar *separator, GList *invalid_account_names)Ĭomposes a translatable error message showing which account names clash with the current account separator. Gnc_account_and_descendants_empty ( Account *acc) Returns the GType type system description of the Account class. The account types are used to determine how the transaction data in the account is displayed. XaccGetBalanceAsOfDateFn) ( Account *account, time64 date) XaccGetBalanceInCurrencyFn) (const Account *account, const gnc_commodity *report_commodity, gboolean include_children) XaccGetBalanceFn) (const Account *account) GNC_ACCOUNT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GNC_TYPE_ACCOUNT, AccountClass)) GNC_IS_ACCOUNT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNC_TYPE_ACCOUNT)) GNC_IS_ACCOUNT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_ACCOUNT))

gnucash account code

GNC_ACCOUNT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GNC_TYPE_ACCOUNT, AccountClass)) GNC_ACCOUNT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_ACCOUNT, Account)) GNC_TYPE_ACCOUNT ( gnc_account_get_type ()) Splits are grouped into Accounts which are also known as "Ledgers" in accounting practice.














Gnucash account code