[Gnucash-changes] add overview, cut and pasted from recently revised texinfo docs.

Linas Vepstas linas at cvs.gnucash.org
Sat Jul 10 11:20:58 EDT 2004


Log Message:
-----------
add overview, cut and pasted from recently revised texinfo docs.

Modified Files:
--------------
    gnucash/src/engine:
        Account.h

Revision Data
-------------
Index: Account.h
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/Account.h,v
retrieving revision 1.136
retrieving revision 1.137
diff -Lsrc/engine/Account.h -Lsrc/engine/Account.h -u -r1.136 -r1.137
--- src/engine/Account.h
+++ src/engine/Account.h
@@ -20,6 +20,22 @@
 /** @addtogroup Engine
     @{ */
 /** @addtogroup Account
+    Splits are grouped into Accounts which are also known
+    as "Ledgers" in accounting practice. Each Account consists of a list of
+    Splits that debit that Account. To ensure consistency, if a Split points
+    to an Account, then the Account must point to the Split, and vice-versa.
+    A Split can belong to at most one Account. Besides merely containing a
+    list of Splits, the Account structure also give the Account a name, a
+    code number, description and notes fields, a key-value frame, a pointer
+    to the commodity that is used for all splits in this account. The
+    commodity can be the name of anything traded and tradable: a stock
+    (e.g. "IBM", "McDonald's"), a currency (e.g. "USD", "GBP"), or
+    anything added to the commodity table.
+
+    Accounts can be arranged in a hierarchical tree. The nodes of the tree
+    are called "Account Groups" (@pxref{Account Groups}). By accounting
+    convention, the value of an Account is equal to the value of all of its
+    Splits plus the value of all of its sub-Accounts.
     @{ */
 /** @file Account.h 
     @brief Account handling public routines   


More information about the gnucash-changes mailing list