X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fdocs%2Fupgrade8.html;h=b243eba75dcdf97264fb7a06f243e36a045ff40c;hb=298b8d9a262265fe7106da1ff552ce6778237034;hp=144242b6ae982e9b20a6b6c7e54c81662cb3c02f;hpb=b03df92e48df653460cb8b6034a06dd1de6f4095;p=freeside.git diff --git a/httemplate/docs/upgrade8.html b/httemplate/docs/upgrade8.html index 144242b6a..b243eba75 100644 --- a/httemplate/docs/upgrade8.html +++ b/httemplate/docs/upgrade8.html @@ -6,6 +6,8 @@ @@ -33,7 +35,6 @@ PerlSetVar Global /usr/local/etc/freeside/asp-global/
    -
  • NOTE: Mason support is still a bit buggy in the 1.4.0 prereleases. This will be fixed before 1.4.0. You have been warned.
  • Run make masondocs
  • Copy masondocs/ to your web server's document space.
  • Copy htetc/handler.pl to your web server's configuration directory. @@ -128,7 +129,7 @@ CREATE TABLE cust_bill_event ( eventnum int primary key, invnum int not null, eventpart int not null, - _date int not null, + _date int not null ); CREATE UNIQUE INDEX cust_bill_event1 ON cust_bill_event ( eventpart, invnum ); CREATE INDEX cust_bill_event2 ON cust_bill_event ( invnum ); @@ -139,7 +140,10 @@ CREATE TABLE part_bill_event ( event varchar(80) not null, eventcode text null, seconds int null, - disabled char(1) null, + weight int not null, + plan varchar(80) null, + plandata text null, + disabled char(1) null ); CREATE INDEX part_bill_event1 ON part_bill_event ( payby ); @@ -159,8 +163,8 @@ CREATE INDEX part_export_option ( option varchar(80) not null, optionvalue text NULL ); -CREATE INDEX part_export_option1 ON part_export ( exportnum ); -CREATE INDEX part_export_option2 ON part_export ( option ); +CREATE INDEX part_export_option1 ON part_export_option ( exportnum ); +CREATE INDEX part_export_option2 ON part_export_option ( option ); ALTER TABLE svc_acct ADD domsvc integer NOT NULL; ALTER TABLE svc_domain ADD catchall integer NULL; @@ -175,6 +179,10 @@ ALTER TABLE part_pkg ADD setuptax char(1) NULL; ALTER TABLE part_pkg ADD recurtax char(1) NULL; ALTER TABLE part_pkg ADD disabled char(1) NULL; ALTER TABLE part_svc ADD disabled char(1) NULL; +ALTER TABLE cust_bill ADD closed char(1) NULL; +ALTER TABLE cust_pay ADD closed char(1) NULL; +ALTER TABLE cust_credit ADD closed char(1) NULL; +ALTER TABLE cust_refund ADD closed char(1) NULL; CREATE INDEX cust_main3 ON cust_main ( referral_custnum ); CREATE INDEX cust_credit_bill1 ON cust_credit_bill ( crednum ); CREATE INDEX cust_credit_bill2 ON cust_credit_bill ( invnum ); @@ -291,5 +299,6 @@ ALTER TABLE cust_refund DROP COLUMN crednum;
  • Create the `/usr/local/etc/freeside/cache.datasrc' directory (ownded by the freeside user).
  • freeside-queued was installed with the Perl modules. Start it now and ensure that is run upon system startup. +
  • Set appropriate invoice events for your site. At the very least, you'll want to set some invoice events "After 0 days": a BILL invoice event to print invoices, a CARD invoice event to batch or run cards real-time, and a COMP invoice event to "pay" complimentary customers. If you were using the -i option to freeside-bill it should be removed.