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: Tue, 03 Jul 2001 06:52:11 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Neil Tiffin <address@hidden>    01/07/03 06:52:11

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

Log message:
        Add to docs for account numbers.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/accounting/gl/classes/gl_acct.gcd.diff?cvsroot=OldCVS&tr1=1.9&tr2=1.10&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.5&tr2=1.6&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.9 
gnue/gnue-config/accounting/gl/classes/gl_acct.gcd:1.10
--- gnue/gnue-config/accounting/gl/classes/gl_acct.gcd:1.9      Tue Jul  3 
05:39:26 2001
+++ gnue/gnue-config/accounting/gl/classes/gl_acct.gcd  Tue Jul  3 06:52:11 2001
@@ -24,7 +24,7 @@
 # Based on concepts and documents from Louis Charbonneau and
 # Stanley A. Klein.
 #
-# $Id: gl_acct.gcd,v 1.9 2001/07/03 12:39:26 ntiffin Exp $
+# $Id: gl_acct.gcd,v 1.10 2001/07/03 13:52:11 ntiffin Exp $
 #
 
 module gl_acct
@@ -38,44 +38,45 @@
     bool  fund_segment;  # Fund Segment This segment defines a
                          # balancing subset of the chart of
                          # accounts
-    bool  natural;       # defines this segment as the natural
+    bool  natural;       # defines this segment define the natural
                          # account code.  May only occur in
                          # one segment.
                          
     char     initial_setup(char force); #define segment separaters.
     char<15> get_separaters();
+    char     validate_full_account( char<150> full_account );
   };
   
-  # the type class defines all of the types of g/l accounts
-  # for placement in the financial statments
+        # the type class defines all of the types of g/l accounts
+        # for placement in the financial statments
   class type
   {
-    char    name<16>;         # GL Account Type +Assets,
-                              # +Assets, -Liabilities, -Capital, 
-                              # -Revenues, +Expenses
+    char    name<16> !not null; # GL Account Type +Assets,
+                                # +Assets, -Liabilities, -Capital, 
+                                # -Revenues, +Expenses
     char    description<80>;
   };
   
-  # list of all govenrment codes for validating
+        # list of all govenrment codes for validating
   class gvt_code
   {
     # TODO name should be a pointer to something?
     char    name<25>;        # name of the government involved
-    char    code<10>;        # Government Code Coding required for
-                             # government reporting
-    char    description<80>;
+    char    code<10>;        # Government Code
+    char    description<80>; # Description
+    text    notes;
   };
   
-  # list of all account status for validating
+        # list of all account status for validating
   class status
   {
     char    name<16>;       # GL Account Activity Status Active,
                             # Inactive, Deactivated
-    boolean post;           # Can post to this account.
+    boolean postable;       # Can post to this account.
   };
   
-  # the account class defines the natural account code exclusive
-  # of the other segments of the full account code.
+        # the account class defines the natural account code exclusive
+        # of the other segments of the full account code.
   class account
   {
     char     enterprise_code<8>;  # Enterprise Code
Index: gnue/gnue-config/accounting/gl/doc/gl_acct.sgml
diff -u gnue/gnue-config/accounting/gl/doc/gl_acct.sgml:1.5 
gnue/gnue-config/accounting/gl/doc/gl_acct.sgml:1.6
--- gnue/gnue-config/accounting/gl/doc/gl_acct.sgml:1.5 Mon Jul  2 14:31:26 2001
+++ gnue/gnue-config/accounting/gl/doc/gl_acct.sgml     Tue Jul  3 06:52:11 2001
@@ -3,9 +3,15 @@
        <sect1>
                <title>Requirements</title> 
                <para>
-                       This chapter is $Revision: 1.5 $ $Date: 2001/07/02 
21:31:26 $. This section was intitially conceived by Louis Charbonneau and 
discussions were coordinated by Stanley A. Klein. 
+                       This chapter is $Revision: 1.6 $ $Date: 2001/07/03 
13:52:11 $.
                </para>
-               <sect2>
+               <para>
+                       Some information here was intitially conceived by Louis 
Charbonneau, discussions were coordinated by Stanley A. Klein and this section 
was written by Neil Tiffin (address@hidden).
+               </para>
+               <para>
+                   This module defines the General Ledger account numbers and 
schemes for handling them.
+               </para>
+                       <sect2>
                        <title>Business Requirements</title> 
                        <orderedlist>
                                <listitem>
@@ -13,7 +19,7 @@
                                                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 numeric keypad are proposed as segment 
separator. Account segmentation is built after the hierachical structure of the 
organization. Every segment has a name within the organisation. 
                                        </para>
                                        <para>
-                                               For example the first segment 
is 2 characters and represents the company, second segment is 3 characters and 
represents the division within the company, third segment is 2 characters and 
represents the department, fourth segment is 2 digits and represents a group of 
accounts, fifth segment is 2 digits and represents a sub-group of accounts, 
sixth segment is 4 digits ans represents the account per se. The segmentation 
mask would be like this : ``XX-XXX-XX-99-99-9999'' 
+                                               For example, the first segment 
is 2 characters and represents the company, second segment is 3 characters and 
represents the division within the company, third segment is 2 characters and 
represents the department, fourth segment is 2 digits and represents a group of 
accounts, fifth segment is 2 digits and represents a sub-group of accounts, 
sixth segment is 4 digits ans represents the natural account. The segmentation 
mask would be "XX-XXX-XX-99-99-9999".  Where X stands for an alpha numeric 
character and 9 stands for a numeric character only.  Note that the mask is 
maintained internally by segment.
                                        </para>
                                        <para>
                                                The maximum number of segments 
in an account number is 15. 
@@ -26,15 +32,23 @@
                                        <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>
+                                       <orderedlist>
+                                               <listitem>
+                                                       <para>
+                                                               Active - 
Transactions can be posted to this account. 
+                                                       </para>
+                                               </listitem>
+                                               <listitem>
+                                                       <para>
+                                                       InActive - This account 
has been created but has not been activated yet. No transaction can be posted. 
+                                                       </para>
+                                               </listitem>
+                                               <listitem>
+                                                       <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>
                                </listitem>
                                <listitem>
                                        <para>
@@ -73,6 +87,11 @@
                                                </orderedlist>
                                        </para>
                                </listitem>
+                               <listitem>
+                                       <para>
+                                               Each journal and sub-ledger 
(and all other classes needing the account number) will have the ability to 
look up its account number using an interal standard name.  This allows account 
number to be matched to other systems.  This look up occurs in the acct::param 
class.
+                                       </para>
+                               </listitem>
                        </orderedlist>
                </sect2>
                <sect2>
@@ -83,7 +102,7 @@
                        <orderedlist>
                                <listitem>
                                        <para>
-                                               TODO 
+                                               Maintenance and mapping of 
governement codes to natural account numbers.
                                        </para>
                                </listitem>
                        </orderedlist>
@@ -95,10 +114,30 @@
                        </para>
                        <itemizedlist mark="bullet">
                                <listitem>
+                                       <para>
+                                               gl_acct::segment - Definition 
of the segments of the full account code.
+                                       </para>
+                               </listitem>
+                               <listitem>
+                                       <para>
+                                               gl_acct::type - Type of 
account; Asset, Liability, Capital, Cost of goods, Expense.
+                                       </para>
+                               </listitem>
+                               <listitem>
                                        <para>
-                                               TODO 
+                                               gl_acct::gvt_code - List of 
government codes for matching to natual account numbers.
                                        </para>
                                </listitem>
+                               <listitem>
+                                       <para>
+                                               gl_acct::status - Status of the 
natural account number.
+                                       </para>
+                               </listitem>
+                               <listitem>
+                                       <para>
+                                               gl_acct::account - Definition 
of the natural account number.
+                                       </para>
+                               </listitem>
                        </itemizedlist>
                </sect2>
                <sect2>
@@ -106,7 +145,7 @@
                        <itemizedlist mark="bullet">
                                <listitem>
                                        <para>
-                                               TODO 
+                                               acct:param - for storing the 
segment separaters.
                                        </para>
                                </listitem>
                        </itemizedlist>
@@ -115,8 +154,18 @@
                        <title>Forms</title> 
                        <itemizedlist mark="bullet">
                                <listitem>
+                                       <para>
+                                               Add, change, change status and 
inquire on natural accounts. 
+                                       </para>
+                               </listitem>
+                               <listitem>
+                                       <para>
+                                               Initial generation of account 
numbers and mapping to internal names.
+                                       </para>
+                               </listitem>
+                               <listitem>
                                        <para>
-                                               TODO 
+                                               Map government codes to natural 
account numbers. (FUTURE)
                                        </para>
                                </listitem>
                        </itemizedlist>
@@ -126,7 +175,7 @@
                        <itemizedlist mark="bullet">
                                <listitem>
                                        <para>
-                                               TODO 
+                                               Detail and summary list of 
accounts.
                                        </para>
                                </listitem>
                        </itemizedlist>
@@ -135,8 +184,13 @@
                        <title>Business Rules</title> 
                        <itemizedlist mark="bullet">
                                <listitem>
+                                       <para>
+                                               
gl_acct::segment.initial_setup() - During initial setup if acct::param.name = 
"segment_separaters" does not exist then create string of valid segment 
separaters using acct::param.value = "-+/.* and store this info in class 
acct::param.
+                                       </para>
+                               </listitem>
+                               <listitem>
                                        <para>
-                                               
gl_acct::segment.initial_setup() - During initial setup if acct::param.name = 
"segment_separaters" does not exist then create string of valid segment 
separaters and acct::param.value = "-+/.*"  
+                                               Once the gl_acct::segment class 
has been defined it can not be changed without intervention of the system 
adminstrator.
                                        </para>
                                </listitem>
                        </itemizedlist>



reply via email to

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