commit-gnue
[Top][All Lists]
Advanced

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

gnue/gnue-config base/item/classes/base_item.gc...


From: Neil Tiffin
Subject: gnue/gnue-config base/item/classes/base_item.gc...
Date: Wed, 04 Jul 2001 12:09:00 -0700

CVSROOT:        /home/cvs
Module name:    gnue
Changes by:     Neil Tiffin <address@hidden>    01/07/04 12:09:00

Modified files:
        gnue-config/base/item/classes: base_item.gcd 
        gnue-config/base/item/doc: base_item.sgml 
        gnue-config/supply-chain/item/classes: item.gcd 
        gnue-config/supply-chain/item/doc: inventory.sgml 
        gnue-config/supply-chain/warehouse/classes: warehouse.gcd 
        gnue-config/supply-chain/warehouse/doc: warehouse.sgml 

Log message:
        clean up items and move a lot of stuff from inventory to warehouse 
module.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/base/item/classes/base_item.gcd.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&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.2&tr2=1.3&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.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/supply-chain/item/doc/inventory.sgml.diff?cvsroot=OldCVS&tr1=1.2&tr2=1.3&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.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-config/supply-chain/warehouse/doc/warehouse.sgml.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: gnue/gnue-config/base/item/classes/base_item.gcd
diff -u gnue/gnue-config/base/item/classes/base_item.gcd:1.3 
gnue/gnue-config/base/item/classes/base_item.gcd:1.4
--- gnue/gnue-config/base/item/classes/base_item.gcd:1.3        Tue May  1 
13:17:47 2001
+++ gnue/gnue-config/base/item/classes/base_item.gcd    Wed Jul  4 12:08:59 2001
@@ -22,15 +22,16 @@
 #
 # This file originally written by Neil Tiffin (address@hidden).
 #
-# $Revision: 1.3 $ $Date: 2001/05/01 20:17:47 $ $Author: ntiffin $
+# $Revision: 1.4 $ $Date: 2001/07/04 19:08:59 $ $Author: ntiffin $
 #
 
-module base_item {
+module base_item
+{
 
   # -------------------------------------------------------------------------
-  # item_type -
+  # type -
   # -------------------------------------------------------------------------
-  class item_type
+  class type
   {
     char    code<8>;
     char    description<100>;
@@ -47,7 +48,7 @@
     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>;
+    base_item::type *type;
     
     help  en  item_code       "Internal part code for this item.";
     help  en  short_desc      "For use on screens and other limited spaces.";
Index: gnue/gnue-config/base/item/doc/base_item.sgml
diff -u gnue/gnue-config/base/item/doc/base_item.sgml:1.2 
gnue/gnue-config/base/item/doc/base_item.sgml:1.3
--- gnue/gnue-config/base/item/doc/base_item.sgml:1.2   Tue May  1 13:17:47 2001
+++ gnue/gnue-config/base/item/doc/base_item.sgml       Wed Jul  4 12:08:59 2001
@@ -3,7 +3,7 @@
        <sect1>
                <title>Requirements</title> 
                <para>
-                       This chapter is $Revision: 1.2 $ $Date: 2001/05/01 
20:17:47 $. 
+                       This chapter is $Revision: 1.3 $ $Date: 2001/07/04 
19:08:59 $. 
                </para>
                <sect2>
                        <title> Business Requirements </title> 
@@ -41,17 +41,12 @@
                        <itemizedlist mark=bullet>
                                <listitem>
                                        <para>
-                                               Base Item 
+                                               base_item::item - base item 
defintion for both sales and inventory items. 
                                        </para>
                                </listitem>
-                       </itemizedlist>
-               </sect2>
-               <sect2>
-                       <title>External Business Object References</title> 
-                       <itemizedlist mark=bullet>
                                <listitem>
                                        <para>
-                                               none 
+                                               base_item::type - base item 
type defintion. 
                                        </para>
                                </listitem>
                        </itemizedlist>
Index: gnue/gnue-config/supply-chain/item/classes/item.gcd
diff -u gnue/gnue-config/supply-chain/item/classes/item.gcd:1.11 
gnue/gnue-config/supply-chain/item/classes/item.gcd:1.12
--- gnue/gnue-config/supply-chain/item/classes/item.gcd:1.11    Thu May 24 
07:01:26 2001
+++ gnue/gnue-config/supply-chain/item/classes/item.gcd Wed Jul  4 12:08:59 2001
@@ -22,52 +22,44 @@
 #
 # This file originally written by Neil Tiffin (address@hidden).
 #
-# $Revision: 1.11 $ $Date: 2001/05/24 14:01:26 $ $Author: ntiffin $
+# $Revision: 1.12 $ $Date: 2001/07/04 19:08:59 $ $Author: ntiffin $
 #
 
-module inventory {
-
-  # type replenishment_code_type char<8>;      
-
+module inv
+{
   # -------------------------------------------------------------------------
-  # replenishment -
+  # type - Type of quantity
   # -------------------------------------------------------------------------
-  class replenishment {           # todo this should move to the demand
-                                  # planning module
-    # replenishment_code_type      code;
-    char      code<8>;
-    char      desc<15>;
-         
-    ORDER BY code;
+  class type
+  {
+    char name<20>;
+    char desc<70>;
   };
-    
+  
   # -------------------------------------------------------------------------
-  # stock_quantity -
+  # stock_quantity - Quantity tracked.
   # -------------------------------------------------------------------------
   class stock_quantity
   {
-    unit::quantity    quantity;           # various types of quantities
-    char              quantity_type<20>;  # on-hand, scrap, on order etc.
+    unit::quantity   quantity; # various types of quantities
+    inv::type       *type;     # on-hand, scrap, on order etc.
+    whse::storage   *location; # in this one location.
   };
   
   # -------------------------------------------------------------------------
   # stock_item -
   # -------------------------------------------------------------------------
-  class stock_item : base_item::item {
-         
-    #replenishment_code_type      code;
-    char              replenishment_code<8>;
+  class stock_item : base_item::item
+  {
          
-    inventory::stock_quantity   [] quantity;   # various types of quantities
+    inv::stock_quantity   [] quantity;   # various types of quantities
          
     unit::quantity    weight;
     unit::quantity    volume;
     
     char              msds_reference<100>;  # material data safety sheet 
reference
-    text              inventory_notes;      # inventory handling notes
+    text              inventory_notes;      # inventory handling note
     
-    help  en  code   "Stock, non-stock, special order etc.";
-         
   };
 
 };
Index: gnue/gnue-config/supply-chain/item/doc/inventory.sgml
diff -u gnue/gnue-config/supply-chain/item/doc/inventory.sgml:1.2 
gnue/gnue-config/supply-chain/item/doc/inventory.sgml:1.3
--- gnue/gnue-config/supply-chain/item/doc/inventory.sgml:1.2   Mon Mar  5 
16:28:49 2001
+++ gnue/gnue-config/supply-chain/item/doc/inventory.sgml       Wed Jul  4 
12:08:59 2001
@@ -3,29 +3,17 @@
        <sect1>
                <title>Requirements</title> 
                <para>
-                       This chapter is $Revision: 1.2 $ $Date: 2001/03/06 
00:28:49 $. 
+                       This chapter is $Revision: 1.3 $ $Date: 2001/07/04 
19:08:59 $. 
                </para>
                <sect2>
-                       <title> Inventory Module Business Requirements </title> 
+                       <title> Inventory Module Business Requirements </title>
+                       <para>
+                       (TODO) This section has a lot of stuff that really 
should be in the warehouse module.
+                       </para>
                        <orderedlist>
                                <listitem>
-                                       <para>
-                                               Manage inventory. Provide way 
to track where items are stored in warehouse. Move items into new local storage 
locations. An item may be stored in multiple locations in the warehouse. 
Provide capability to combine locations and split locations. All movement that 
leaves a physical location will go out through the shipping module and come in 
through the receiving module. 
-                                       </para>
-                               </listitem>
-                               <listitem>
-                                       <para>
-                                               A physical location (a 
building, a business address etc) may have many warehouses. 
-                                       </para>
-                               </listitem>
-                               <listitem>
-                                       <para>
-                                               For each item in each storage 
location in each warehouse keep track of actual quantity on hand. 
-                                       </para>
-                               </listitem>
-                               <listitem>
                                        <para>
-                                               Each storage location can be 
designated with a definable status like good stock, reserved stock, waiting for 
quality approval, not-usable or etc. 
+                                               Each quantity can be designated 
with a definable status like good stock, reserved stock, waiting for quality 
approval, not-usable or etc. Each quanitity also has a definable storge 
location.
                                        </para>
                                </listitem>
                                <listitem>
@@ -50,16 +38,6 @@
                                </listitem>
                                <listitem>
                                        <para>
-                                               Bin Types. Each bin can utilize 
user definable types (i.e. static bin, movable bin, cart, reels etc.) 
-                                       </para>
-                               </listitem>
-                               <listitem>
-                                       <para>
-                                               The storage locations will be 
defined using user definable locations like floors, isles, stands, columns, 
bins, etc. 
-                                       </para>
-                               </listitem>
-                               <listitem>
-                                       <para>
                                                Maintain alternate part 
numbers. 
                                        </para>
                                </listitem>
@@ -123,47 +101,17 @@
                        <para>
                                The following Business Objects are defined and 
maintained by this module. 
                        </para>
-                       <itemizedlist mark=bullet>
+                       <orderedlist>
                                <listitem>
                                        <para>
                                                Item 
                                        </para>
-                               </listitem>
-                               <listitem>
-                                       <para>
-                                               Warehouse (Store Room) 
-                                       </para>
-                               </listitem>
-                               <listitem>
-                                       <para>
-                                               Bin Location within warehouse 
(Inventory Location) 
-                                       </para>
-                               </listitem>
-                               <listitem>
-                                       <para>
-                                               Pick List 
-                                       </para>
-                               </listitem>
-                               <listitem>
-                                       <para>
-                                               Inventory Movement Log 
-                                       </para>
-                               </listitem>
-                       </itemizedlist>
-               </sect2>
-               <sect2>
-                       <title>External Business Object References</title> 
-                       <itemizedlist mark=bullet>
-                               <listitem>
-                                       <para>
-                                               General Location 
-                                       </para>
                                </listitem>
-                       </itemizedlist>
+                       </orderedlist>
                </sect2>
                <sect2>
                        <title>Forms</title> 
-                       <itemizedlist mark=bullet>
+                       <orderedlist>
                                <listitem>
                                        <para>
                                                Enter results from physical 
count. 
@@ -173,33 +121,28 @@
                                        <para>
                                                Inventory Look-up. This forms 
will allow look-up of inventory by description, part number, type, or location. 
For the group of items found it will display part number, location, location 
status (if more than one is defined), and quantity. 
                                        </para>
-                               </listitem>
-                               <listitem>
-                                       <para>
-                                               Move all inventory from one bin 
location to another bin location. 
-                                       </para>
                                </listitem>
-                       </itemizedlist>
+                       </orderedlist>
                </sect2>
                <sect2>
                        <title>Reports</title> 
-                       <itemizedlist mark=bullet>
+                       <orderedlist>
                                <listitem>
                                        <para>
                                                Inventory report. List of 
inventory items sorted in various ways. Contains item number, description, 
inventory types, quantity on-hand, location, cost, last receipt date, and last 
dispersement date. Sort by part number, description, or location. 
                                        </para>
                                </listitem>
-                       </itemizedlist>
+                       </orderedlist>
                </sect2>
                <sect2>
                        <title>Business Rules</title> 
-                       <itemizedlist mark=bullet>
+                       <orderedlist>
                                <listitem>
                                        <para>
                                                Standard Cost. Standard cost is 
set manually by someone. 
                                        </para>
                                </listitem>
-                       </itemizedlist>
+                       </orderedlist>
                </sect2>
                <sect2>
                        <title>Business Object Definition</title> 
Index: gnue/gnue-config/supply-chain/warehouse/classes/warehouse.gcd
diff -u gnue/gnue-config/supply-chain/warehouse/classes/warehouse.gcd:1.5 
gnue/gnue-config/supply-chain/warehouse/classes/warehouse.gcd:1.6
--- gnue/gnue-config/supply-chain/warehouse/classes/warehouse.gcd:1.5   Sun May 
 6 15:20:21 2001
+++ gnue/gnue-config/supply-chain/warehouse/classes/warehouse.gcd       Wed Jul 
 4 12:09:00 2001
@@ -22,18 +22,26 @@
 #
 # This file originally written by Neil Tiffin (address@hidden).
 #
-# $Revision: 1.5 $ $Date: 2001/05/06 22:20:21 $ $Author: ntiffin $
+# $Revision: 1.6 $ $Date: 2001/07/04 19:09:00 $ $Author: ntiffin $
 #
 
-module warehouse
+module whse
 {
-
-  class storage_location {             
-    char          part_number<25>;
-    text          location_desc;               # todo expand this to int 
floor, row, column, bin
-    int               on_hand_qty;
-    int        reserve_qty;
-    int        un_usable_qty;
-    char          location_status<2>;  # the status of the location can use, 
dont use, etc.
+  class site
+  {
+    char         name<25>;
+  };
+  
+  class stock_room
+  {
+    whse::site  *site;
+    char         name<25>;
+  };
+  
+  class storage
+  { 
+    whse::stock_room *room;
+    text              location_desc; # TODO expand this to
+                                     # floor, row, column, bin
   };
 };
Index: gnue/gnue-config/supply-chain/warehouse/doc/warehouse.sgml
diff -u gnue/gnue-config/supply-chain/warehouse/doc/warehouse.sgml:1.1 
gnue/gnue-config/supply-chain/warehouse/doc/warehouse.sgml:1.2
--- gnue/gnue-config/supply-chain/warehouse/doc/warehouse.sgml:1.1      Tue Mar 
 6 07:18:08 2001
+++ gnue/gnue-config/supply-chain/warehouse/doc/warehouse.sgml  Wed Jul  4 
12:09:00 2001
@@ -3,24 +3,34 @@
        <sect1>
                <title>Requirements</title> 
                <para>
-                       This chapter is $Revision: 1.1 $ $Date: 2001/03/06 
15:18:08 $. 
+                       This chapter is $Revision: 1.2 $ $Date: 2001/07/04 
19:09:00 $. 
                </para>
                <sect2>
                        <title>Business Requirements</title> 
                        <orderedlist>
                                <listitem>
                                        <para>
-                                               None defined yet.
+                                               Manage inventory. Provide way 
to track where items are stored in warehouse. Move items into new local storage 
locations. An item may be stored in multiple locations in the warehouse. 
Provide capability to combine locations and split locations. All movement that 
leaves a physical location will go out through the shipping module and come in 
through the receiving module. 
                                        </para>
                                </listitem>
                                <listitem>
                                        <para>
-                                               None defined yet.
+                                               A physical location (a 
building, a business address etc) may have many warehouses. 
                                        </para>
                                </listitem>
                                <listitem>
                                        <para>
-                                               None defined yet.
+                                               For each item in each storage 
location in each warehouse keep track of actual quantity on hand. 
+                                       </para>
+                               </listitem>
+                               <listitem>
+                                       <para>
+                                               Bin Types. Each bin can utilize 
user definable types (i.e. static bin, movable bin, cart, reels etc.) 
+                                       </para>
+                               </listitem>
+                               <listitem>
+                                       <para>
+                                               The storage locations will be 
defined using user definable locations like floors, isles, stands, columns, 
bins, etc. 
                                        </para>
                                </listitem>
                        </orderedlist>
@@ -36,11 +46,6 @@
                                                None defined yet.
                                        </para>
                                </listitem>
-                               <listitem>
-                                       <para>
-                                               None defined yet.
-                                       </para>
-                               </listitem>
                        </orderedlist>
                </sect2>
                <sect2>
@@ -48,40 +53,45 @@
                        <itemizedlist mark=bullet>
                                <listitem>
                                        <para>
-                                               None defined yet.
+                                               Warehouse (Store Room) 
                                        </para>
                                </listitem>
-                       </itemizedlist>
-               </sect2>
-               <sect2>
-                       <title>External Business Object References</title> 
-                       <itemizedlist mark=bullet>
                                <listitem>
                                        <para>
-                                               None defined yet.
+                                               Bin Location within warehouse 
(Inventory Location) 
+                                       </para>
+                               </listitem>
+                               <listitem>
+                                       <para>
+                                               Pick List 
+                                       </para>
+                               </listitem>
+                               <listitem>
+                                       <para>
+                                               Inventory Movement Log 
                                        </para>
                                </listitem>
                        </itemizedlist>
                </sect2>
                <sect2>
                        <title>Forms</title> 
-                       <itemizedlist mark=bullet>
+                       <orderedlist>
                                <listitem>
                                        <para>
-                                               None defined yet.
+                                               Move all inventory from one bin 
location to another bin location. 
                                        </para>
                                </listitem>
-                       </itemizedlist>
+                       </orderedlist>
                </sect2>
                <sect2>
                        <title>Reports</title> 
-                       <itemizedlist mark=bullet>
+                       <orderedlist>
                                <listitem>
                                        <para>
-                                               none 
+                                               TODO 
                                        </para>
                                </listitem>
-                       </itemizedlist>
+                       </orderedlist>
                </sect2>
                <sect2>
                        <title>Business Rules</title> 



reply via email to

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