[freeside-users] freeside-users Digest, Vol 57, Issue 7

Timothy Butkiewicz tbutkiewicz at cybermind.biz
Fri Apr 16 09:45:02 PDT 2010


Thanks - will take a look there. It's been going on a while for this
account, so not sure what precipitated the issue. While we have had to
correct some items in the DB, I don't recall that we adjusted anything
with this particular customer at any point.

FS v1.9.2
Postgres 8.1.9



Message: 1
Date: Wed, 14 Apr 2010 16:39:57 -0700
From: Ivan Kohler <ivan at freeside.biz>
Subject: Re: [freeside-users] Can't call method "invnum_date_pretty"
To: Freeside users mailing list <freeside-users at freeside.biz>
Message-ID: <20100414233957.GG850 at 420.am>
Content-Type: text/plain; charset=us-ascii

bad invnum in cust_bill_pay?  presumably caused by manual DB
manipulation. 

if you can cause the code to leave things in this state details would be

appreciated.

next time post your freeside  version number and database backend.

-- 
_ivan


On Wed, Apr 07, 2010 at 04:26:51PM -0400, Timothy Butkiewicz wrote:
> 
> Getting the following error. Far as I can tell it has to do with a
date
> in a field or a missing reference, but in reviewing the database we
> can't locate the record causing the problem. Any leads?
> 
> error:   	Can't call method "invnum_date_pretty" on an undefined
> value at
> /usr/lib/perl5/site_perl/5.8.8/FS/cust_bill_ApplicationCommon.pm line
> 384.
> context:  	
> ...  	
> 380:  	=cut
> 381:  	
> 382:  	sub applied_to_invoice {
> 383:  	my $self = shift;
> 384:  	'applied to '. $self->cust_bill->invnum_date_pretty;
> 385:  	}
> 386:  	
> 387:  	=item lineitem_breakdown_table
> 388:  	
> ...  	
> code stack:
> /usr/lib/perl5/site_perl/5.8.8/FS/cust_bill_ApplicationCommon.pm:384
> /var/www/html/freeside/view/cust_main/payment_history/payment.html:90
> /usr/lib/perl5/site_perl/5.8.8/FS/Mason.pm:331
> /var/www/html/freeside/view/cust_main/payment_history.html:407
> /usr/lib/perl5/site_perl/5.8.8/FS/Mason.pm:331
> /var/www/html/freeside/view/cust_main.cgi:208
> /var/www/html/freeside/autohandler:1
> _______________________________________________
> freeside-users mailing list
> freeside-users at freeside.biz
> http://420.am/cgi-bin/mailman/listinfo/freeside-users



------------------------------

_______________________________________________
freeside-users mailing list
freeside-users at freeside.biz
http://420.am/cgi-bin/mailman/listinfo/freeside-users


End of freeside-users Digest, Vol 57, Issue 7
*********************************************


More information about the freeside-users mailing list