From: Ivan Kohler Date: Fri, 15 Nov 2013 22:57:06 +0000 (-0800) Subject: fix foreign key cust_bill_pkg_void.pkgnum error, RT#26018, RT#13971 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=0be78acfcd733ca079ab946f4ba4b46429c28c1c;hp=803b2d18fd3d62da743281b973d9f057a387e9bb;p=freeside.git fix foreign key cust_bill_pkg_void.pkgnum error, RT#26018, RT#13971 --- diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 1794c12ec..ebf4f37da 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -1138,9 +1138,10 @@ sub tables_hashref { { columns => [ 'invnum' ], table => 'cust_bill_void', }, - { columns => [ 'pkgnum' ], - table => 'cust_pkg', - }, + #pkgnum 0 and -1 are used for special things + #{ columns => [ 'pkgnum' ], + # table => 'cust_pkg', + #}, { columns => [ 'pkgpart_override' ], table => 'part_pkg', references => [ 'pkgpart' ],