This chapter is $Revision: 1.1 $ $Date: 2003/01/05 00:00:27 $.
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.)
Maintain base item information.
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.
None
The following Business Objects are defined and maintained by this module.
base_item::item - base item defintion for both sales and inventory items.
base_item::type - base item type defintion.
None, most references will use derived objects.
None, most references will use derived objects.
# base_item.gcd
#
# Copyright (C) 2001 Free Software Foundation, Inc.
#
# This file is part of GNU Enterprise.
#
# GNU Enterprise is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# GNU Enterprise is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU Enterprise; see the file COPYING. If not, write to the
# Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
# 02111-1307 USA.
#
# This file originally written by Neil Tiffin (neilt@gnue.org).
#
# $Revision: 1.1 $ $Date: 2003/01/05 00:00:27 $ $Author: psu_gnue $
#
module base_item
{
# -------------------------------------------------------------------------
# type -
# -------------------------------------------------------------------------
class i_type
{
char code<8>;
char description<100>;
};
# -------------------------------------------------------------------------
# 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.
base_item::i_type *i_type;
UNIQUE INDEX ( item_code );
};
};