[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/gnue-config/accounting acct/doc/acct.sgml ...
From: |
Neil Tiffin |
Subject: |
gnue/gnue-config/accounting acct/doc/acct.sgml ... |
Date: |
Mon, 02 Jul 2001 14:31:26 -0700 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Neil Tiffin <address@hidden> 01/07/02 14:31:26
Modified files:
gnue-config/accounting/acct/doc: acct.sgml
gnue-config/accounting/ar/classes: invoice.gcd
gnue-config/accounting/ar/doc: invoice.sgml
gnue-config/accounting/gl/classes: gl_acct.gcd
gnue-config/accounting/gl/doc: gl_acct.sgml
Log message:
Update invoice class.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/accounting/acct/doc/acct.sgml.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/accounting/ar/classes/invoice.gcd.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/accounting/ar/doc/invoice.sgml.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/accounting/gl/classes/gl_acct.gcd.diff?cvsroot=OldCVS&tr1=1.7&tr2=1.8&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.4&tr2=1.5&r1=text&r2=text
Patches:
Index: gnue/gnue-config/accounting/acct/doc/acct.sgml
diff -u gnue/gnue-config/accounting/acct/doc/acct.sgml:1.1
gnue/gnue-config/accounting/acct/doc/acct.sgml:1.2
--- gnue/gnue-config/accounting/acct/doc/acct.sgml:1.1 Mon Jul 2 12:45:05 2001
+++ gnue/gnue-config/accounting/acct/doc/acct.sgml Mon Jul 2 14:31:26 2001
@@ -3,7 +3,7 @@
<sect1>
<title>Requirements</title>
<para>
- This chapter is $Revision: 1.1 $ $Date: 2001/07/02
19:45:05 $.
+ This chapter is $Revision: 1.2 $ $Date: 2001/07/02
21:31:26 $.
</para>
<sect2>
<title>Business Requirements</title>
@@ -30,7 +30,7 @@
<itemizedlist mark=bullet>
<listitem>
<para>
- List of paramters and values.
+ List of parameters and values.
</para>
</listitem>
</itemizedlist>
Index: gnue/gnue-config/accounting/ar/classes/invoice.gcd
diff -u gnue/gnue-config/accounting/ar/classes/invoice.gcd:1.3
gnue/gnue-config/accounting/ar/classes/invoice.gcd:1.4
--- gnue/gnue-config/accounting/ar/classes/invoice.gcd:1.3 Sun Jun 3
13:48:02 2001
+++ gnue/gnue-config/accounting/ar/classes/invoice.gcd Mon Jul 2 14:31:26 2001
@@ -22,7 +22,7 @@
#
# This file originally written by Neil Tiffin (address@hidden).
#
-# $Id: invoice.gcd,v 1.3 2001/06/03 20:48:02 ntiffin Exp $
+# $Id: invoice.gcd,v 1.4 2001/07/02 21:31:26 ntiffin Exp $
#
include "../../../base/currency/classes/currency.gcd"
@@ -31,9 +31,9 @@
module ar
{
- class payment
+ class cash_receipt
{
- date date;
+ date date ! not null;
currency::money amount;
char note<250>;
ar::invoice *invoice;
@@ -42,27 +42,38 @@
class adjustment
{
- date date;
- currency::money amount;
- char note<250>;
+ date date ! not null;
+ currency::money amount ! not null;
+ char note<250> ! not null; # reason for adjustment
ar::invoice *invoice;
};
class invoice : sales_order::header
{
- char invoice_id<10>;
+ char id<10>; # invoice number
date date_invoiced;
char status; # open, paid-in-full, closed
char note<500>;
- currency::money total_paid;
+ currency::money total;
ar::payment [] payment;
ar::adjustment [] adjustment;
+
+ char initial_setup(char force);
};
+ # the credit status of this customer
+ # for example can sell to, on sales hold, on invoice hold etc.
+ class cr_status
+ {
+ char name<8>;
+ char desc<25>;
+ }
+
class credit : customer::customer
{
- currency::money credit_limit;
- char credit_status<8>; # can sell to, not approved etc
+ currency::money sales_limit;
+ currency::money invoice_limit;
+ ar::cr_status *status; # can sell to, not approved etc
};
};
Index: gnue/gnue-config/accounting/ar/doc/invoice.sgml
diff -u gnue/gnue-config/accounting/ar/doc/invoice.sgml:1.1
gnue/gnue-config/accounting/ar/doc/invoice.sgml:1.2
--- gnue/gnue-config/accounting/ar/doc/invoice.sgml:1.1 Wed May 16 16:53:42 2001
+++ gnue/gnue-config/accounting/ar/doc/invoice.sgml Mon Jul 2 14:31:26 2001
@@ -3,16 +3,21 @@
<sect1>
<title>Requirements</title>
<para>
- This chapter is $Revision: 1.1 $ $Date: 2001/05/16
23:53:42 $.
+ This chapter is $Revision: 1.2 $ $Date: 2001/07/02
21:31:26 $.
</para>
<sect2>
<title>Business Requirements</title>
<orderedlist>
<listitem>
<para>
- TODO
+ Issue and adjust Invoices.
</para>
</listitem>
+ <listitem>
+ <para>
+ Receive cash and apply to
invoice.
+ </para>
+ </listitem>
</orderedlist>
</sect2>
<sect2>
@@ -23,7 +28,7 @@
<orderedlist>
<listitem>
<para>
- TODO
+ Prefix and suffix invoice
number.
</para>
</listitem>
</orderedlist>
@@ -35,8 +40,13 @@
</para>
<itemizedlist mark=bullet>
<listitem>
+ <para>
+ cash_receipt - a class that
keeps track of receipts against invoices.
+ </para>
+ </listitem>
+ <listitem>
<para>
- TODO
+ adjustment - a class that keeps
track of adjustments to invoices.
</para>
</listitem>
</itemizedlist>
@@ -46,7 +56,7 @@
<itemizedlist mark=bullet>
<listitem>
<para>
- TODO
+ acct::param - to store invoice
number.
</para>
</listitem>
</itemizedlist>
@@ -55,18 +65,48 @@
<title>Forms</title>
<itemizedlist mark=bullet>
<listitem>
+ <para>
+ Create invoice from sales order.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Inquire about invoice detail
selectable between two dates, open or closed, and/or for a specific customer.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Create invoice from scratch.
+ </para>
+ </listitem>
+ <listitem>
<para>
- TODO
+ Enter adjustment to invoice.
If invoice is complete mark it closed.
</para>
</listitem>
+ <listitem>
+ <para>
+ Add, update, delete, and
inquire about credit limit of customer.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Receive payment against
invoice. If invoice is complete mark it closed.
+ </para>
+ </listitem>
</itemizedlist>
</sect2>
<sect2>
<title>Reports</title>
<itemizedlist mark=bullet>
<listitem>
+ <para>
+ Invoice info selectable summary
and detail, between two dates, open or closed, and/or for a specific customer.
+ </para>
+ </listitem>
+ <listitem>
<para>
- TODO
+ Print fax or email invoice.
</para>
</listitem>
</itemizedlist>
@@ -75,8 +115,18 @@
<title>Business Rules</title>
<itemizedlist mark=bullet>
<listitem>
+ <para>
+ Invoice class inherits the
information from the sales order class. Once the invoice is created (invoice
date) the sales order can no longer be modified. Any changes to the actual
amount collected is tracked in the cash_receipt class and the adjustment class.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Invoice is considered closed
when the invoice_amount - payments + adjustments = 0.
+ </para>
+ </listitem>
+ <listitem>
<para>
- TODO
+ initial_setup() creates a
parameter called next_invoice_number for invoice number and starts it at 1.
</para>
</listitem>
</itemizedlist>
Index: gnue/gnue-config/accounting/gl/classes/gl_acct.gcd
diff -u gnue/gnue-config/accounting/gl/classes/gl_acct.gcd:1.7
gnue/gnue-config/accounting/gl/classes/gl_acct.gcd:1.8
--- gnue/gnue-config/accounting/gl/classes/gl_acct.gcd:1.7 Mon Jul 2
10:30:23 2001
+++ gnue/gnue-config/accounting/gl/classes/gl_acct.gcd Mon Jul 2 14:31:26 2001
@@ -24,7 +24,7 @@
# Based on concepts and documents from Louis Charbonneau and
# Stanley A. Klein.
#
-# $Id: gl_acct.gcd,v 1.7 2001/07/02 17:30:23 ntiffin Exp $
+# $Id: gl_acct.gcd,v 1.8 2001/07/02 21:31:26 ntiffin Exp $
#
module gl_acct
@@ -42,7 +42,8 @@
# account code. May only occur in
# one segment.
- char initial_setup(char force); #define segment separaters.
+ char initial_setup(char force); #define segment separaters.
+ char<15> get_separaters();
};
# the type class defines all of the types of g/l accounts
Index: gnue/gnue-config/accounting/gl/doc/gl_acct.sgml
diff -u gnue/gnue-config/accounting/gl/doc/gl_acct.sgml:1.4
gnue/gnue-config/accounting/gl/doc/gl_acct.sgml:1.5
--- gnue/gnue-config/accounting/gl/doc/gl_acct.sgml:1.4 Mon Jul 2 10:30:23 2001
+++ gnue/gnue-config/accounting/gl/doc/gl_acct.sgml Mon Jul 2 14:31:26 2001
@@ -3,7 +3,7 @@
<sect1>
<title>Requirements</title>
<para>
- This chapter is $Revision: 1.4 $ $Date: 2001/07/02
17:30:23 $. This section was intitially conceived by Louis Charbonneau and
discussions were coordinated by Stanley A. Klein.
+ 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.
</para>
<sect2>
<title>Business Requirements</title>
@@ -136,7 +136,7 @@
<itemizedlist mark="bullet">
<listitem>
<para>
- gl_acct::segment.setup - During
initial setup if acct::param.name = "segment_separaters" does not exist then
create string of valid segment separaters with acct::param.value = "-+/.*"
+
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 = "-+/.*"
</para>
</listitem>
</itemizedlist>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/gnue-config/accounting acct/doc/acct.sgml ...,
Neil Tiffin <=