qsearch('cust_bill_pay', { 'invnum' => $self->invnum } );
$bill_total += $_ foreach map { $_->amount }
qsearch('cust_credit_bill', { 'invnum' => $self->invnum } );
qsearch('cust_bill_pay', { 'invnum' => $self->invnum } );
$bill_total += $_ foreach map { $_->amount }
qsearch('cust_credit_bill', { 'invnum' => $self->invnum } );
$dbh->rollback if $oldAutoCommit;
return "total cust_bill_pay.amount and cust_credit_bill.amount $bill_total".
" for invnum ". $self->invnum.
$dbh->rollback if $oldAutoCommit;
return "total cust_bill_pay.amount and cust_credit_bill.amount $bill_total".
" for invnum ". $self->invnum.