[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/gnue-config ChangeLog base/currency/classe...
From: |
Neil Tiffin |
Subject: |
gnue/gnue-config ChangeLog base/currency/classe... |
Date: |
Tue, 01 May 2001 13:17:47 -0700 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Neil Tiffin <address@hidden> 01/05/01 13:17:47
Modified files:
gnue-config : ChangeLog
gnue-config/base/currency/classes: currency.gcd
gnue-config/base/item/classes: base_item.gcd
gnue-config/base/item/doc: base_item.sgml
gnue-config/base/language/classes: language.gcd
gnue-config/base/location/classes: address.gcd
gnue-config/base/units/classes: units.gcd
gnue-config/base/units/doc: units.sgml
gnue-config/supply-chain/item/classes: item.gcd
gnue-config/supply-chain/warehouse/classes: warehouse.gcd
Log message:
Add language::help, and many revisions resulting from Reinhard's and
other discusions on IRC and email lists.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/ChangeLog.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/currency/classes/currency.gcd.diff?cvsroot=OldCVS&tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/item/classes/base_item.gcd.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/item/doc/base_item.sgml.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/language/classes/language.gcd.diff?cvsroot=OldCVS&tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/location/classes/address.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/units/classes/units.gcd.diff?cvsroot=OldCVS&tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/units/doc/units.sgml.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/supply-chain/item/classes/item.gcd.diff?cvsroot=OldCVS&tr1=1.7&tr2=1.8&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/supply-chain/warehouse/classes/warehouse.gcd.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: gnue/gnue-config/ChangeLog
diff -u gnue/gnue-config/ChangeLog:1.3 gnue/gnue-config/ChangeLog:1.4
--- gnue/gnue-config/ChangeLog:1.3 Fri Apr 13 10:28:16 2001
+++ gnue/gnue-config/ChangeLog Tue May 1 13:17:46 2001
@@ -1,46 +1,91 @@
+2001-04-19 18:18 ntiffin
+
+ * base/package-doc/: Base.sgml, chapters.ent: Remove phone module.
+ Phone was generalized to communications.
+
+2001-04-19 18:09 ntiffin
+
+ * base/: currency/classes/currency.gcd,
+ location/classes/address.gcd,
+ location/classes/validcountrycodes.gcd,
+ package-doc/introduction.sgml, person/classes/person.gcd: Update to
+ current geas syntax.
+
+2001-04-19 17:47 ntiffin
+
+ * base/units/classes/units.gcd: Update to confirm to geas working
+ syntax.
+
+2001-04-19 16:41 treshna
+
+ * base/units/classes/units.gcd: fixed a couple of minor problems
+
+2001-04-19 13:07 ntiffin
+
+ * base/units/classes/units.gcd: Make it work on current geas.
+
+2001-04-19 08:29 ntiffin
+
+ * base/location/classes/address.gcd: Comment out methods that dont
+ work yet.
+
+2001-04-18 20:34 ntiffin
+
+ * supply-chain/purchasing/classes/purchasing.gcd: Convert line
+ endings.
+
+2001-04-15 20:42 ntiffin
+
+ * supply-chain/warehouse/classes/warehouse.gcd: Change line ending
+ character.
+
+2001-04-13 12:28 ntiffin
+
+ * ChangeLog: Add ChangeLog.
+
2001-04-02 21:05 ntiffin
* base/units/classes/units.gcd: Update units based on new
- conversion strategy.
+ conversion strategy.
2001-04-02 14:40 ntiffin
* base/: location/classes/address.gcd,
location/classes/validcountrycodes.gcd,
- location/classes/validstatecodes.gcd, person/classes/person.gcd,
- phone/classes/phone.gcd: Revisions from IRC, person module, comm
- class, rename state class to region class, change country class,
- simplify address in address class.
+ location/classes/validstatecodes.gcd, person/classes/person.gcd:
+ Revisions from IRC, person module, comm class, rename state class
+ to region class, change country class, simplify address in address
+ class.
2001-04-02 10:36 ntiffin
* base/person/classes/person.gcd: Changes from IRC regarding type
- of person and name_prefix.
+ of person and name_prefix.
2001-04-02 08:32 ntiffin
* base/person/classes/person.gcd: General update, forgot what I
- did?
+ did?
2001-03-31 20:00 ntiffin
* base/person/classes/person.gcd: Revised person module per
- reinhards comments.
+ reinhards comments.
2001-03-31 16:15 ntiffin
* supply-chain/item/classes/item.gcd: Update header as an example
- for Reinhard.
+ for Reinhard.
2001-03-19 15:33 ntiffin
* supply-chain/package-doc/SupplyChain.sgml: Correct mistake in
- format.
+ format.
2001-03-19 15:16 ntiffin
* supply-chain/package-doc/: bookinfo.sgml, chapters.ent,
- version.ent: Simplify docbook structure.
+ version.ent: Simplify docbook structure.
2001-03-19 15:11 ntiffin
@@ -48,120 +93,119 @@
supply-chain/package-doc/SupplyChain.sgml,
supply-chain/receiving/doc/receiving.sgml,
supply-chain/shipping/doc/shipping.sgml: Add empty class files for
- receiving and shipping.
+ receiving and shipping.
2001-03-18 11:37 ntiffin
* supply-chain/: receiving/classes/receiving.gcd,
- shipping/classes/shipping.gcd: Create module.
+ shipping/classes/shipping.gcd: Create module.
2001-03-17 20:47 ntiffin
* base/currency/classes/currency.gcd,
supply-chain/item/classes/item.gcd: Update currency for Andrews
- suggestions.
+ suggestions.
2001-03-17 18:12 ntiffin
* base/: package-doc/Base.sgml, package-doc/chapters.ent,
- item/doc/base_item.sgml: Add base item module.
+ item/doc/base_item.sgml: Add base item module.
2001-03-14 20:26 ntiffin
* base/item/classes/base_item.gcd, base/units/classes/units.gcd,
- supply-chain/item/classes/item.gcd: Update units.
+ supply-chain/item/classes/item.gcd: Update units.
2001-03-14 19:43 ntiffin
- * supply-chain/item/classes/item.gcd: Split item and base-item.
+ * supply-chain/item/classes/item.gcd: Split item and base-item.
2001-03-14 18:11 ntiffin
- * base/item/classes/base_item.gcd: Add base_item.
+ * base/item/classes/base_item.gcd: Add base_item.
2001-03-13 14:09 ntiffin
- * ChangeLog: Test.
+ * ChangeLog: Test.
2001-03-13 14:05 ntiffin
- * base/units/classes/units.gcd: test.
+ * base/units/classes/units.gcd: test.
2001-03-13 13:57 ntiffin
- * ChangeLog: Create change log.
+ * ChangeLog: Create change log.
2001-03-12 16:59 ntiffin
* base/: currency/doc/currency.sgml, location/classes/address.gcd,
location/classes/validcountrycodes.gcd,
location/classes/validstatecodes.gcd, location/doc/location.sgml,
- person/classes/person.gcd, phone/classes/phone.gcd,
- phone/doc/phone.sgml, units/classes/units.gcd: Update for geas
- allowing _ and change name formats, add type statements.
+ person/classes/person.gcd, units/classes/units.gcd: Update for geas
+ allowing _ and change name formats, add type statements.
2001-03-11 17:54 ntiffin
* base/currency/classes/currency.gcd: Correct bad error re: decimal
- precision of amount.
+ precision of amount.
2001-03-11 17:48 ntiffin
* base/currency/defaults/insert-en-ISO4217-currency.sql: Create
- currency code insert sql.
+ currency code insert sql.
2001-03-11 11:36 ntiffin
* supply-chain/vendor/classes/vendor.gcd: Update vendor module with
- new geas format.
+ new geas format.
2001-03-11 10:16 ntiffin
* base/currency/classes/currency.gcd: Correct field code in
- lookups.
+ lookups.
2001-03-11 10:04 ntiffin
- * base/currency/classes/currency.gcd: Add currency code type.
+ * base/currency/classes/currency.gcd: Add currency code type.
2001-03-11 09:54 ntiffin
* base/currency/classes/currency.gcd: Correct missing parameter in
- currency conversion.
+ currency conversion.
2001-03-11 09:39 ntiffin
* base/currency/classes/currency.gcd: Update currency for new geas
- syntax and move num_decimals from money to currency def.
+ syntax and move num_decimals from money to currency def.
2001-03-09 17:43 ntiffin
- * base/: currency/classes/currency.gcd, units/classes/units.gcd:
- Add quantity and money classes.
+ * base/: currency/classes/currency.gcd, units/classes/units.gcd:
+ Add quantity and money classes.
2001-03-09 15:37 ntiffin
* supply-chain/vendor/classes/vendor.gcd: Revise syntax to pass
- gcdverifier.
+ gcdverifier.
2001-03-09 15:34 ntiffin
* supply-chain/vendor/classes/: vendor.gcd, vendor.gcd: Revise
- syntax to pass gcdverifier.
+ syntax to pass gcdverifier.
2001-03-09 15:30 ntiffin
* supply-chain/vendor/classes/vendor.gcd: Revise syntax to pass
- gcdverifier.
+ gcdverifier.
2001-03-06 15:00 ntiffin
- * supply-chain/vendor/classes/vendor.gcd: Add lookups to vendor.gcd
+ * supply-chain/vendor/classes/vendor.gcd: Add lookups to vendor.gcd
2001-03-06 14:06 ntiffin
* base/location/classes/address.gcd: General update of base
- packages.
+ packages.
2001-03-06 13:53 ntiffin
@@ -169,56 +213,56 @@
location/classes/validcountrycodes.gcd,
location/classes/validstatecodes.gcd, location/doc/location.sgml,
person/classes/person.gcd, person/doc/person.sgml,
- phone/classes/phone.gcd, units/classes/units.gcd,
- units/doc/units.sgml: General update of base packages.
+ units/classes/units.gcd, units/doc/units.sgml: General update of
+ base packages.
2001-03-06 13:20 ntiffin
* base/: package-doc/Base.sgml, package-doc/chapters.ent,
currency/classes/currency.gcd, currency/doc/currency.sgml: Add
- Currency module.
+ Currency module.
2001-03-06 10:12 ntiffin
* supply-chain/: purchasing/doc/purchasing.sgml,
receiving/doc/receiving.sgml, shipping/doc/shipping.sgml,
vendor/classes/vendor.gcd, vendor/doc/vendor.sgml: More format
- updates and vendor .gcs file update.
+ updates and vendor .gcs file update.
2001-03-06 09:37 ntiffin
- * supply-chain/package-doc/chapters.ent: Forgot warehousecode.
+ * supply-chain/package-doc/chapters.ent: Forgot warehousecode.
2001-03-06 09:18 ntiffin
* supply-chain/: package-doc/SupplyChain.sgml,
package-doc/chapters.ent, warehouse/doc/warehouse.sgml: Add
- warehouse requirements doc.
+ warehouse requirements doc.
2001-03-06 08:55 ntiffin
* supply-chain/: demand-planning/doc/demandplanning.sgml,
- purchasing/classes/purchasing.gcd, purchasing/doc/purchasing.sgml:
- Update format and add to purchasing .gcd.
+ purchasing/classes/purchasing.gcd, purchasing/doc/purchasing.sgml:
+ Update format and add to purchasing .gcd.
2001-03-05 18:28 ntiffin
* supply-chain/: demand-planning/doc/demandplanning.sgml,
- item/doc/inventory.sgml: Format updates.
+ item/doc/inventory.sgml: Format updates.
2001-03-05 13:12 ntiffin
* supply-chain/: item/classes/item.gcd,
- purchasing/classes/purchasing.gcd: Update purchasing.
+ purchasing/classes/purchasing.gcd: Update purchasing.
2001-03-05 12:42 ntiffin
- * supply-chain/package-doc/chapters.ent: General update.
+ * supply-chain/package-doc/chapters.ent: General update.
2001-03-05 12:35 ntiffin
- * supply-chain/package-doc/: SupplyChain.sgml, chapters.ent:
- General Udpate.
+ * supply-chain/package-doc/: SupplyChain.sgml, chapters.ent:
+ General Udpate.
2001-03-05 12:13 ntiffin
@@ -228,88 +272,86 @@
supply-chain/purchasing/classes/purchasing.gcd,
supply-chain/purchasing/doc/purchasing.sgml,
supply-chain/receiving/doc/receiving.sgml: General update from list
- input.
+ input.
2001-03-04 20:59 ntiffin
- * supply-chain/item/classes/item.gcd: Add unique index.
+ * supply-chain/item/classes/item.gcd: Add unique index.
2001-03-04 20:16 ntiffin
- * README: Add more docs to file structure.
+ * README: Add more docs to file structure.
2001-03-04 19:16 ntiffin
* supply-chain/: demand-planning/doc/demandplanning.sgml,
equipment/doc/equipment.sgml, purchasing/doc/purchasing.sgml,
receiving/doc/receiving.sgml, shipping/doc/shipping.sgml,
- item/doc/inventory.sgml, vendor/doc/vendor.sgml: Restructure docs.
+ item/doc/inventory.sgml, vendor/doc/vendor.sgml: Restructure docs.
2001-03-04 19:10 ntiffin
* supply-chain/package-doc/shared/: copyright.sgml, fdl.sgml,
- gpl.sgml, shared.ent: Restructure docs.
+ gpl.sgml, shared.ent: Restructure docs.
2001-03-04 19:08 ntiffin
- * supply-chain/package-doc/version.ent: restructure docs.
+ * supply-chain/package-doc/version.ent: restructure docs.
2001-03-04 19:06 ntiffin
- * supply-chain/package-doc/: chapters.ent, introduction.sgml:
- Restructure docs.
+ * supply-chain/package-doc/: chapters.ent, introduction.sgml:
+ Restructure docs.
2001-03-04 18:55 ntiffin
* supply-chain/package-doc/: AUTHORS, COPYING, ChangeLog, INSTALL,
- NEWS, README, TODO, bookinfo.sgml: Restructure docs.
+ NEWS, README, TODO, bookinfo.sgml: Restructure docs.
2001-03-04 18:51 ntiffin
- * supply-chain/package-doc/SupplyChain.sgml: Restructure docs.
+ * supply-chain/package-doc/SupplyChain.sgml: Restructure docs.
2001-03-04 18:18 ntiffin
* base/: language/doc/language.sgml, location/doc/location.sgml,
- person/doc/person.sgml, phone/doc/phone.sgml, units/doc/units.sgml:
- Add base docs.
+ person/doc/person.sgml, units/doc/units.sgml: Add base docs.
2001-03-04 18:13 ntiffin
* base/package-doc/shared/: copyright.sgml, fdl.sgml, gpl.sgml,
- shared.ent: Add base package docs.
+ shared.ent: Add base package docs.
2001-03-04 18:07 ntiffin
* base/package-doc/: AUTHORS, Base.sgml, COPYING, ChangeLog,
INSTALL, NEWS, README, TODO, bookinfo.sgml, chapters.ent,
- introduction.sgml, version.ent: Add base package docs.
+ introduction.sgml, version.ent: Add base package docs.
2001-03-04 18:02 ntiffin
* README, base/language/classes/language.gcd,
base/location/classes/validcountrycodes.gcd,
base/location/classes/validstatecodes.gcd,
- base/person/classes/person.gcd, base/phone/classes/phone.gcd,
- base/units/classes/units.gcd,
- supply-chain/vendor/classes/vendor.gcd: Rework for documentation.
+ base/person/classes/person.gcd, base/units/classes/units.gcd,
+ supply-chain/vendor/classes/vendor.gcd: Rework for documentation.
2001-03-04 14:56 ntiffin
- * base/language/defaults/insert-ISO639LanguageCodes.sql: Fix EOL.
+ * base/language/defaults/insert-ISO639LanguageCodes.sql: Fix EOL.
2001-03-04 14:23 ntiffin
- * base/language/classes/language.gcd: Fix EOL.
+ * base/language/classes/language.gcd: Fix EOL.
2001-03-04 11:46 ntiffin
- * README: Update to include packages in structure.
+ * README: Update to include packages in structure.
2001-03-04 11:13 ntiffin
* supply-chain/: item/classes/item.gcd, vendor/classes/vendor.gcd,
- warehouse/classes/warehouse.gcd: Moving stuff to supply chain.
+ warehouse/classes/warehouse.gcd: Moving stuff to supply chain.
2001-03-03 18:42 ntiffin
@@ -323,6 +365,5 @@
base/person/classes/person.gcd,
base/person/defaults/insert-en-person-type.sql,
base/person/defaults/insert-en-salutations.sql,
- base/phone/classes/phone.gcd, base/units/classes/units.gcd: Initial
- load of .gcd and .sql files
+ base/units/classes/units.gcd: Initial load of .gcd and .sql files
Index: gnue/gnue-config/base/currency/classes/currency.gcd
diff -u gnue/gnue-config/base/currency/classes/currency.gcd:1.9
gnue/gnue-config/base/currency/classes/currency.gcd:1.10
--- gnue/gnue-config/base/currency/classes/currency.gcd:1.9 Thu Apr 19
16:09:30 2001
+++ gnue/gnue-config/base/currency/classes/currency.gcd Tue May 1 13:17:46 2001
@@ -22,48 +22,73 @@
#
# This file originally written by Neil Tiffin (address@hidden).
#
-# $Revision: 1.9 $ $Date: 2001/04/19 23:09:30 $ $Author: ntiffin $
+# $Revision: 1.10 $ $Date: 2001/05/01 20:17:46 $ $Author: ntiffin $
#
-module currency {
- # type currency_code_type = char<3>;
-
- # todo amount should be 64 bit integer
- type money { # this definition allows us to abstract
qtys as needed
- int amount = 0; # this integer has an implied decimal point
- # for example if amount = 456192
- int num_decimals = 2; # and numDecimals = 3
- # then amount really has a value of 456.192
- char code<8> = "USD";
-
- REFERENCE currency_ref : currency( code ) = this.code;
-
- # select the system configured default
currency
- #INITIALISE code = currency_ref(code = $system.default_currency_code );
- # read the number of decimals from the
selected
- # currency object
- #INITIALISE num_decimals = code.default_decimals;
-
- };
-
- class currency { # valid currencies in GNUe
- char code<8>;
- char description<25>;
- int default_decimals; # default number of decimals for
this currency
-
- INDEX (code);
- };
-
- class currency_conversion { # conversions table
- char base_code<8>;
- float multiplier;
- char result_code<8>;
- Date effective_date;
-
- INDEX (base_code);
-
- currency::money new_currency(currency::money old_money,
currency::currency new_currency, Date conversion_date );
- };
+# ===========================================================================
+# currency -
+# ===========================================================================
+module currency
+{
+ # type currency_code_type = char<3>;
+
+ # -------------------------------------------------------------------------
+ # currency - definition of currencies.
+ # -------------------------------------------------------------------------
+ class currency
+ {
+ char code<8>;
+ char description<25>;
+ int default_decimals;
+
+ INDEX (code);
+ };
+
+ # -------------------------------------------------------------------------
+ # money - definition of money.
+ # -------------------------------------------------------------------------
+ type money
+ { # this definition allows us to abstract
+ # qtys as needed.
+ # todo amount should be 64 bit integer.
+ int amount = 0; # this integer has an implied decimal point
+ # for example if amount = 456192
+ int num_decimals = 2; # and numDecimals = 3
+ # then amount really has a value of 456.192
+ char code<8>;
+
+ REFERENCE currency_reference : currency::currency( code ) = this.code;
+
+ # select the system configured default currency
+ #INITIALISE code = currency_reference(code =
+ $system.default_currency_code );
+ # read the number of decimals from the selected
+ # currency object
+ #INITIALISE num_decimals = code.default_decimals;
+
+ };
+
+
+ # -------------------------------------------------------------------------
+ # conversion_rule - rules for converting different currencies.
+ # -------------------------------------------------------------------------
+ class conversion_rule
+ {
+ currency::currency *to;
+ float numerator = 1; # the conversion
+ float denominator = 1; # factor = numerator/denominator
+ date begin;
+ date end;
+ };
+
+ # -------------------------------------------------------------------------
+ # conversion - convert between different currencies.
+ # -------------------------------------------------------------------------
+ class conversion
+ {
+ currency::currency *base;
+ currency::conversion_rule [] *rule;
+ };
+
};
-
Index: gnue/gnue-config/base/item/classes/base_item.gcd
diff -u gnue/gnue-config/base/item/classes/base_item.gcd:1.2
gnue/gnue-config/base/item/classes/base_item.gcd:1.3
--- gnue/gnue-config/base/item/classes/base_item.gcd:1.2 Wed Mar 14
18:26:02 2001
+++ gnue/gnue-config/base/item/classes/base_item.gcd Tue May 1 13:17:47 2001
@@ -22,29 +22,40 @@
#
# This file originally written by Neil Tiffin (address@hidden).
#
-# $Revision: 1.2 $ $Date: 2001/03/15 02:26:02 $ $Author: ntiffin $
+# $Revision: 1.3 $ $Date: 2001/05/01 20:17:47 $ $Author: ntiffin $
#
module base_item {
-
- class item_type {
- char code<4>;
- char description<100>;
- };
-
- class item {
- char item_code<23>;
- char short_desc<30>;
- char long_desc<100>;
-
- char type_code<4>;
+ # -------------------------------------------------------------------------
+ # item_type -
+ # -------------------------------------------------------------------------
+ class item_type
+ {
+ char code<8>;
+ char description<100>;
+ };
- help en item_code "Internal part code for this item.";
- help en short_desc "For use on screens and other limited
spaces.";
- help en long_desc "For mostly external use on reports,
purchase orders and other places where clarity is required.";
+ # -------------------------------------------------------------------------
+ # item -
+ # -------------------------------------------------------------------------
+ class item
+ {
+ char item_code<23>;
+ char short_desc<30>;
+ char long_desc<100>;
+ char keywords<250>; # free form keywords used to look up this item
+ # this is not meant to replace specifications
+ # defined in other classes.
+ char type_code<8>;
+
+ help en item_code "Internal part code for this item.";
+ help en short_desc "For use on screens and other limited spaces.";
+ help en long_desc "For mostly external use on reports, purchase"
+ "orders and other places where clarity is"
+ "required.";
- UNIQUE INDEX ( part_number );
- };
+ UNIQUE INDEX ( item_code );
+ };
};
Index: gnue/gnue-config/base/item/doc/base_item.sgml
diff -u gnue/gnue-config/base/item/doc/base_item.sgml:1.1
gnue/gnue-config/base/item/doc/base_item.sgml:1.2
--- gnue/gnue-config/base/item/doc/base_item.sgml:1.1 Sat Mar 17 16:12:58 2001
+++ gnue/gnue-config/base/item/doc/base_item.sgml Tue May 1 13:17:47 2001
@@ -3,14 +3,19 @@
<sect1>
<title>Requirements</title>
<para>
- This chapter is $Revision: 1.1 $ $Date: 2001/03/18
00:12:58 $.
+ This chapter is $Revision: 1.2 $ $Date: 2001/05/01
20:17:47 $.
</para>
<sect2>
<title> Business Requirements </title>
+ <para>
+ The purpose of the base item is to represent a
physical
+ item that can moved, sold, or otherwise used in
the business. Other classes will extend the base
+ item for particular purposes (for example,
inventory_item, sales_item, asset_item etc.)
+ </para>
<orderedlist>
<listitem>
<para>
- Maintain Base Item Information.
+ Maintain base item information.
</para>
</listitem>
</orderedlist>
@@ -20,13 +25,13 @@
<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>
Index: gnue/gnue-config/base/language/classes/language.gcd
diff -u gnue/gnue-config/base/language/classes/language.gcd:1.4
gnue/gnue-config/base/language/classes/language.gcd:1.5
--- gnue/gnue-config/base/language/classes/language.gcd:1.4 Tue Mar 6
11:53:09 2001
+++ gnue/gnue-config/base/language/classes/language.gcd Tue May 1 13:17:47 2001
@@ -22,14 +22,41 @@
#
# This file originally written by Neil Tiffin (address@hidden).
#
-# $Revision: 1.4 $ $Date: 2001/03/06 19:53:09 $ $Author: ntiffin $
+# $Revision: 1.5 $ $Date: 2001/05/01 20:17:47 $ $Author: ntiffin $
#
-module Language {
+# ===========================================================================
+# language - language dependent stuff goes here.
+# ===========================================================================
+module language {
- class Languages {
- char code<2>;
- char dialect<2>;
- char description<25>;
- };
+ # -------------------------------------------------------------------------
+ # language - definition of languages.
+ # -------------------------------------------------------------------------
+ class language
+ {
+ char code<8>;
+ char dialect<8>;
+ char description<25>;
+ };
+
+ # -------------------------------------------------------------------------
+ # help - default language dependent data used by forms to assist the user.
+ # -------------------------------------------------------------------------
+ class help
+ {
+ char module_name<25>;
+ char class_name<25>; # table
+ char field_name<25>; # column
+ char language_code<8>;
+ char dialect_code<8>;
+ char help_text<1000>; # full help text if the user clicks on help.
+ char help_keywords<100>; # keywords to help for searches.
+ char tool_tip<50>; # short help when the user's mouse passes over
+ # the field.
+ char label<25>; # default label for this data.
+
+ char default_text<100>; # default text data for new fields.
+ };
+
};
Index: gnue/gnue-config/base/location/classes/address.gcd
diff -u gnue/gnue-config/base/location/classes/address.gcd:1.6
gnue/gnue-config/base/location/classes/address.gcd:1.7
--- gnue/gnue-config/base/location/classes/address.gcd:1.6 Thu Apr 19
16:09:30 2001
+++ gnue/gnue-config/base/location/classes/address.gcd Tue May 1 13:17:47 2001
@@ -22,7 +22,7 @@
#
# This file originally written by Neil Tiffin (address@hidden).
#
-# $Revision: 1.6 $ $Date: 2001/04/19 23:09:30 $ $Author: ntiffin $
+# $Revision: 1.7 $ $Date: 2001/05/01 20:17:47 $ $Author: ntiffin $
#
include "validstatecodes.gcd"
@@ -32,6 +32,7 @@
{
type address
{
+ char desc<35>; # of this address (work, home,
business etc.)
char street1<35>;
char street2<35>;
char street2<35>;
Index: gnue/gnue-config/base/units/classes/units.gcd
diff -u gnue/gnue-config/base/units/classes/units.gcd:1.13
gnue/gnue-config/base/units/classes/units.gcd:1.14
--- gnue/gnue-config/base/units/classes/units.gcd:1.13 Thu Apr 19 15:47:54 2001
+++ gnue/gnue-config/base/units/classes/units.gcd Tue May 1 13:17:47 2001
@@ -22,14 +22,14 @@
#
# This file originally written by Neil Tiffin (address@hidden).
#
-# $Revision: 1.13 $ $Date: 2001/04/19 22:47:54 $ $Author: ntiffin $
+# $Revision: 1.14 $ $Date: 2001/05/01 20:17:47 $ $Author: ntiffin $
#
module unit
{
- # ----------------------------------------------
+ # -------------------------------------------------------------------------
# unit - unit of measure
- # ----------------------------------------------
+ # -------------------------------------------------------------------------
class unit
{ # keeps track of the different units
char code<8>; # of measure
@@ -38,9 +38,9 @@
};
- # ----------------------------------------------
+ # -------------------------------------------------------------------------
# quantity -
- # ----------------------------------------------
+ # -------------------------------------------------------------------------
type quantity : unit::smpl_quantity
{ # this definition allows us to abstract
# quantities as needed
@@ -56,22 +56,22 @@
void set_float(float val); #
};
- # ----------------------------------------------
- # conv_unit - converion unit
- # ----------------------------------------------
+ # -------------------------------------------------------------------------
+ # conversion_unit -
+ # -------------------------------------------------------------------------
class conversion_unit
{
unit::quantity amount;
};
- # ----------------------------------------------
- # conversion - unit conversions
- # ----------------------------------------------
+ # -------------------------------------------------------------------------
+ # conversion - convert between different units.
+ # -------------------------------------------------------------------------
class conversion
{ # convert between
# different
- unit::conversion_unit [] units; # units.
+ unit::conversion_unit [] *units; # units.
quantity convert( unit::quantity source, unit::unit destination);
};
};
Index: gnue/gnue-config/base/units/doc/units.sgml
diff -u gnue/gnue-config/base/units/doc/units.sgml:1.3
gnue/gnue-config/base/units/doc/units.sgml:1.4
--- gnue/gnue-config/base/units/doc/units.sgml:1.3 Tue Mar 6 11:53:11 2001
+++ gnue/gnue-config/base/units/doc/units.sgml Tue May 1 13:17:47 2001
@@ -3,7 +3,7 @@
<sect1>
<title>Requirements</title>
<para>
- This chapter is $Revision: 1.3 $ $Date: 2001/03/06
19:53:11 $.
+ This chapter is $Revision: 1.4 $ $Date: 2001/05/01
20:17:47 $.
</para>
<sect2>
<title> Business Requirements </title>
@@ -19,6 +19,27 @@
</para>
</listitem>
</orderedlist>
+ <para>
+ <programlisting>
+
+The class "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
+
+... which would mean that:
+ 1 package = 12 bottles
+ and
+ 1 bottle = 0.7 liters = 1.4 pounds
+
+ <programlisting>
+ </para>
</sect2>
<sect2>
<title>Future Requirements</title>
Index: gnue/gnue-config/supply-chain/item/classes/item.gcd
diff -u gnue/gnue-config/supply-chain/item/classes/item.gcd:1.7
gnue/gnue-config/supply-chain/item/classes/item.gcd:1.8
--- gnue/gnue-config/supply-chain/item/classes/item.gcd:1.7 Sat Mar 31
14:15:50 2001
+++ gnue/gnue-config/supply-chain/item/classes/item.gcd Tue May 1 13:17:47 2001
@@ -22,32 +22,45 @@
#
# This file originally written by Neil Tiffin (address@hidden).
#
-# $Revision: 1.7 $ $Date: 2001/03/31 22:15:50 $ $Author: ntiffin $
+# $Revision: 1.8 $ $Date: 2001/05/01 20:17:47 $ $Author: ntiffin $
#
module inventory {
- type replenishment_code_type char<8>;
- class replenishment { # todo this should move to the demand
planning module
- replenishment_code_type code;
- char desc<15>;
+ # type replenishment_code_type char<8>;
+
+ # -------------------------------------------------------------------------
+ # replenishment -
+ # -------------------------------------------------------------------------
+ class replenishment { # todo this should move to the demand
+ # planning module
+ # replenishment_code_type code;
+ char code<8>;
+ char desc<15>;
- ORDER BY code;
- };
+ ORDER BY code;
+ };
- class stock_item : base_item::item {
-
- replenishment_code_type code;
+ # -------------------------------------------------------------------------
+ # stock_item -
+ # -------------------------------------------------------------------------
+ class stock_item : base_item::item {
- units::quantity on_order_qty;
- units::quantity on_hand_qty;
+ #replenishment_code_type code;
+ char replenishment_code<8>;
- units::quantity weight;
- units::quantity volume;
+ units::quantity [] quantity; # various types of quantities
+ char [] quantity_type<20>; # on-hand, scrap, on order etc.
- help en code "Stock, non-stock, special order etc.";
+ units::quantity weight;
+ units::quantity volume;
+
+ char msds_reference<100>; # material data safety sheet
reference
+ text inventory_notes; # inventory handling notes
+
+ help en code "Stock, non-stock, special order etc.";
- };
+ };
};
Index: gnue/gnue-config/supply-chain/warehouse/classes/warehouse.gcd
diff -u gnue/gnue-config/supply-chain/warehouse/classes/warehouse.gcd:1.2
gnue/gnue-config/supply-chain/warehouse/classes/warehouse.gcd:1.3
--- gnue/gnue-config/supply-chain/warehouse/classes/warehouse.gcd:1.2 Sun Apr
15 18:42:27 2001
+++ gnue/gnue-config/supply-chain/warehouse/classes/warehouse.gcd Tue May
1 13:17:47 2001
@@ -1,3 +1,4 @@
+
# warehouse.gcd
#
# Copyright (C) 2001 Free Software Foundation, Inc.
@@ -21,7 +22,7 @@
#
# This file originally written by Neil Tiffin (address@hidden).
#
-# $Revision: 1.2 $ $Date: 2001/04/16 01:42:27 $ $Author: ntiffin $
+# $Revision: 1.3 $ $Date: 2001/05/01 20:17:47 $ $Author: ntiffin $
#
module Warehouse {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/gnue-config ChangeLog base/currency/classe...,
Neil Tiffin <=