[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/gnue-config/accounting/gl/classes gl.gcd
From: |
Reinhard Mueller |
Subject: |
gnue/gnue-config/accounting/gl/classes gl.gcd |
Date: |
Tue, 14 Aug 2001 05:40:29 -0700 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: Reinhard Mueller <address@hidden> 01/08/14 05:40:28
Modified files:
gnue-config/accounting/gl/classes: gl.gcd
Log message:
Added some more comments and other minor changes
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/gnue-config/accounting/gl/classes/gl.gcd.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
Patches:
Index: gnue/gnue-config/accounting/gl/classes/gl.gcd
diff -u gnue/gnue-config/accounting/gl/classes/gl.gcd:1.4
gnue/gnue-config/accounting/gl/classes/gl.gcd:1.5
--- gnue/gnue-config/accounting/gl/classes/gl.gcd:1.4 Mon Aug 13 12:42:37 2001
+++ gnue/gnue-config/accounting/gl/classes/gl.gcd Tue Aug 14 05:40:28 2001
@@ -22,7 +22,7 @@
#
# This file is for discussion only.
#
-# $Id: gl.gcd,v 1.4 2001/08/13 19:42:37 ntiffin Exp $
+# $Id: gl.gcd,v 1.5 2001/08/14 12:40:28 reinhard Exp $
module gl
{
@@ -62,7 +62,7 @@
currency::currency
*currency; # currency of this account
# Some codes for financial statements and for govermnent
- # reporting TBD
+ # reporting TBD - not sure if necessary for _base_ module
};
# -----------------------------------------------------------
@@ -72,9 +72,11 @@
class journal
{
gl::trans []transactions; # transactions in this journal
+ gl::year *year; # financial year
char user<20>; # posted by user
date created; # creation date
date posted; # posted date
+ # void post(); # method to post the journal
};
# -----------------------------------------------------------
@@ -86,18 +88,15 @@
# journal
gl::entry []entries; # the entries that make up this
# transaction
+ char source<25>; # source of the data
+ # sales, ar, ap, etc.
char number<17>; # document number
# can be invoice number,
# bank statement number etc.
- char source<25>; # source of the data
- # sales, ar, ap, etc.
date date; # date of transaction
gl::period *period; # financial period
- gl::year *year; # financial year - actually
- # redundant, but will make
- # things faster
char user<20>; # entered by user
- date date; # entered at date
+ date entered; # entering date
boolean complete; # true if the transaction is
# balanced. only journals where
# all transactions are complete