#$Id: README,v 1.7 2006/04/07 19:39:22 moreejt Exp $
#This package is released under the GNU General Public License.
#You should have recieved a copy of the GPL with it.
# Copyright (c) 2000 HLR http://www.pcxperience.org  All rights reserved.
README for Portal::Accounting
Created by James Pattie (james@pcxperience.com)
11/07/2000

The Portal::Accounting Perl Module(s) is the implementation of the Accounting
Application as implemented using Perl Modules.  It is designed to plug into the
Portal application.

Perl Modules Required:
Portal 			- http://pcxportal.sf.net/
DBI
DBD::Pg
Pg
Finance::Quote
Date::Calc
Mail::Sender
MIME::Base64
MIME::QuotedPrint
Payroll			- http://pcxpayroll.sf.net/
JSON


We are currently only supporting PostgreSQL >= 7.3, 7.4 as our database backend.

Installation is as usual after you have installed/configured the Portal:
  tar xvzf libpcxportal-xiwa-perl-{VERSION}.tar.gz
  cd libpcxportal-xiwa-perl-{VERSION}
  perl Makefile.PL
  make
  make test
  su (if not root)
  make install

  This installs the Perl Modules that make up the application.

  There is some installation that cannot be done automatically by make.
  To finish the installation, go into the install directory, then run

  tar xvzf pcxportal-xiwa-{VERSION}.tar.gz
  cd pcxportal-xiwa-{VERSION}
  cd install
  ./install.pl


NOTE:  If upgrading from a previous version of PostgreSQL, you will need to
process your database dump file before it will import correctly.

Use the fixupDBDump.pl script in install/files/install/db to fix the mangled
function names issue.  If you get errors saying it can'g find the debitcredit_tb
and the sub_account_balance_activity() function, then you need to edit the
database dump and move the create table "debitcredit_tb" code before the
functions are defined.

Use the fixupDBDump.pl script as follows, where DBDUMP is your dump file
./fixupDBDump.pl DBDUMP

This will create a DBDUMP.bak file containing your original database dump and
creates a new DBDUMP file with the mangled function names fixed.


