X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_bill_pkg_detail.pm;h=4156816c8a5da3c4b2e2a5f4139366f6bb847598;hb=f441bdef352ddd432e305da35e80813ca30e517f;hp=261aa80ea96d116fec622d6b9ef43768f092ce8a;hpb=eb9668a6f3181ee02cb335272c5ee4616e61fd09;p=freeside.git diff --git a/FS/FS/cust_bill_pkg_detail.pm b/FS/FS/cust_bill_pkg_detail.pm index 261aa80ea..4156816c8 100644 --- a/FS/FS/cust_bill_pkg_detail.pm +++ b/FS/FS/cust_bill_pkg_detail.pm @@ -103,7 +103,7 @@ sub check { $self->ut_numbern('detailnum') || $self->ut_foreign_key('pkgnum', 'cust_pkg', 'pkgnum') - || $self->ut_foreign_key('invnum', 'cust_pkg', 'invnum') + || $self->ut_foreign_key('invnum', 'cust_bill', 'invnum') || $self->ut_text('detail') || $self->SUPER::check ;