X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_bill_pkg_detail.pm;h=4156816c8a5da3c4b2e2a5f4139366f6bb847598;hb=f441bdef352ddd432e305da35e80813ca30e517f;hp=199de439b144051a5d1739dec5479cd46d619fc3;hpb=0ebeec96313dd7edfca340f01f8fbbbac1f4aa1d;p=freeside.git diff --git a/FS/FS/cust_bill_pkg_detail.pm b/FS/FS/cust_bill_pkg_detail.pm index 199de439b..4156816c8 100644 --- a/FS/FS/cust_bill_pkg_detail.pm +++ b/FS/FS/cust_bill_pkg_detail.pm @@ -103,9 +103,10 @@ 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 + ; }