[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue geas/lib/classdefs/gcdparser.c gnue-config...
From: |
Neil Tiffin |
Subject: |
gnue geas/lib/classdefs/gcdparser.c gnue-config... |
Date: |
Wed, 04 Jul 2001 11:04:13 -0700 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Neil Tiffin <address@hidden> 01/07/04 11:04:13
Modified files:
geas/lib/classdefs: gcdparser.c
gnue-config/accounting/ar/classes: invoice.gcd
gnue-config/accounting/gl/classes: gl_acct.gcd
gnue-config/base/location/doc: location.sgml
gnue-config/base/org/classes: org.gcd
gnue-config/base/org/doc: org.sgml
gnue-config/base/package-doc: introduction.sgml
gnue-config/base/parameter/doc: parameter.sgml
gnue-config/base/person/doc: person.sgml
gnue-config/base/units/classes: units.gcd
gnue-config/base/units/doc: units.sgml
gnue-config/sales/sales-order/classes: sales-order.gcd
Log message:
General update, no feature changes, match gcd to docs, flush out docs.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/lib/classdefs/gcdparser.c.diff?cvsroot=OldCVS&tr1=1.41&tr2=1.42&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/accounting/ar/classes/invoice.gcd.diff?cvsroot=OldCVS&tr1=1.6&tr2=1.7&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.10&tr2=1.11&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/location/doc/location.sgml.diff?cvsroot=OldCVS&tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/org/classes/org.gcd.diff?cvsroot=OldCVS&tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/org/doc/org.sgml.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/package-doc/introduction.sgml.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/parameter/doc/parameter.sgml.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/person/doc/person.sgml.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/units/classes/units.gcd.diff?cvsroot=OldCVS&tr1=1.17&tr2=1.18&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/units/doc/units.sgml.diff?cvsroot=OldCVS&tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/sales/sales-order/classes/sales-order.gcd.diff?cvsroot=OldCVS&tr1=1.4&tr2=1.5&r1=text&r2=text
Patches:
Index: gnue/geas/lib/classdefs/gcdparser.c
diff -u gnue/geas/lib/classdefs/gcdparser.c:1.41
gnue/geas/lib/classdefs/gcdparser.c:1.42
--- gnue/geas/lib/classdefs/gcdparser.c:1.41 Thu Jun 28 21:08:25 2001
+++ gnue/geas/lib/classdefs/gcdparser.c Wed Jul 4 11:04:12 2001
@@ -1,4 +1,3 @@
-
/*
$RCSfile: gcdparser.c,v $
@@ -22,7 +21,7 @@
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- $Id: gcdparser.c,v 1.41 2001/06/29 04:08:25 treshna Exp $
+ $Id: gcdparser.c,v 1.42 2001/07/04 18:04:12 ntiffin Exp $
*/
Index: gnue/gnue-config/accounting/ar/classes/invoice.gcd
diff -u gnue/gnue-config/accounting/ar/classes/invoice.gcd:1.6
gnue/gnue-config/accounting/ar/classes/invoice.gcd:1.7
--- gnue/gnue-config/accounting/ar/classes/invoice.gcd:1.6 Wed Jul 4
06:38:48 2001
+++ gnue/gnue-config/accounting/ar/classes/invoice.gcd Wed Jul 4 11:04:13 2001
@@ -22,7 +22,7 @@
#
# This file originally written by Neil Tiffin (address@hidden).
#
-# $Id: invoice.gcd,v 1.6 2001/07/04 13:38:48 ntiffin Exp $
+# $Id: invoice.gcd,v 1.7 2001/07/04 18:04:13 ntiffin Exp $
#
include "../../../base/person/classes/person.gcd"
@@ -72,7 +72,7 @@
char user<25> ! not null; # user creating transaction
date posted; # if empty not posted
- }
+ };
# avaliable credit status for customers
# for example on sales hold, on shipping hold etc.
@@ -85,7 +85,7 @@
boolean accept_sales_order = true;
boolean ok_to_ship = true;
boolean needs_approval = false;
- }
+ };
class credit : customer::customer
{
Index: gnue/gnue-config/accounting/gl/classes/gl_acct.gcd
diff -u gnue/gnue-config/accounting/gl/classes/gl_acct.gcd:1.10
gnue/gnue-config/accounting/gl/classes/gl_acct.gcd:1.11
--- gnue/gnue-config/accounting/gl/classes/gl_acct.gcd:1.10 Tue Jul 3
06:52:11 2001
+++ gnue/gnue-config/accounting/gl/classes/gl_acct.gcd Wed Jul 4 11:04:13 2001
@@ -24,7 +24,7 @@
# Based on concepts and documents from Louis Charbonneau and
# Stanley A. Klein.
#
-# $Id: gl_acct.gcd,v 1.10 2001/07/03 13:52:11 ntiffin Exp $
+# $Id: gl_acct.gcd,v 1.11 2001/07/04 18:04:13 ntiffin Exp $
#
module gl_acct
@@ -43,8 +43,8 @@
# one segment.
char initial_setup(char force); #define segment separaters.
- char<15> get_separaters();
- char validate_full_account( char<150> full_account );
+ text get_separaters();
+ char validate_full_account( text full_account );
};
# the type class defines all of the types of g/l accounts
Index: gnue/gnue-config/base/location/doc/location.sgml
diff -u gnue/gnue-config/base/location/doc/location.sgml:1.4
gnue/gnue-config/base/location/doc/location.sgml:1.5
--- gnue/gnue-config/base/location/doc/location.sgml:1.4 Mon May 14
07:16:57 2001
+++ gnue/gnue-config/base/location/doc/location.sgml Wed Jul 4 11:04:13 2001
@@ -3,7 +3,7 @@
<sect1>
<title>Requirements</title>
<para>
- This chapter is $Revision: 1.4 $ $Date: 2001/05/14
14:16:57 $.
+ This chapter is $Revision: 1.5 $ $Date: 2001/07/04
18:04:13 $.
</para>
<sect2>
<title> Business Requirements </title>
@@ -15,12 +15,12 @@
</listitem>
<listitem>
<para>
- Maintain a list of valid ISO
country codes
+ Maintain a list of valid ISO
country codes.
</para>
</listitem>
<listitem>
<para>
- Maintain a list of valid
localized state codes.
+ Maintain a list of valid
localized state (United States) or region codes.
</para>
</listitem>
</orderedlist>
@@ -33,7 +33,7 @@
<itemizedlist mark=bullet>
<listitem>
<para>
- none
+ None
</para>
</listitem>
</itemizedlist>
@@ -46,37 +46,32 @@
<itemizedlist mark=bullet>
<listitem>
<para>
- Address -
+ location::address - TYPE only.
</para>
</listitem>
<listitem>
<para>
- Valid State Codes -
+ location::region - Define
available regions.
</para>
</listitem>
<listitem>
<para>
- Valid Country Codes -
+ location::country - Define
available countries.
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2>
- <title>External Business Object References</title>
+ <title>Forms</title>
<itemizedlist mark=bullet>
<listitem>
<para>
- none
+ Add, change, delete, inquire
regions.
</para>
</listitem>
- </itemizedlist>
- </sect2>
- <sect2>
- <title>Forms</title>
- <itemizedlist mark=bullet>
<listitem>
<para>
- None
+ Add, change, delete, inquire
countries.
</para>
</listitem>
</itemizedlist>
Index: gnue/gnue-config/base/org/classes/org.gcd
diff -u gnue/gnue-config/base/org/classes/org.gcd:1.6
gnue/gnue-config/base/org/classes/org.gcd:1.7
--- gnue/gnue-config/base/org/classes/org.gcd:1.6 Fri Jun 22 13:33:54 2001
+++ gnue/gnue-config/base/org/classes/org.gcd Wed Jul 4 11:04:13 2001
@@ -22,7 +22,7 @@
#
# This file originally written by Neil Tiffin (address@hidden).
#
-# $Revision: 1.6 $ $Date: 2001/06/22 20:33:54 $ $Author: ntiffin $
+# $Revision: 1.7 $ $Date: 2001/07/04 18:04:13 $ $Author: ntiffin $
#
include "../../../base/person/classes/person.gcd"
include "../../../base/location/classes/address.gcd"
@@ -56,6 +56,7 @@
org::contact [] contact;
person::comm [] comm; # co. telephone number, fax, email etc.
char keyword<100>; # keyword for searching
+ boolean deleted;
INDEX (organization_name);
};
Index: gnue/gnue-config/base/org/doc/org.sgml
diff -u gnue/gnue-config/base/org/doc/org.sgml:1.2
gnue/gnue-config/base/org/doc/org.sgml:1.3
--- gnue/gnue-config/base/org/doc/org.sgml:1.2 Sat Jun 23 20:17:42 2001
+++ gnue/gnue-config/base/org/doc/org.sgml Wed Jul 4 11:04:13 2001
@@ -1,26 +1,26 @@
<chapter id="org">
- <title>Company Module</title>
+ <title>Organization Module</title>
<sect1>
<title>Requirements</title>
<para>
- This chapter is $Revision: 1.2 $ $Date: 2001/06/24
03:17:42 $.
+ This chapter is $Revision: 1.3 $ $Date: 2001/07/04
18:04:13 $.
</para>
<sect2>
<title> Business Requirements </title>
<orderedlist>
<listitem>
<para>
- Maintain company and company
contact information.
+ Maintain Organization and
Organization contact information.
</para>
</listitem>
<listitem>
<para>
- The company class is the base
class for supplers and customers.
+ The Organization class is the
base class for supplers and customers.
</para>
</listitem>
<listitem>
<para>
- The company can have unlimited
address and contacts associated with it.
+ The Organization can have
unlimited address and contacts associated with it.
</para>
</listitem>
</orderedlist>
@@ -46,22 +46,17 @@
<itemizedlist mark=bullet>
<listitem>
<para>
- Company - Base object for
customers and suppliers.
+ org::organization - Base object
for customers and suppliers.
</para>
</listitem>
<listitem>
<para>
- Company Contacts -
+ org::contact - Organization's
contacts
</para>
</listitem>
- </itemizedlist>
- </sect2>
- <sect2>
- <title>External Business Object References</title>
- <itemizedlist mark=bullet>
<listitem>
<para>
- none
+ org::address - Organization's
address
</para>
</listitem>
</itemizedlist>
@@ -71,7 +66,7 @@
<itemizedlist mark=bullet>
<listitem>
<para>
- None
+ Add, change, view organization
info.
</para>
</listitem>
</itemizedlist>
@@ -81,7 +76,7 @@
<itemizedlist mark=bullet>
<listitem>
<para>
- None
+ Organization detail and summary
sorted and or selected by name, region, country.
</para>
</listitem>
</itemizedlist>
@@ -91,7 +86,7 @@
<itemizedlist mark=bullet>
<listitem>
<para>
- none
+ For historical reporting reason
organizations can not be deleted, instead mark as deleted.
</para>
</listitem>
</itemizedlist>
Index: gnue/gnue-config/base/package-doc/introduction.sgml
diff -u gnue/gnue-config/base/package-doc/introduction.sgml:1.2
gnue/gnue-config/base/package-doc/introduction.sgml:1.3
--- gnue/gnue-config/base/package-doc/introduction.sgml:1.2 Thu Apr 19
16:09:30 2001
+++ gnue/gnue-config/base/package-doc/introduction.sgml Wed Jul 4 11:04:13 2001
@@ -15,10 +15,10 @@
<sect2>
<title>Version </title>
<para>
- This introduction is $Revision: 1.2 $ $Date:
2001/04/19 23:09:30 $. This version number only applies to this introduction,
each module class file, and module requirements chapter have a separate version
tag. Probably a bit of overkill, but this will have to suffice until we get to
the stage of versioned releases.
+ This introduction is $Revision: 1.3 $ $Date:
2001/07/04 18:04:13 $.
</para>
- <para>
- It is a preliminary draft proposal for
discussion purposes only.
+ <para>
+ This version number only applies to this
introduction, each module class file, and module requirements chapter have a
separate version tag. Probably a bit of overkill, but this will have to
suffice until we get to the stage of versioned releases.
</para>
</sect2>
<sect2>
@@ -30,16 +30,13 @@
<sect2>
<title>Definition of GNUe Base Package </title>
<para>
- The Base Package encompasses all business
objects that are used by multiple packages and modules. So anything that does
not fit well in its own package should go here.
+ The Base Package encompasses all business
objects that are used by multiple packages and modules. So anything that does
not fit well in its own package should go here. Normally the screens and forms
to access objects defined in the base package should be part of the non-base
packages and modules.
</para>
</sect2>
<sect2>
<title>Scope of initial GNUe Base Package Functionality
</title>
- <para>
- The first version of the Base Package will be a
proof of concept package to stress and test the GNUe tools architecture. As
such it will have limited functionality. However, with that said the modules
and objects developed for the initial package should be re-usable to address
larger or industry specific implementations.
- </para>
<para>
- It is important that the first package have a
solid design. To distribute the work and assure a sound design we need to
decide what functionality will go into the initial scope and what will go into
future scope.
+ The first version of the Base Package will be a
proof of concept package to stress and test the GNUe tools architecture. As
such it may have limited functionality. However, with that said the modules and
objects developed for the initial package should be re-usable to address larger
or industry specific implementations.
</para>
</sect2>
<sect2>
Index: gnue/gnue-config/base/parameter/doc/parameter.sgml
diff -u gnue/gnue-config/base/parameter/doc/parameter.sgml:1.2
gnue/gnue-config/base/parameter/doc/parameter.sgml:1.3
--- gnue/gnue-config/base/parameter/doc/parameter.sgml:1.2 Mon Jul 2
10:38:44 2001
+++ gnue/gnue-config/base/parameter/doc/parameter.sgml Wed Jul 4 11:04:13 2001
@@ -3,19 +3,19 @@
<sect1>
<title>Requirements</title>
<para>
- This chapter is $Revision: 1.2 $ $Date: 2001/07/02
17:38:44 $.
+ This chapter is $Revision: 1.3 $ $Date: 2001/07/04
18:04:13 $.
</para>
<sect2>
<title>Business Requirements</title>
<orderedlist>
<listitem>
<para>
- This module is for storing
implementation wide public preferences and other information.
+ This module defines a data only
repository for storing implementation wide public preferences and other
configuration type information.
</para>
</listitem>
<listitem>
<para>
- Most of the information stored
here will be added by initial_setup() methods.
+ Most of the information stored
here will be added and manipulated by other module methods.
</para>
</listitem>
</orderedlist>
@@ -34,34 +34,11 @@
</orderedlist>
</sect2>
<sect2>
- <title> Business Objects </title>
- <para>
- The following Business Objects are defined and
maintained by this module.
- </para>
- <itemizedlist mark=bullet>
- <listitem>
- <para>
- parameter
- </para>
- </listitem>
- </itemizedlist>
- </sect2>
- <sect2>
- <title>External Business Object References</title>
- <itemizedlist mark=bullet>
- <listitem>
- <para>
- None
- </para>
- </listitem>
- </itemizedlist>
- </sect2>
- <sect2>
<title>Forms</title>
<itemizedlist mark=bullet>
<listitem>
<para>
- System Administrators should be
able to add, delete, list and modify entries. Others should only be able to
lookup entries.
+ System Administrators should be
able to add, delete, list and modify entries. Others should only be able to
look at entries.
</para>
</listitem>
</itemizedlist>
Index: gnue/gnue-config/base/person/doc/person.sgml
diff -u gnue/gnue-config/base/person/doc/person.sgml:1.2
gnue/gnue-config/base/person/doc/person.sgml:1.3
--- gnue/gnue-config/base/person/doc/person.sgml:1.2 Tue Mar 6 11:53:10 2001
+++ gnue/gnue-config/base/person/doc/person.sgml Wed Jul 4 11:04:13 2001
@@ -3,16 +3,21 @@
<sect1>
<title>Requirements</title>
<para>
- This chapter is $Revision: 1.2 $ $Date: 2001/03/06
19:53:10 $.
+ This chapter is $Revision: 1.3 $ $Date: 2001/07/04
18:04:13 $.
</para>
<sect2>
<title> Business Requirements </title>
<orderedlist>
<listitem>
<para>
- Maintain Person Information.
+ This module defines a person
type for use by other modules.
</para>
</listitem>
+ <listitem>
+ <para>
+ This module instantiates an
employee class and an address for use by other person classes.
+ </para>
+ </listitem>
</orderedlist>
</sect2>
<sect2>
@@ -36,22 +41,17 @@
<itemizedlist mark=bullet>
<listitem>
<para>
- Person
+ person::person - TYPE only.
</para>
</listitem>
<listitem>
<para>
- Employee
+ person::employee
</para>
</listitem>
- </itemizedlist>
- </sect2>
- <sect2>
- <title>External Business Object References</title>
- <itemizedlist mark=bullet>
<listitem>
<para>
- none
+ person::department
</para>
</listitem>
</itemizedlist>
@@ -71,7 +71,7 @@
<itemizedlist mark=bullet>
<listitem>
<para>
- Output Employees selectable by
number, surname, and department and sorted by these fields.
+ Output Employees summary and
detail report selectable by number, surname, and department and sorted by these
fields.
</para>
</listitem>
</itemizedlist>
@@ -81,7 +81,7 @@
<itemizedlist mark=bullet>
<listitem>
<para>
- none
+ None
</para>
</listitem>
</itemizedlist>
Index: gnue/gnue-config/base/units/classes/units.gcd
diff -u gnue/gnue-config/base/units/classes/units.gcd:1.17
gnue/gnue-config/base/units/classes/units.gcd:1.18
--- gnue/gnue-config/base/units/classes/units.gcd:1.17 Sun May 20 16:16:06 2001
+++ gnue/gnue-config/base/units/classes/units.gcd Wed Jul 4 11:04:13 2001
@@ -22,7 +22,7 @@
#
# This file originally written by Neil Tiffin (address@hidden).
#
-# $Revision: 1.17 $ $Date: 2001/05/20 23:16:06 $ $Author: ntiffin $
+# $Revision: 1.18 $ $Date: 2001/07/04 18:04:13 $ $Author: ntiffin $
#
module unit
@@ -31,10 +31,10 @@
# unit - unit of measure
# -------------------------------------------------------------------------
class unit
- { # keeps track of the different units
- char code<8>; # of measure
- char desc<35>; # used in GNUe.
- int decimals = 0; # default decimals for this unit
+ { # keeps track of the different units
+ char code<8>; # of measure
+ char desc<35>; # used in GNUe.
+ int16 decimals = 0; # default decimals for this unit
};
@@ -42,14 +42,14 @@
# quantity -
# -------------------------------------------------------------------------
type quantity
- { # this definition allows us to abstract
- # quantities as needed
- # for example if value = 456192
- int value = 0; # only integer quantities
- int decimals = 2; # and decimals = 3
- # then value is really 456.192
- unit::unit *unit; # pointer to unit
- # for example "kg"
+ { # this definition allows us to abstract
+ # quantities as needed
+ # for example if value = 456192
+ int64 value = 0; # only integer quantities
+ int16 decimals = 2; # and decimals = 3
+ # then value is really 456.192
+ unit::unit *unit; # pointer to unit
+ # for example "kg"
float get_float(); #
text get_text(); # for example "456.192 kg"
@@ -57,9 +57,10 @@
};
# -------------------------------------------------------------------------
- # conversion_unit -
+ # conversion_unit - Storage for all of the conversion factors. Only used
+ # by unit::conversion. Should never be used directly.
# -------------------------------------------------------------------------
- class conversion_unit
+ private class conversion_unit
{
unit::quantity amount;
};
@@ -68,10 +69,12 @@
# conversion - convert between different units.
# -------------------------------------------------------------------------
class conversion
- { # convert between
- # different
-
- unit::conversion_unit [] units; # units.
- #unit::quantity convert( unit::quantity source, unit::unit destination);
+ {
+ unit::conversion_unit [] units;
+
+ # returns t or f if can or cannot do conversion
+ char can_convert( text source_unit, text result_unit) );
+ # returns resulting amount
+ text convert( text source_unit, text source_amount, text result_unit);
};
};
Index: gnue/gnue-config/base/units/doc/units.sgml
diff -u gnue/gnue-config/base/units/doc/units.sgml:1.5
gnue/gnue-config/base/units/doc/units.sgml:1.6
--- gnue/gnue-config/base/units/doc/units.sgml:1.5 Mon May 14 08:00:55 2001
+++ gnue/gnue-config/base/units/doc/units.sgml Wed Jul 4 11:04:13 2001
@@ -3,7 +3,7 @@
<sect1>
<title>Requirements</title>
<para>
- This chapter is $Revision: 1.5 $ $Date: 2001/05/14
15:00:55 $.
+ This chapter is $Revision: 1.6 $ $Date: 2001/07/04
18:04:13 $.
</para>
<sect2>
<title> Business Requirements </title>
@@ -15,28 +15,30 @@
</listitem>
<listitem>
<para>
- Do simple conversions of the
type base_unit * factor = new_unit.
+ Do simple conversions.
</para>
</listitem>
</orderedlist>
<para>
<programlisting>
-The class "conversion_unit" could contain the following instances:
+The class "unit::conversion_unit" could contain the following instances:
1. 1 package
2. 12 bottles
3. 1 bottle
4. 0.7 liters
5. 1.4 pounds
-... and the class "conversion" would contain two instances:
- 1. list of 1+2
- 2. list of 3+4+5
+... and the class "unit::conversion" would contain two instances:
+ a. list of 1+2
+ b. list of 3+4+5
... which would mean that:
- 1 package = 12 bottles
+ 1 package = 12 bottles (for the first case a)
+
and
- 1 bottle = 0.7 liters = 1.4 pounds
+
+ 1 bottle = 0.7 liters = 1.4 pounds (for the second case b)
</programlisting>
</para>
@@ -46,46 +48,36 @@
<para>
The following items will be implemented in
future version of this module. They may be implemented in the base module or be
added via an industry specific add on.
</para>
- <itemizedlist mark=bullet>
+ <orderedlist>
<listitem>
<para>
- none
+ None
</para>
</listitem>
- </itemizedlist>
+ </orderedlist>
</sect2>
<sect2>
<title> Business Objects </title>
<para>
The following Business Objects are defined and
maintained by this module.
</para>
- <itemizedlist mark=bullet>
- <listitem>
- <para>
- Units - Define the available
units.
- </para>
- </listitem>
+ <orderedlist>
<listitem>
<para>
- Unit Type - Define the
available unit types.
+ unit::unit - Define the
available units of measure.
</para>
</listitem>
<listitem>
<para>
- Unit Conversion - Converts
units of the same type.
+ unit::quanitity - Define a
robust quanitity (not currency)
</para>
</listitem>
- </itemizedlist>
- </sect2>
- <sect2>
- <title>External Business Object References</title>
- <itemizedlist mark=bullet>
<listitem>
<para>
- none
+ unit::conversion - Each class
object maintains a list of equal units.
</para>
</listitem>
- </itemizedlist>
+ </orderedlist>
</sect2>
<sect2>
<title>Forms</title>
@@ -99,23 +91,28 @@
</sect2>
<sect2>
<title>Reports</title>
- <itemizedlist mark=bullet>
+ <orderedlist>
<listitem>
<para>
Unit Report - Print summary of
all unit information.
</para>
</listitem>
- </itemizedlist>
+ <listitem>
+ <para>
+ Conversion Report - Print
summary of all conversions defined.
+ </para>
+ </listitem>
+ </orderedlist>
</sect2>
<sect2>
<title>Business Rules</title>
- <itemizedlist mark=bullet>
+ <orderedlist>
<listitem>
<para>
- none
+ unit::conversion.convert()
searches through all of the unit::conversion objects to find the first one that
defines both the source units and the result units and then returns the
converted amount.
</para>
</listitem>
- </itemizedlist>
+ </orderedlist>
</sect2>
<sect2>
<title>Business Object Definition</title>
Index: gnue/gnue-config/sales/sales-order/classes/sales-order.gcd
diff -u gnue/gnue-config/sales/sales-order/classes/sales-order.gcd:1.4
gnue/gnue-config/sales/sales-order/classes/sales-order.gcd:1.5
--- gnue/gnue-config/sales/sales-order/classes/sales-order.gcd:1.4 Wed Jul
4 06:38:48 2001
+++ gnue/gnue-config/sales/sales-order/classes/sales-order.gcd Wed Jul 4
11:04:13 2001
@@ -22,7 +22,7 @@
#
# This file originally written by Neil Tiffin (address@hidden).
#
-# $Id: sales-order.gcd,v 1.4 2001/07/04 13:38:48 ntiffin Exp $
+# $Id: sales-order.gcd,v 1.5 2001/07/04 18:04:13 ntiffin Exp $
#
include "../../../base/currency/classes/currency.gcd"
@@ -44,7 +44,7 @@
# open, closed, deleted, modified.
char code<8>;
char desc<30>;
- }
+ };
class header
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue geas/lib/classdefs/gcdparser.c gnue-config...,
Neil Tiffin <=