commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/gnue-config/accounting/gl classes/gl_acct....


From: Neil Tiffin
Subject: gnue/gnue-config/accounting/gl classes/gl_acct....
Date: Wed, 27 Jun 2001 09:18:29 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Neil Tiffin <address@hidden>    01/06/27 09:18:29

Modified files:
        gnue-config/accounting/gl/classes: gl_acct.gcd 
        gnue-config/accounting/gl/doc: gl_acct.sgml 

Log message:
        Clean up activity status structures.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/accounting/gl/classes/gl_acct.gcd.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/accounting/gl/doc/gl_acct.sgml.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: gnue/gnue-config/accounting/gl/classes/gl_acct.gcd
diff -u gnue/gnue-config/accounting/gl/classes/gl_acct.gcd:1.2 
gnue/gnue-config/accounting/gl/classes/gl_acct.gcd:1.3
--- gnue/gnue-config/accounting/gl/classes/gl_acct.gcd:1.2      Wed Jun 27 
08:43:57 2001
+++ gnue/gnue-config/accounting/gl/classes/gl_acct.gcd  Wed Jun 27 09:18:29 2001
@@ -24,7 +24,7 @@
 # Based on concepts and documents from Louis Charbonneau and
 # Stanley A. Klein.
 #
-# $Id: gl_acct.gcd,v 1.2 2001/06/27 15:43:57 ntiffin Exp $
+# $Id: gl_acct.gcd,v 1.3 2001/06/27 16:18:29 ntiffin Exp $
 #
 
 module gl_acct
@@ -34,7 +34,7 @@
     char  enterprise_code<8>;
     char  name<30>;      # description of segment
     int   sequence;      # position in account number
-    char  mask<30);      # validate mask
+    char  mask<10>;      # validate mask
     bool  fund_segment;  # Fund Segment This segment defines a
                          # balancing subset of the chart of
                          # accounts
@@ -62,6 +62,13 @@
     char    description<80>;
   };
   
+  class status
+  {
+    char    name<16>;       # GL Account Activity Status Active,
+                            # Inactive, Deactivated
+    boolean post;           # Can post to this account.
+  }
+  
   # the account class defines the natural account code exclusive
   # of the other segments of the full account code.
   class account
@@ -71,11 +78,12 @@
     char     gl_acct<10>;         # General Ledger Account Key for the
                                   # user to access the account, can be
                                   # updated by the user
-    char     gl_title<60>;        # General Ledger Account Title General
-                                  # Ledger Account Title
-    char     activity_status<16>; # GL Account Activity Status Active,
+    char     gl_title<60>;        # General Ledger Account Title
+    
+    gl_acct::status    *status;   # GL Account Activity Status Active,
                                   # Inactive, Deactivated
-                                  
+    date                status_change; # last status change
+    
     gl_acct::type      *type;     # GL Account Type +Assets,
                                   # -Liabilities, -Capital, -Revenues,
                                   # +Expenses
@@ -86,6 +94,6 @@
     boolean  ctrl_acct;           # Control Account Yes= This account
                                   # controls a subledger
 
-    boolean validate_acct( text full_acct_num );
+    boolean validate_acct( text acct_num );
   };
 };
Index: gnue/gnue-config/accounting/gl/doc/gl_acct.sgml
diff -u gnue/gnue-config/accounting/gl/doc/gl_acct.sgml:1.2 
gnue/gnue-config/accounting/gl/doc/gl_acct.sgml:1.3
--- gnue/gnue-config/accounting/gl/doc/gl_acct.sgml:1.2 Wed Jun 27 08:43:57 2001
+++ gnue/gnue-config/accounting/gl/doc/gl_acct.sgml     Wed Jun 27 09:18:29 2001
@@ -3,14 +3,14 @@
        <sect1>
                <title>Requirements</title> 
                <para>
-                       This chapter is $Revision: 1.2 $ $Date: 2001/06/27 
15:43:57 $. This section was intitially conceived by Louis Charbonneau and 
discussions were coordinated by Stanley A. Klein.
+                       This chapter is $Revision: 1.3 $ $Date: 2001/06/27 
16:18:29 $. This section was intitially conceived by Louis Charbonneau and 
discussions were coordinated by Stanley A. Klein.
                </para>
                <sect2>
                        <title>Business Requirements</title> 
                        <orderedlist>
                                <listitem>
                                        <para>
-The GL Account, 30 alpha-numeric characters, can be segmented. The segment
+The GL Account number can be segmented. The segment
 separator can be ``-`` or ``+'' or ``/'' or ``.'' or ``*'' as selected by
 the user in the GL parameters. For convenience of use and data entry speed,
 only characters from the
@@ -35,6 +35,24 @@
        The maximum size of any one segments in an account number is 10.
 </para>                                        
                                </listitem>
+                               <listitem>
+                               <para>
+                               An account has 3 types of activity status. 
+                               </para>
+<para>
+       Active - Transactions can be posted to this account. 
+</para>
+<para>
+       InActive - This account has been created but has not been activated 
yet. No
+transaction can be posted. 
+</para>
+<para>
+       DeActivated - This account has been used for awhile but the accountant 
is phasing
+out the usage of this account. No transaction can be posted. An account
+goes from an InActive status, to an Active status, to a DeActivated status.
+It could also go from DeActivated back to Active. 
+</para>
+</listitem>
                        </orderedlist>
                </sect2>
                <sect2>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]